Closed ampersand55 closed 6 months ago
Here are some JSON flags not documented in JSON_FLAGS.md. This list should be exhaustive:
EDIT: I didn't check for flags documented elsewhere (e.g. MAGIC.md), so there might be some false positives.
ABLATIVE_CHAINMAIL_ARMS \items\armor\brigandine.json
ABLATIVE_CHAINMAIL_ELBOWS \items\armor\brigandine.json
ABLATIVE_CHAINMAIL_KNEES \items\armor\brigandine.json
ABLATIVE_CHAINMAIL_LEGS \items\armor\brigandine.json
ABLATIVE_CHAINMAIL_TORSO \items\armor\brigandine.json
ABLATIVE_HELMET \items\armor\robofac_armor.json
ABLATIVE_MANTLE \items\armor\robofac_armor.json
ABLATIVE_SKIRT \items\armor\robofac_armor.json
ACIDBLOOD \mutations\mutations.json
ACT_IN_FIRE \items\tool\explosives.json
ALBINO \mutations\mutations.json
ALLERGEN_MILK \items\comestibles\meat_dishes.json
ALLOWS_TAIL \items\armor\brigandine.json
ALLOWS_TALONS \items\armor\bespoke_armor\custom_gloves.json
ALLOW_TERRAIN_UNDER_OTHER_DATA \npcs\refugee_center\surface_staff\Smokes\free_merchant_shopkeep_missions.json
ANIMAL_PRODUCT \items\comestibles\dairy.json
APPLIANCE \furniture_and_terrain\appliances.json
ARCADE \furniture_and_terrain\appliances.json
BAD_TASTE \items\comestibles\carnivore.json
BATTERY \vehicleparts\battery.json
BATTERY_HEAVY \items\battery.json
BATTERY_LIGHT \items\battery.json
BATTERY_MEDIUM \items\battery.json
BATTERY_ULTRA_LIGHT \items\battery.json
BG_OTHER_SURVIVORS_STORY \npcs\BG_traits.json
BG_SURVIVAL_STORY \npcs\BG_traits.json
BIONIC_FUEL_SOURCE \items\tool\integrated.json
BIONIC_WEAPON_MELEE \items\melee\fake.json
BIO_SHOCKPROOF \bionics.json
BIRD \items\comestibles\other.json
BOARD_INTERNAL \vehicleparts\vehicle_parts.json
BRASS_CATCHER \items\gunmod\brass_catcher.json
BURNOUT \items\items_holiday.json
CABLE_PORTS \vehicleparts\vehicle_parts.json
CALORIES_INTAKE \items\tool\electronics.json
CAMERA_PRO \items\tool\electronics.json
CAN_BE_CULLED \monsters\bird.json
CAN_HAVE_CHARGES \items\generic.json
CAPTURE_MONSTER_VEH \vehicleparts\vehicle_parts.json
CATTLE \items\comestibles\other.json
CBM \items\bionics.json
CHANGING \mutations\mutations.json
CHOKE \items\gun\robofac_gun.json
CLAIRVOYANCE_PLUS \mutations\mutations.json
CLIMBABLE \furniture_and_terrain\furniture-barriers.json
CLIMB_SIMPLE \furniture_and_terrain\furniture-barriers.json
COLLAPSED_STOCK \items\gunmod\stock.json
COLLAPSE_CONTENTS \items\containers\containers.json
COMBAT_MOUNT \monsters\mammal.json
COOP_CARD \furniture_and_terrain\terrain-mechanisms.json
CUT_HARVEST \items\comestibles\raw_grain.json
DISCOUNT_VALUE_1 \items\generic.json
DISCOUNT_VALUE_2 \items\generic.json
DISCOUNT_VALUE_3 \items\generic.json
DONT_REMOVE_ROTTEN \furniture_and_terrain\furniture-domestic_plants.json
DOOR_LOCKING \vehicleparts\vehicle_parts.json
DROP_ACTION_ONLY_IF_LIQUID \items\chemicals_and_resources.json
EASY_CLEAN \items\classes\gun.json
EFFECT_LIMB_SCORE_MOD_LOCAL \effects.json
EMITTER \furniture_and_terrain\terrain-nether.json
ENABLED_DRAINS_EPOWER \furniture_and_terrain\appliances.json
ENHANCED_VISION \bionics.json
ERASE_ALL_BEFORE_PLACING_TERRAIN \npcs\robofac\robofac_ancilla_npcs\BAR_ENCOUNTER_MERCENARIES\BEM_human_sample.json
EXTRA_PLATING \items\armor\torso_armor.json
E_DIESEL_FUEL \furniture_and_terrain\appliances.json
Exodii_Body \mutations\cybernetic_traits.json
FELINE \items\comestibles\other.json
FIN \items\armor\boots.json
FLAMING \items\tool\fire.json
FLASH_PROTECTION \items\armor\eyewear.json
FLOATS \vehicleparts\vehicle_parts.json
FLUIDTANK \furniture_and_terrain\appliances.json
FOLDED_STOCK \items\gunmod\stock.json
FORAGE_POISON \items\comestibles\mushroom.json
FRESH_GRAIN \items\comestibles\raw_grain.json
FULL_BOARD \vehicleparts\boards.json
GASFILTER_MED \items\magazine\filter.json
GASFILTER_SM \items\magazine\filter.json
GASTANK \vehicleparts\tanks.json
GAS_PROOF \items\armor\suits_protection.json
GAS_TANK \items\containers\containers.json
GEMSTONE \items\generic.json
GNV_EFFECT \items\armor\robofac_armor.json
HALF_BOARD \vehicleparts\boards.json
HARD \items\generic\storage.json
HEATED_TANK \vehicleparts\tanks.json
HELMET_AVENTAIL \items\armor\head_attachments.json
HELMET_BACK_POUCH \items\armor\head_attachments.json
HELMET_EAR_ATTACHMENT \items\armor\head_attachments.json
HELMET_FACE_SHIELD \items\armor\head_attachments.json
HELMET_HEAD_ATTACHMENT \items\tool\lighting.json
HELMET_MANDIBLE_GUARD \items\armor\head_attachments.json
HELMET_MANDIBLE_GUARD_STRAPPED \items\armor\head_attachments.json
HELMET_NAPE_PROTECTOR \items\armor\head_attachments.json
HOSTILE_50 \artifact\altered_object_active.json
HOSTILE_SUMMON \artifact\altered_object_active.json
HURT_WHEN_WIELDED \items\ammo.json
IGNITE_FLAMMABLE \items\gun\artisan_guns.json
IGNORE_WALLS \artifact\altered_object_active.json
INDUSTRIAL_CARD \furniture_and_terrain\terrain-mechanisms.json
INSECTBLOOD \mutations\mutations.json
INSTALL_DIFFICULT \items\gunmod\mechanism.json
INVERTEBRATEBLOOD \mutations\mutations.json
IRREPLACEABLE_CONSUMABLE \items\ammo\10mm.json
IR_EFFECT \items\armor\robofac_armor.json
IS_ARMOR \items\gunmod\accessories.json
JAVELIN \items\melee\spears_and_polearms.json
LASER_SIGHT \items\gun\robofac_gun.json
LOCKABLE_DOOR \vehicleparts\doors.json
LOCKED \furniture_and_terrain\terrain-doors.json
LOUD \artifact\legacy_artifact_active.json
LOW_FINAL_AIR_DRAG \vehicleparts\doors.json
LUPINE \items\comestibles\carnivore.json
MAG_BELT \items\classes\magazine.json
MAP_MIRROR_HORIZONTAL_IF_E \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_MIRROR_HORIZONTAL_IF_N \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_MIRROR_HORIZONTAL_IF_S \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_MIRROR_HORIZONTAL_IF_W \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_ROTATE_180_IF_S \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_ROTATE_180_IF_SE \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_ROTATE_270_IF_SW \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_ROTATE_270_IF_W \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_ROTATE_90_IF_E \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
MAP_ROTATE_90_IF_NE \recipes\basecamps\expansion\recipe_modular_canteen\version_2\recipe_modular_canteen_common.json
METHANOL_TANK \items\magazine\methanol_fuelcell.json
MILITARY_CARD \furniture_and_terrain\terrain-mechanisms.json
MODE_BURST \items\gun\flammable.json
MOUSE \items\comestibles\raw_grain.json
MUNDANE \items\armor\bespoke_armor\custom_bodysuits.json
MUST_HAVE_CLASS_TO_LEARN \mutations\mutation_spells.json
MUTAGEN_SAMPLE \items\mutagen_ingredients.json
MYCUS_IMMUNE \field_type.json
NANOFAB_REPAIR \items\tool_armor.json
NANOFAB_TABLE \furniture_and_terrain\terrain-manufactured.json
NANOFAB_TEMPLATE \items\generic.json
NEEDS_JACKING \vehicleparts\wheel.json
NEEDS_NO_LUBE \items\gun\ups.json
NEEDS_WHEEL_MOUNT_SKATEBOARD \vehicleparts\wheel.json
NO_BONUS_ITEMS \professions.json
NO_CLEAN \items\armor\exotic.json
NO_DISPLAY \vitamin.json
NO_EXPLOSION_SFX \artifact\altered_object_active.json
NO_FAIL \bionic_spells.json
NO_HANDS \artifact\legacy_artifact_active.json
NO_LEGS \artifact\legacy_artifact_active.json
NO_PROJECTILE \artifact\altered_object_active.json
NO_RESIZE \recipes\armor\hands.json
NO_ROOF_NEEDED \vehicleparts\boards.json
NO_SELF_CONNECT \furniture_and_terrain\furniture-appliances.json
NPC_SAFE \items\comestibles\med.json
NUMB \mutations\mutations.json
NYCTOPHOBIA \mutations\mutations.json
OBSOLETE \items\armor\bespoke_armor\cuttingroom.json
PAIN_IMMUNE \mutations\mutations.json
PALS_LARGE \items\armor\ammo_pouch.json
PALS_MEDIUM \items\armor\ammo_pouch.json
PALS_SMALL \items\armor\ammo_pouch.json
PAPER_SHAPED \items\book\maps.json
PARALYZEVENOM \monsters\triffid.json
PERCENTAGE_DAMAGE \item_spell_effects.json
PERMANENT \artifact\legacy_artifact_active.json
PLANTABLE_SEED \items\comestibles\other.json
PLANTBLOOD \mutations\mutations.json
RABBIT \items\generic.json
RADIO_INVOKE_PROC \items\ammo\sling-ready_grenade.json
RAD_DETECT \items\armor\jewelry.json
RAIL \furniture_and_terrain\terrain-railroads.json
RAMP_DOWN \furniture_and_terrain\terrain-zlevel-transitions.json
RAMP_UP \furniture_and_terrain\terrain-zlevel-transitions.json
RANDOM_AOE \monster_special_attacks\monster_deaths.json
RANDOM_DAMAGE \artifact\altered_object_active.json
RANDOM_DURATION \artifact\legacy_artifact_active.json
RANDOM_TARGET \artifact\legacy_artifact_active.json
RAT \items\comestibles\raw_grain.json
REBREATHER \items\tool_armor.json
REBREATHER_CART \items\magazine\filter.json
REMOVED_STOCK \items\gunmod\stock.json
ROBOFAC_ROBOT_MEDIUM \items\corpses\inactive_bots.json
ROBOFAC_ROBOT_SMALL \items\corpses\inactive_bots.json
ROCKWHEEL \vehicleparts\engineering.json
ROTOR \vehicleparts\rotor.json
RUBBLE \furniture_and_terrain\furniture-rural.json
SCIENCE_CARD \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MAINTENANCE_BLUE \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MAINTENANCE_GREEN \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MAINTENANCE_YELLOW \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MEDICAL_RED \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MUTAGEN_CYAN \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MUTAGEN_GREEN \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MUTAGEN_PINK \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_MU_UNIVERSAL \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_SECURITY_BLACK \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_SECURITY_MAGENTA \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_SECURITY_YELLOW \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_TRANSPORT_1 \furniture_and_terrain\terrain-mechanisms.json
SCIENCE_CARD_VISITOR \furniture_and_terrain\terrain-mechanisms.json
SEAT_REQUIRES_BALANCE \vehicleparts\frames.json
SELF_JACK \vehicleparts\engineering.json
SHEATH_BOW \items\ranged\archery.json
SHEATH_SPEAR \items\melee\bludgeons.json
SILENT \artifact\legacy_artifact_active.json
SILENT_DISAPPEAR \monsters\nether.json
SLUDGE_IMMUNE \field_type.json
SMALL_HIDER \monsters\insect_spider.json
SMART_ENGINE_CONTROLLER \vehicleparts\vehicle_parts.json
SOFT \items\armor\bespoke_armor\custom_headgear.json
SOLARPACK_ON \items\tool_armor.json
SOMATIC \monster_special_attacks\spells.json
SPAWN_ACTIVE \items\armor\exotic.json
SPAWN_GROUP \monster_special_attacks\spells.json
SPAWN_WITH_DEATH_DROPS \monster_special_attacks\monster_deaths.json
SPIRITUAL \mutations\mutations.json
SPLINT \items\tool_armor.json
STAR_PLATE \items\armor\exotic.json
STAR_SHOULDER \items\armor\exotic.json
STAR_SKIRT \items\armor\exotic.json
STRICT_HUMANITARIANISM \items\comestibles\carnivore.json
SUNBURN \mutations\mutations.json
SUPER_CLAIRVOYANCE \mutations\mutations.json
SUR_START \scenarios.json
TOBACCO \items\generic.json
TOUGH_FEET \items\armor\integrated.json
TOURNIQUET \items\tool_armor.json
TOW_CABLE \items\tool\cables.json
TWO_WAY_RADIO \items\fake.json
UNCRAFT_BY_CHARGE \recipes\recipe_deconstruction.json
UNDERSIZE \items\armor\ammo_pouch.json
UNSAFE_TELEPORT \artifact\legacy_artifact_active.json
USE_POWER_WHEN_HIT \items\tool_armor.json
VEH_TOOLS \vehicleparts\modular_tools.json
VERBAL \artifact\legacy_artifact_active.json
WALK_UNDERWATER \mutations\mutations.json
WALL_MOUNTED \furniture_and_terrain\appliances.json
WATER_CUBE \furniture_and_terrain\terrain-liquids.json
WHEEL_MOUNT_SKATEBOARD \vehicleparts\wheel.json
WINDSHIELD \vehicleparts\windshields.json
WIRING \furniture_and_terrain\appliances.json
WONDER \artifact\legacy_artifact_active.json
WONT_TRAIN_MARKSMANSHIP \items\gun\nail.json
W_DISABLED_BY_DEFAULT \ui\body_graph.json
W_DISABLED_WHEN_EMPTY \ui\radiation.json
W_DYNAMIC_HEIGHT \ui\bodypart_status.json
W_LABEL_NONE \ui\activity.json
W_NO_PADDING \ui\hp.json
Z_TRANSPARENT \furniture_and_terrain\terrain-zlevel-transitions.json
hair_black \mutations\mutation_appearance.json
hair_blond \mutations\mutation_appearance.json
hair_brown \mutations\mutation_appearance.json
hair_crewcut \mutations\mutation_appearance.json
hair_fro \mutations\mutation_appearance.json
hair_gray \mutations\mutation_appearance.json
hair_long \mutations\mutation_appearance.json
hair_medium \mutations\mutation_appearance.json
hair_mohawk \mutations\mutation_appearance.json
hair_red \mutations\mutation_appearance.json
hair_short \mutations\mutation_appearance.json
hair_white \mutations\mutation_appearance.json
mycus \mutations\mutations.json
hair being defined in mutation_appearance makes sense since hair is done as a mutation
Yea, I have no problem with that, I have a problem with it being an undocumented flag.
I don't understand why haircuts are flags while facial hair, skin tones and eye colours are not. I can't find any instances of the haircut flags being checked or used, nor conceive a scenario where you would want to check for hair color but not skin colour.
Ah, I misread that since it's a giant list post
It looks like all the MAGIC.md-defined flags (SOMATIC, HOSTILE_50, etc) made it into the flag list above. I thought JSON_FLAGS.md had a link to MAGIC.md but on double-checking I can't find one.
Yea, I only checked JSON_FLAGS.md for the flags.
Effects of effect_on_condition are also documented in NPC.md and EFFECT_ON_CONDITIONS.md Despite some flaws, it's a useful information, im working on documenting some of this stuff
Yea, looking back I see that many effects used in portal_storm_effect_on_condition.json
are documented in NPC.md
. I didn't think to check there as it doesn't intuitively make sense, which is another problem.
I had to check many fields manually as some fields have the same name, such as "width" which means different things for sidebars, animals and wheels. Especially effects were messy as most were very nested and there's probably some errors there.
I adressed most of this in linked PRs, so if there is something i missed, feel free to reopen it
Describe the bug
Many JSON fields are undocumented in the .MD files, which makes it harder to create content.
Attach save file
N/A
Steps to reproduce
N/A
Expected behavior
I would like every field to be documented.
Perhaps even add a PR check to ensure that all fields are documented.
Screenshots
No response
Versions and configuration
Additional context
Here's a list of fields used in JSON data I've found using a script, that are undocumented or documented in an un-intuitive .md-file. Many of the
effect >
is documented in NPC.md.Not guaranteed to be exhaustive, and may contain false positives.
Angle bracket
>
denotes a nested key.