Files
HEROLL/design/gameplay-validation/specs/data-contracts.csv
T

2.5 KiB

1contracttypescript_fieldcsv_filecsv_columnparse_rulevalidationerror_policysource_tag
2RunStatefloorfloor-balance.csvfloorint 1..101<=floor<=10reject_checkpointVALIDATION_ADDED
3RunStatepointsshop-offers.csvpricesigned int transaction resultpoints>=0rollback_commandVALIDATION_ADDED
4RngStreamStatealgorithmnonenoneliteral xoshiro128ssstate has 4 uint32reject_checkpointVALIDATION_ADDED
5RngStreamStateindextechnical_logrngIndexuint64 serialized as decimal stringmonotonic per streamreject_checkpointVALIDATION_ADDED
6DdaStatesourceConditionsgameconfig.csvdynamicDifficultyConditionint[3] 5|8|12exact source arrayforce_tier0SOURCE_CONFIRMED
7DdaStatesourceValuesgameconfig.csvdynamicDifficultyValueint[6] 10|15|20|5|5|5exact source arrayforce_tier0SOURCE_CONFIRMED
8DiceRolldieA|dieBnonenonediceRng int inclusive 1..636 ordered outcomes equalabort_rollVALIDATION_ADDED
9BattleSnapshotenemiesfloor-balance.csv|monsterinfo.csvcombat columnsbase × prefab × ddafinite nonnegative statsabort_battleSOURCE_CONFIRMED
10GearInstancecatalogIdgear-catalog.csvcatalog_idint foreign keyexactly 40 valid idsreject_rewardSOURCE_CONFIRMED
11GearInstancestatusId|valuegear-status.csvstatus_id|base_min|base_max|plus_valueuniform base + plus×rankfinite and display precisionreject_rewardVALIDATION_ADDED
12BlessingInstanceblessingIdblessings.csvblessing_idstring foreign keyexactly 32 idsreject_rewardSOURCE_CONFIRMED
13PotionStatecountLevel|healLevel|healAmountpotions.csvlevel|valuelookup HEAL_LEVEL value as flat HPcount 1..10 healAmount 50..650reject_purchaseSOURCE_CONFIRMED
14BossGaugeStateenabled|runtimeGauge|mode|playerRolls|countdownRemainingstage-boss-rules.csvbossSpawnRule|bossSpawnRuleValueenabled only for DiceGauge; gauge clamp 0..100; BUILDUP 0..2 then COUNTDOWN 4..0stage0 enabled=false; DiceGauge increment=50 and 2+4 observed cyclereject_checkpointRUNTIME_OBSERVED
15ShopStatefixedOfferIds|randomOfferIdsshop-offers.csvoffer_ideligible filtered sample3 fixed + <=3 random uniquerollback_rerollSOURCE_CONFIRMED
16EventInstancetileIdevents.csvtile_idint or MERCHANTknown event and legal tilerollback_installSOURCE_CONFIRMED
17RewardBoostTransactionplacementIdreward-boosts.csvplacement_idstring foreign keyevent placement matchesreject_transactionVALIDATION_ADDED
18CheckpointchecksumnonenoneSHA-256 canonical JSON without checksum64 lowercase hexload_backupVALIDATION_ADDED