Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: No-error crash with custom entity (Solved)  (Read 993 times)

Talgor

  • Bay Watcher
    • View Profile
No-error crash with custom entity (Solved)
« on: January 10, 2016, 10:04:36 pm »

So I was porting my custom feline race to the newest version and got it cleaned up enough that it no longer produces any errors in the errorlog, but... it's still crashing whenever I try to go into worldgen or arena. The creature file seems OK since if I just remove the entity file I can go into the arena and create individual creatures without any trouble, so I'm assuming it's the entity file that's the problem.

Here's the entity file:
Code: [Select]
entity_talgor

[OBJECT:ENTITY]

[ENTITY:SAVANNA]
[SITE_CONTROLLABLE]
[ALL_MAIN_POPS_CONTROLLABLE]
[CREATURE:HRAFI]
[TRANSLATION:HUMAN]
[DIGGER:ITEM_WEAPON_PICK]
[WEAPON:ITEM_WEAPON_AXE_BATTLE]
[WEAPON:ITEM_WEAPON_HAMMER_WAR]
[WEAPON:ITEM_WEAPON_SWORD_SHORT]
[WEAPON:ITEM_WEAPON_SPEAR]
[WEAPON:ITEM_WEAPON_MACE]
[WEAPON:ITEM_WEAPON_BOW]
[AMMO:ITEM_AMMO_ARROWS]
[WEAPON:ITEM_WEAPON_BLOWGUN]
[AMMO:ITEM_AMMO_BLOWDARTS]
[WEAPON:ITEM_WEAPON_PIKE]
[WEAPON:ITEM_WEAPON_HALBERD]
[WEAPON:ITEM_WEAPON_SWORD_2H]
[WEAPON:ITEM_WEAPON_SWORD_LONG]
[WEAPON:ITEM_WEAPON_MAUL]
[WEAPON:ITEM_WEAPON_AXE_GREAT]
[WEAPON:ITEM_WEAPON_FLAIL]
[WEAPON:ITEM_WEAPON_MORNINGSTAR]
[WEAPON:ITEM_WEAPON_SCIMITAR]
[WEAPON:ITEM_WEAPON_AXE_TRAINING]
[WEAPON:ITEM_WEAPON_SWORD_SHORT_TRAINING]
[WEAPON:ITEM_WEAPON_SPEAR_TRAINING]
[ARMOR:ITEM_ARMOR_BREASTPLATE:UNCOMMON]
[ARMOR:ITEM_ARMOR_MAIL_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[ARMOR:ITEM_ARMOR_COAT:RARE]
[ARMOR:ITEM_ARMOR_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_CLOAK:UNCOMMON]
[ARMOR:ITEM_ARMOR_TUNIC:COMMON]
[ARMOR:ITEM_ARMOR_TOGA:RARE]
[ARMOR:ITEM_ARMOR_CAPE:UNCOMMON]
[ARMOR:ITEM_ARMOR_VEST:COMMON]
[ARMOR:ITEM_ARMOR_ROBE:UNCOMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[HELM:ITEM_HELM_CAP:UNCOMMON]
[HELM:ITEM_HELM_HOOD:UNCOMMON]
[HELM:ITEM_HELM_TURBAN:UNCOMMON]
[HELM:ITEM_HELM_MASK:RARE]
[HELM:ITEM_HELM_VEIL_HEAD:RARE]
[HELM:ITEM_HELM_VEIL_FACE:RARE]
[HELM:ITEM_HELM_SCARF_HEAD:RARE]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES:RARE]
[GLOVES:ITEM_GLOVES_MITTENS:RARE]
[SHOES:ITEM_SHOES_SHOES:COMMON]
[SHOES:ITEM_SHOES_BOOTS:UNCOMMON]
[SHOES:ITEM_SHOES_BOOTS_LOW:UNCOMMON]
[SHOES:ITEM_SHOES_SANDAL:UNCOMMON]
[PANTS:ITEM_PANTS_PANTS:COMMON]
[PANTS:ITEM_PANTS_GREAVES:UNCOMMON]
[PANTS:ITEM_PANTS_LEGGINGS:COMMON]
[PANTS:ITEM_PANTS_LOINCLOTH:UNCOMMON]
[PANTS:ITEM_PANTS_THONG:UNCOMMON]
[PANTS:ITEM_PANTS_SKIRT:UNCOMMON]
[PANTS:ITEM_PANTS_SKIRT_SHORT:COMMON]
[PANTS:ITEM_PANTS_SKIRT_LONG:UNCOMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]
[TRAPCOMP:ITEM_TRAPCOMP_SPIKEDBALL]
[TRAPCOMP:ITEM_TRAPCOMP_MENACINGSPIKE]
[TOY:ITEM_TOY_PUZZLEBOX]
[TOY:ITEM_TOY_BOAT]
[TOY:ITEM_TOY_HAMMER]
[TOY:ITEM_TOY_AXE]
[TOY:ITEM_TOY_HRAFI]
[TOY:ITEM_TOY_HUMAN]
[TOY:ITEM_TOY_DWARF]
[TOY:ITEM_TOY_ELF]
[TOY:ITEM_TOY_GOBLIN]
[TOOL:ITEM_TOOL_CAULDRON]
[TOOL:ITEM_TOOL_LADLE]
[TOOL:ITEM_TOOL_BOWL]
[TOOL:ITEM_TOOL_MORTAR]
[TOOL:ITEM_TOOL_PESTLE]
[TOOL:ITEM_TOOL_KNIFE_CARVING]
[TOOL:ITEM_TOOL_KNIFE_BONING]
[TOOL:ITEM_TOOL_KNIFE_SLICING]
[TOOL:ITEM_TOOL_KNIFE_MEAT_CLEAVER]
[TOOL:ITEM_TOOL_FORK_CARVING]
[TOOL:ITEM_TOOL_NEST_BOX]
[TOOL:ITEM_TOOL_JUG]
[TOOL:ITEM_TOOL_LARGE_POT]
[TOOL:ITEM_TOOL_HIVE]
[TOOL:ITEM_TOOL_POUCH]
[TOOL:ITEM_TOOL_WHEELBARROW]
[TOOL:ITEM_TOOL_STEPLADDER]
[TOOL:ITEM_TOOL_SCROLL_ROLLERS]
[TOOL:ITEM_TOOL_BOOK_BINDING]
[TOOL:ITEM_TOOL_SCROLL]
[TOOL:ITEM_TOOL_QUIRE]
[TOOL:ITEM_TOOL_BOOKCASE]
[CLOTHING]
[CURRENCY_BY_YEAR]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[SELECT_SYMBOL:WAR:NAME_WAR]
[SUBSELECT_SYMBOL:WAR:VIOLENT]
[SELECT_SYMBOL:BATTLE:NAME_BATTLE]
[SUBSELECT_SYMBOL:BATTLE:VIOLENT]
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]
[SELECT_SYMBOL:ROAD:NAME_ROAD]
[SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]
[SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]
[SELECT_SYMBOL:WALL:NAME_WALL]
[SELECT_SYMBOL:TEMPLE:NAME_BUILDING_TEMPLE]
[SELECT_SYMBOL:LIBRARY:NAME_BUILDING_LIBRARY]
[CULL_SYMBOL:ALL:FLOWERY]
[CULL_SYMBOL:ALL:EVIL]
[CULL_SYMBOL:ALL:MAGIC]
[CULL_SYMBOL:ALL:PEACE]
[CULL_SYMBOL:ALL:UGLY]
[CULL_SYMBOL:ALL:UNTOWARD]
[CULL_SYMBOL:ALL:SUBORDINATE]
[CULL_SYMBOL:ALL:DOMESTIC]
[CULL_SYMBOL:ALL:ROMANTIC]
[CULL_SYMBOL:ALL:AQUATIC]
[CULL_SYMBOL:ALL:OCEAN]
[SELECT_SYMBOL:CIV:NAME_ENTITY_KINGDOM]
[SELECT_SYMBOL:SITE:NAME_ENTITY_TOWN_FOUNDER]
[RIVER_PRODUCTS]
[OCEAN_PRODUCTS]
[GEM_PREF]
[STONE_PREF]
[OUTDOOR_WOOD]
[OUTDOOR_FARMING]
[OUTDOOR_GARDENS]
[USE_ANIMAL_PRODUCTS]
[COMMON_DOMESTIC_PACK]
[COMMON_DOMESTIC_PULL]
[COMMON_DOMESTIC_MOUNT]
[COMMON_DOMESTIC_PET]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[SPHERE_ALIGNMENT:BOUNDARIES:128]
[SPHERE_ALIGNMENT:COURAGE:384]
[SPHERE_ALIGNMENT:HUNTING:384]
[SPHERE_ALIGNMENT:MERCY:64]
[SPHERE_ALIGNMENT:MINERALS:128]
[SPHERE_ALIGNMENT:PEACE:128]
[SPHERE_ALIGNMENT:PLANTS:64]
[SPHERE_ALIGNMENT:STRENGTH:384]
[SPHERE_ALIGNMENT:THRALLDOM:64]
[SPHERE_ALIGNMENT:VALOR:384]
[SPHERE_ALIGNMENT:WAR:128]
[ART_FACET_MODIFIER:OWN_RACE:512]
[ART_IMAGE_ELEMENT_MODIFIER:PLANT:16]
[ART_IMAGE_ELEMENT_MODIFIER:TREE:128]
[ITEM_IMPROVEMENT_MODIFIER:ART_IMAGE:256]
[ITEM_IMPROVEMENT_MODIFIER:COVERED:256]
[ITEM_IMPROVEMENT_MODIFIER:RINGS_HANGING:512]
[ITEM_IMPROVEMENT_MODIFIER:BANDS:512]
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:384]
[FRIENDLY_COLOR:7:0:1]
[UNDEAD_CANDIDATE]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CITY]
[TOLERATES_SITE:CITY]
[TOLERATES_SITE:TREE_CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[START_BIOME:ANY_SAVANNA]
[START_BIOME:ANY_DESERT]
[START_BIOME:ANY_FOREST]
[BIOME_SUPPORT:ANY_WETLAND:1]
[BIOME_SUPPORT:ANY_DESERT:3]
[BIOME_SUPPORT:ANY_FOREST:3]
[BIOME_SUPPORT:ANY_LAKE:2]
[BIOME_SUPPORT:ANY_GRASSLAND:2]
[BIOME_SUPPORT:ANY_SAVANNA:2]
[BIOME_SUPPORT:ANY_SHRUBLAND:2]
[BIOME_SUPPORT:ANY_RIVER:3]
[DIPLOMAT_BODYGUARDS]
[MERCHANT_BODYGUARDS]
[PROGRESS_TRIGGER_TRADE:2]
[PROGRESS_TRIGGER_POP_SIEGE:3]
[PROGRESS_TRIGGER_PROD_SIEGE:1]
[PROGRESS_TRIGGER_TRADE_SIEGE:1]
[ACTIVE_SEASON:SPRING]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:100]
[MAX_POP_NUMBER:10000]
[MAX_SITE_POP_NUMBER:120]
[RELIGION:PANTHEON]
[RELIGION_SPHERE:COURAGE]
[RELIGION_SPHERE:NIGHT]
[RELIGION_SPHERE:FREEDOM]
[RELIGION_SPHERE:HUNTING]
[RELIGION_SPHERE:WAR]
[WANDERER]
[BEAST_HUNTER]
[SCOUT]
[MERCENARY]
[SCHOLAR:PHILOSOPHER]
[SCHOLAR:MATHEMATICIAN]
[SCHOLAR:HISTORIAN]
[SCHOLAR:NATURALIST]
[SCHOLAR:GEOGRAPHER]
[SCHOLAR:DOCTOR]
[SCHOLAR:ENGINEER]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:BOWYER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ENGRAVER]
[PERMITTED_JOB:MASON]
[PERMITTED_JOB:ANIMAL_CARETAKER]
[PERMITTED_JOB:ANIMAL_TRAINER]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:TRAPPER]
[PERMITTED_JOB:ANIMAL_DISSECTOR]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:BLACKSMITH]
[PERMITTED_JOB:METALCRAFTER]
[PERMITTED_JOB:GEM_CUTTER]
[PERMITTED_JOB:GEM_SETTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:STONECRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:GLASSMAKER]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[PERMITTED_JOB:SHEARER]
[PERMITTED_JOB:SPINNER]
[PERMITTED_JOB:GELDER]
[PERMITTED_JOB:COOK]
[PERMITTED_JOB:THRESHER]
[PERMITTED_JOB:MILLER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:DYER]
[PERMITTED_JOB:PLANTER]
[PERMITTED_JOB:HERBALIST]
[PERMITTED_JOB:BREWER]
[PERMITTED_JOB:SOAP_MAKER]
[PERMITTED_JOB:POTASH_MAKER]
[PERMITTED_JOB:LYE_MAKER]
[PERMITTED_JOB:WOOD_BURNER]
[PERMITTED_JOB:MECHANIC]
[PERMITTED_JOB:SIEGE_ENGINEER]
[PERMITTED_JOB:SIEGE_OPERATOR]
[PERMITTED_JOB:PUMP_OPERATOR]
[PERMITTED_JOB:CLERK]
[PERMITTED_JOB:ADMINISTRATOR]
[PERMITTED_JOB:TRADER]
[PERMITTED_JOB:ARCHITECT]
[PERMITTED_JOB:DIAGNOSER]
[PERMITTED_JOB:BONE_SETTER]
[PERMITTED_JOB:SUTURER]
[PERMITTED_JOB:SURGEON]
[PERMITTED_JOB:GLAZER]
[PERMITTED_JOB:POTTER]
[PERMITTED_JOB:PRESSER]
[PERMITTED_JOB:BEEKEEPER]
[PERMITTED_JOB:WAX_WORKER]
[PERMITTED_JOB:PAPERMAKER]
[PERMITTED_JOB:BOOKBINDER]
[PERMITTED_BUILDING:SOAP_MAKER]
[PERMITTED_BUILDING:SCREW_PRESS]
[PERMITTED_REACTION:TAN_A_HIDE]
[PERMITTED_REACTION:RENDER_FAT]
[PERMITTED_REACTION:MAKE_SOAP_FROM_TALLOW]
[PERMITTED_REACTION:MAKE_SOAP_FROM_OIL]
[PERMITTED_REACTION:MILL_SEEDS_NUTS_TO_PASTE]
[PERMITTED_REACTION:MAKE_CLAY_JUG]
[PERMITTED_REACTION:MAKE_CLAY_BRICKS]
[PERMITTED_REACTION:MAKE_CLAY_STATUE]
[PERMITTED_REACTION:MAKE_LARGE_CLAY_POT]
[PERMITTED_REACTION:MAKE_CLAY_CRAFTS]
[PERMITTED_REACTION:MAKE_QUICKLIME]
[PERMITTED_REACTION:MAKE_MILK_OF_LIME]
[PERMITTED_REACTION:MAKE_PARCHMENT]
[PERMITTED_REACTION:MAKE_SCROLL]
[PERMITTED_REACTION:MAKE_QUIRE]
[PERMITTED_REACTION:MAKE_SHEET_FROM_PLANT]
[PERMITTED_REACTION:MAKE_SLURRY_FROM_PLANT]
[PERMITTED_REACTION:PRESS_PLANT_PAPER]
[PERMITTED_REACTION:BIND_BOOK]
[PERMITTED_REACTION:GLAZE_JUG]
[PERMITTED_REACTION:GLAZE_STATUE]
[PERMITTED_REACTION:GLAZE_LARGE_POT]
[PERMITTED_REACTION:GLAZE_CRAFT]
[PERMITTED_REACTION:PRESS_OIL]
[PERMITTED_REACTION:PRESS_OIL_FRUIT]
[PERMITTED_REACTION:MAKE_CLAY_HIVE]
[PERMITTED_REACTION:PRESS_HONEYCOMB]
[PERMITTED_REACTION:MAKE_WAX_CRAFTS]
[PERMITTED_REACTION:BREW_DRINK_FROM_PLANT]
[PERMITTED_REACTION:BREW_DRINK_FROM_PLANT_GROWTH]
[PERMITTED_REACTION:MAKE_MEAD]
[PERMITTED_REACTION:PROCESS_PLANT_TO_BAG]
[PERMITTED_REACTION:BRASS_MAKING]
[PERMITTED_REACTION:BRASS_MAKING2]
[PERMITTED_REACTION:BRONZE_MAKING]
[PERMITTED_REACTION:BRONZE_MAKING2]
[PERMITTED_REACTION:ELECTRUM_MAKING]
[PERMITTED_REACTION:ELECTRUM_MAKING2]
[PERMITTED_REACTION:BILLON_MAKING]
[PERMITTED_REACTION:BILLON_MAKING2]
[PERMITTED_REACTION:PEWTER_FINE_MAKING]
[PERMITTED_REACTION:PEWTER_FINE_MAKING2]
[PERMITTED_REACTION:PEWTER_TRIFLE_MAKING]
[PERMITTED_REACTION:PEWTER_TRIFLE_MAKING2]
[PERMITTED_REACTION:PEWTER_LAY_MAKING]
[PERMITTED_REACTION:BLACK_BRONZE_MAKING]
[PERMITTED_REACTION:STERLING_SILVER_MAKING]
[PERMITTED_REACTION:ROSE_GOLD_MAKING]
[WORLD_CONSTRUCTION:WALL]
[WORLD_CONSTRUCTION:BRIDGE]
[WORLD_CONSTRUCTION:ROAD]
[ETHIC:KILL_ENTITY_MEMBER:PERSONAL_MATTER]
[ETHIC:KILL_NEUTRAL:PERSONAL_MATTER]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
[ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
[ETHIC:TORTURE_FOR_FUN:PERSONAL_MATTER]
[ETHIC:TORTURE_ANIMALS:PERSONAL_MATTER]
[ETHIC:TREASON:PUNISH_CAPITAL]
[ETHIC:OATH_BREAKING:PUNISH_SERIOUS]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:PUNISH_SERIOUS]
[ETHIC:TRESPASSING:PUNISH_SERIOUS]
[ETHIC:THEFT:PUNISH_REPRIMAND]
[ETHIC:ASSAULT:PERSONAL_MATTER]
[ETHIC:SLAVERY:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:MISGUIDED]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[VARIABLE_VALUE:LAW:-20:10]
[VARIABLE_VALUE:LOYALTY:-15:15]
[VARIABLE_VALUE:FAMILY:10:35]
[VARIABLE_VALUE:FRIENDSHIP:0:20]
[VARIABLE_VALUE:POWER:15:65]
[VARIABLE_VALUE:TRUTH:-30:30]
[VARIABLE_VALUE:CUNNING:-5:20]
[VARIABLE_VALUE:ELOQUENCE:-40:20]
[VARIABLE_VALUE:FAIRNESS:-40:20]
[VARIABLE_VALUE:DECORUM:-40:20]
[VARIABLE_VALUE:TRADITION:0:35]
[VARIABLE_VALUE:ARTWORK:-10:20]
[VARIABLE_VALUE:COOPERATION:-10:30]
[VARIABLE_VALUE:INDEPENDENCE:20:60]
[VARIABLE_VALUE:STOICISM:10:45]
[VARIABLE_VALUE:INTROSPECTION:-40:10]
[VARIABLE_VALUE:SELF_CONTROL:-20:30]
[VARIABLE_VALUE:TRANQUILITY:-30:25]
[VARIABLE_VALUE:HARMONY:-20:20]
[VARIABLE_VALUE:MERRIMENT:0:30]
[VARIABLE_VALUE:CRAFTSMANSHIP:-5:25]
[VARIABLE_VALUE:MARTIAL_PROWESS:10:60]
[VARIABLE_VALUE:SKILL:15:65]
[VARIABLE_VALUE:HARD_WORK:0:45]
[VARIABLE_VALUE:SACRIFICE:-20:20]
[VARIABLE_VALUE:COMPETITION:15:50]
[VARIABLE_VALUE:PERSEVERENCE:-5:40]
[VARIABLE_VALUE:LEISURE_TIME:0:50]
[VARIABLE_VALUE:COMMERCE:-10:10]
[VARIABLE_VALUE:ROMANCE:-5:15]
[VARIABLE_VALUE:NATURE:-5:15]
[VARIABLE_VALUE:PEACE:-35:15]
[WILL_ACCEPT_TRIBUTE]

[LAND_HOLDER_TRIGGER:1:20:10000:100000]
[LAND_HOLDER_TRIGGER:2:20:20000:200000]
[LAND_HOLDER_TRIGGER:3:20:30000:300000]
[POSITION:MONARCH]
[NAME_MALE:king:kings]
[NAME_FEMALE:queen:queens]
[NUMBER:1]
[SPOUSE_MALE:king consort:kings consort]
[SPOUSE_FEMALE:queen consort:queens consort]
[SUCCESSION:BY_HEIR]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MILITARY_GOALS]
[PRECEDENCE:1]
[SPECIAL_BURIAL]
[RULES_FROM_LOCATION]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[DETERMINES_COIN_DESIGN]
[COLOR:5:0:1]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:10]
[MANDATE_MAX:5]
[REQUIRED_BOXES:10]
[REQUIRED_CABINETS:5]
[REQUIRED_RACKS:5]
[REQUIRED_STANDS:5]
[REQUIRED_OFFICE:10000]
[REQUIRED_BEDROOM:10000]
[REQUIRED_DINING:10000]
[REQUIRED_TOMB:10000]
[POSITION:GENERAL]
[NAME:general:generals]
[NUMBER:1]
[SQUAD:10:soldier:soldiers]
[APPOINTED_BY:MONARCH]
[RESPONSIBILITY:MILITARY_STRATEGY]
[COMMANDER:LIEUTENANT:ALL]
[PRECEDENCE:50]
[SPECIAL_BURIAL]
[MENIAL_WORK_EXEMPTION]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:2]
[REQUIRED_BOXES:2]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:3]
[REQUIRED_STANDS:3]
[REQUIRED_OFFICE:500]
[REQUIRED_BEDROOM:250]
[REQUIRED_DINING:250]
[REQUIRED_TOMB:1]
[POSITION:LIEUTENANT]
[NAME:lieutenant:lieutenants]
[NUMBER:AS_NEEDED]
[SQUAD:10:soldier:soldiers]
[APPOINTED_BY:GENERAL]
[COMMANDER:CAPTAIN:ALL]
[PRECEDENCE:100]
[MENIAL_WORK_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:1]
[REQUIRED_BOXES:1]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:2]
[REQUIRED_STANDS:2]
[REQUIRED_OFFICE:100]
[REQUIRED_BEDROOM:100]
[REQUIRED_DINING:100]
[MILITARY_SCREEN_ONLY]
[POSITION:CAPTAIN]
[NAME:captain:captains]
[NUMBER:AS_NEEDED]
[SQUAD:10:soldier:soldiers]
[APPOINTED_BY:GENERAL]
[PRECEDENCE:190]
[DO_NOT_CULL]
[DUTY_BOUND]
[REQUIRED_BOXES:1]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:1]
[REQUIRED_STANDS:1]
[REQUIRED_OFFICE:1]
[REQUIRED_BEDROOM:1]
[REQUIRED_DINING:1]
[MILITARY_SCREEN_ONLY]
[POSITION:MILITIA_COMMANDER]
[NAME:militia commander:militia commanders]
[SITE]
[NUMBER:1]
[SQUAD:10:militia-dwarf:militia-dwarves]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[RESPONSIBILITY:MILITARY_STRATEGY]
[COMMANDER:MILITIA_CAPTAIN:ALL]
[PRECEDENCE:120]
[DO_NOT_CULL]
[DUTY_BOUND]
[POSITION:MILITIA_CAPTAIN]
[NAME:militia captain:militia captains]
[SITE]
[NUMBER:AS_NEEDED]
[SQUAD:10:militia-dwarf:militia-dwarves]
[APPOINTED_BY:MILITIA_COMMANDER]
[PRECEDENCE:200]
[DO_NOT_CULL]
[DUTY_BOUND]
[MILITARY_SCREEN_ONLY]
[POSITION:SHERIFF]
[NAME:sheriff:sheriffs]
[SITE]
[NUMBER:1]
[RESPONSIBILITY:LAW_ENFORCEMENT]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[REPLACED_BY:CAPTAIN_OF_THE_GUARD]
[PRECEDENCE:130]
[DO_NOT_CULL]
[COLOR:1:0:1]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[REQUIRED_BOXES:1]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:1]
[REQUIRED_STANDS:1]
[REQUIRED_OFFICE:100]
[REQUIRED_BEDROOM:100]
[REQUIRED_DINING:100]
[POSITION:CAPTAIN_OF_THE_GUARD]
[NAME:captain of the guard:captains of the guard]
[SITE]
[NUMBER:1]
[RESPONSIBILITY:LAW_ENFORCEMENT]
[SQUAD:10:fortress guard:fortress guards]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[REQUIRES_POPULATION:50]
[REQUIRES_MARKET]
[PRECEDENCE:105]
[DO_NOT_CULL]
[COLOR:1:0:1]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[REQUIRED_BOXES:1]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:1]
[REQUIRED_STANDS:1]
[REQUIRED_OFFICE:250]
[REQUIRED_BEDROOM:250]
[REQUIRED_DINING:250]
[POSITION:EXPEDITION_LEADER]
[NAME:expedition leader:expedition leaders]
[SITE]
[NUMBER:1]
[REPLACED_BY:MAYOR]
[RULES_FROM_LOCATION]
[RESPONSIBILITY:MEET_WORKERS]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MILITARY_GOALS]
[PRECEDENCE:110]
[DO_NOT_CULL]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[POSITION:MAYOR]
[NAME:mayor:mayors]
[SITE]
[NUMBER:1]
[RESPONSIBILITY:MEET_WORKERS]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MILITARY_GOALS]
[REQUIRES_POPULATION:50]
[RULES_FROM_LOCATION]
[ELECTED]
[PRECEDENCE:60]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[COLOR:5:0:0]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:2]
[MANDATE_MAX:1]
[REQUIRED_BOXES:2]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:1]
[REQUIRED_STANDS:1]
[REQUIRED_OFFICE:500]
[REQUIRED_BEDROOM:500]
[REQUIRED_DINING:500]
[POSITION:MANAGER]
[NAME:manager:managers]
[SITE]
[REQUIRES_MARKET]
[NUMBER:1]
[RESPONSIBILITY:MANAGE_PRODUCTION]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[PRECEDENCE:160]
[DO_NOT_CULL]
[COLOR:5:0:0]
[DUTY_BOUND]
[REQUIRED_OFFICE:1]
[POSITION:CHIEF_MEDICAL_CAT]
[NAME:chief medical cat:chief medical cats]
[SITE]
[REQUIRES_MARKET]
[NUMBER:1]
[RESPONSIBILITY:HEALTH_MANAGEMENT]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[PRECEDENCE:165]
[DO_NOT_CULL]
[COLOR:5:0:0]
[DUTY_BOUND]
[POSITION:BROKER]
[NAME:broker:brokers]
[SITE]
[REQUIRES_MARKET]
[NUMBER:1]
[RESPONSIBILITY:TRADE]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[PRECEDENCE:170]
[DO_NOT_CULL]
[COLOR:5:0:0]
[DUTY_BOUND]
[POSITION:BOOKKEEPER]
[NAME:bookkeeper:bookkeepers]
[SITE]
[REQUIRES_MARKET]
[NUMBER:1]
[RESPONSIBILITY:ACCOUNTING]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[PRECEDENCE:180]
[DO_NOT_CULL]
[COLOR:5:0:0]
[DUTY_BOUND]
[REQUIRED_OFFICE:1]
[POSITION:OUTPOST_LIAISON]
[NAME:outpost liaison:outpost liaisons]
[NUMBER:1]
[RESPONSIBILITY:ESTABLISH_COLONY_TRADE_AGREEMENTS]
[APPOINTED_BY:MONARCH]
[PRECEDENCE:80]
[MENIAL_WORK_EXEMPTION]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[ACCOUNT_EXEMPT]
[DO_NOT_CULL]
[COLOR:7:0:1]
[DUTY_BOUND]
[DEMAND_MAX:3]
[REQUIRED_BOXES:3]
[REQUIRED_CABINETS:2]
[REQUIRED_RACKS:2]
[REQUIRED_STANDS:2]
[REQUIRED_OFFICE:1500]
[REQUIRED_BEDROOM:1500]
[REQUIRED_DINING:1500]
[POSITION:DIPLOMAT]
[NAME:diplomat:diplomats]
[NUMBER:1]
[RESPONSIBILITY:MAKE_INTRODUCTIONS]
[RESPONSIBILITY:MAKE_PEACE_AGREEMENTS]
[RESPONSIBILITY:MAKE_TOPIC_AGREEMENTS]
[APPOINTED_BY:MONARCH]
[PRECEDENCE:70]
[DO_NOT_CULL]
[COLOR:7:0:1]
[MENIAL_WORK_EXEMPTION]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:3]
[REQUIRED_BOXES:3]
[REQUIRED_CABINETS:2]
[REQUIRED_RACKS:2]
[REQUIRED_STANDS:2]
[REQUIRED_OFFICE:1500]
[REQUIRED_BEDROOM:1500]
[REQUIRED_DINING:1500]
[POSITION:DUKE]
[NAME_MALE:duke:dukes]
[NAME_FEMALE:duchess:duchesses]
[SPOUSE_MALE:duke consort:dukes consort]
[SPOUSE_FEMALE:duchess consort:duchesses consort]
[NUMBER:AS_NEEDED]
[LAND_HOLDER:3]
[LAND_NAME:a duchy]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[SUCCESSION:BY_HEIR]
[APPOINTED_BY:MONARCH]
[PRECEDENCE:20]
[SPECIAL_BURIAL]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[COLOR:5:0:0]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:5]
[MANDATE_MAX:3]
[REQUIRED_BOXES:5]
[REQUIRED_CABINETS:3]
[REQUIRED_RACKS:3]
[REQUIRED_STANDS:3]
[REQUIRED_OFFICE:2500]
[REQUIRED_BEDROOM:2500]
[REQUIRED_DINING:2500]
[REQUIRED_TOMB:2500]
[POSITION:COUNT]
[NAME_MALE:count:counts]
[NAME_FEMALE:countess:countesses]
[SPOUSE_MALE:count consort:counts consort]
[SPOUSE_FEMALE:countess consort:countesses consort]
[NUMBER:AS_NEEDED]
[LAND_HOLDER:2]
[LAND_NAME:a county]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[SUCCESSION:BY_HEIR]
[APPOINTED_BY:MONARCH]
[REPLACED_BY:DUKE]
[PRECEDENCE:30]
[SPECIAL_BURIAL]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[COLOR:5:0:0]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:3]
[MANDATE_MAX:2]
[REQUIRED_BOXES:3]
[REQUIRED_CABINETS:2]
[REQUIRED_RACKS:2]
[REQUIRED_STANDS:2]
[REQUIRED_OFFICE:1500]
[REQUIRED_BEDROOM:1500]
[REQUIRED_DINING:1500]
[REQUIRED_TOMB:1500]
[POSITION:BARON]
[NAME_MALE:baron:barons]
[NAME_FEMALE:baroness:baronesses]
[SPOUSE_MALE:baron consort:barons consort]
[SPOUSE_FEMALE:baroness consort:baronesses consort]
[NUMBER:AS_NEEDED]
[LAND_HOLDER:1]
[LAND_NAME:a barony]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[SUCCESSION:BY_HEIR]
[APPOINTED_BY:MONARCH]
[REPLACED_BY:COUNT]
[PRECEDENCE:40]
[SPECIAL_BURIAL]
[MENIAL_WORK_EXEMPTION]
[MENIAL_WORK_EXEMPTION_SPOUSE]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[COLOR:5:0:0]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:2]
[MANDATE_MAX:1]
[REQUIRED_BOXES:2]
[REQUIRED_CABINETS:1]
[REQUIRED_RACKS:1]
[REQUIRED_STANDS:1]
[REQUIRED_OFFICE:500]
[REQUIRED_BEDROOM:500]
[REQUIRED_DINING:500]
[REQUIRED_TOMB:500]
[POSITION:CHAMPION]
[NAME:champion:champions]
[SITE]
[REQUIRES_MARKET]
[NUMBER:1]
[RESPONSIBILITY:BUILD_MORALE]
[APPOINTED_BY:DUKE]
[APPOINTED_BY:COUNT]
[APPOINTED_BY:BARON]
[PRECEDENCE:65]
[MENIAL_WORK_EXEMPTION]
[PUNISHMENT_EXEMPTION]
[DO_NOT_CULL]
[COLOR:7:0:1]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[DEMAND_MAX:1]
[POSITION:HAMMERER]
[NAME:hammerer:hammerers]
[SITE]
[REQUIRES_MARKET]
[NUMBER:1]
[RESPONSIBILITY:EXECUTIONS]
[EXECUTION_SKILL:HAMMER]
[APPOINTED_BY:EXPEDITION_LEADER]
[APPOINTED_BY:MAYOR]
[PRECEDENCE:150]
[DO_NOT_CULL]
[COLOR:0:0:1]
[DUTY_BOUND]
[POSITION:FORCED_ADMINISTRATOR]
[NAME:administrator:administrators]
[CONQUERED_SITE]
[FLASHES]
[BRAG_ON_KILL]
[CHAT_WORTHY]
[DO_NOT_CULL]
[KILL_QUEST]
[EXPORTED_IN_LEGENDS]
[DETERMINES_COIN_DESIGN]
[MENIAL_WORK_EXEMPTION]
[SLEEP_PRETENSION]
[PUNISHMENT_EXEMPTION]
[ACCOUNT_EXEMPT]
[DUTY_BOUND]
[COLOR:5:0:0]
[MANDATE_MAX:2]
[DEMAND_MAX:3]
[PRECEDENCE:65]
[NUMBER:1]
[RESPONSIBILITY:LAW_MAKING]
[RESPONSIBILITY:RECEIVE_DIPLOMATS]
[RESPONSIBILITY:MAKE_TOPIC_AGREEMENTS]
[RESPONSIBILITY:MEET_WORKERS]

[BUILDS_OUTDOOR_FORTIFICATIONS]
[BUILDS_OUTDOOR_TOMBS]
[BANDITRY:10]
[STONE_SHAPE:OVAL_CABOCHON]
[STONE_SHAPE:ROUND_CABOCHON]
[STONE_SHAPE:CUSHION_CABOCHON]
[STONE_SHAPE:RECTANGULAR_CABOCHON]
[GEM_SHAPE:OVAL_CABOCHON]
[GEM_SHAPE:ROUND_CABOCHON]
[GEM_SHAPE:CUSHION_CABOCHON]
[GEM_SHAPE:RECTANGULAR_CABOCHON]
[GEM_SHAPE:POINT_CUT_GEM]
[GEM_SHAPE:TABLE_CUT_GEM]
[GEM_SHAPE:SINGLE_CUT_GEM]
[GEM_SHAPE:ROSE_CUT_GEM]
[GEM_SHAPE:BRIOLETTE_CUT_GEM]
[GENERATE_STRINGED_INSTRUMENTS]
[GENERATE_WIND_INSTRUMENTS]
[GENERATE_PERCUSSION_INSTRUMENTS]
[GENERATE_POETIC_FORMS]
[GENERATE_MUSICAL_FORMS]
[GENERATE_DANCE_FORMS]

Some custom items are referred to, defined in:
Code: [Select]
item_talgor

[OBJECT:ITEM]

[ITEM_FOOD:ITEM_FOOD_PIE]
[NAME:pie]
[LEVEL:2]

[ITEM_FOOD:ITEM_FOOD_SOUP]
[NAME:soup]
[LEVEL:3]

[ITEM_TOY:ITEM_TOY_HRAFI]
[NAME:toy figurine of a hrafi:toy figurines of hrafi]

[ITEM_TOY:ITEM_TOY_HUMAN]
[NAME:toy figurine of a human:toy figurines of humans]

[ITEM_TOY:ITEM_TOY_DWARF]
[NAME:toy figurine of a dwarf:toy figurines of dwarves]

[ITEM_TOY:ITEM_TOY_ELF]
[NAME:toy figurine of an elf:toy figurines of elves]

[ITEM_TOY:ITEM_TOY_GOBLIN]
[NAME:toy figurine of a goblin:toy figurines of goblins]

Some custom patterns are also used, defined in:
Code: [Select]
descriptor_pattern_talgor

[OBJECT:DESCRIPTOR_PATTERN]

[COLOR_PATTERN:STRIPES_TAN_BLACK]
[PATTERN:STRIPES]
[CP_COLOR:TAN]
[CP_COLOR:BLACK]

[COLOR_PATTERN:STRIPES_SAFFRON_BLACK]
[PATTERN:STRIPES]
[CP_COLOR:SAFFRON]
[CP_COLOR:BLACK]

[COLOR_PATTERN:STRIPES_GOLDEN_YELLOW_BLACK]
[PATTERN:STRIPES]
[CP_COLOR:GOLDEN_YELLOW]
[CP_COLOR:BLACK]

[COLOR_PATTERN:STRIPES_CHOCOLATE_BLACK]
[PATTERN:STRIPES]
[CP_COLOR:CHOCOLATE]
[CP_COLOR:BLACK]

[COLOR_PATTERN:STRIPES_MAROON_BLACK]
[PATTERN:STRIPES]
[CP_COLOR:MAROON]
[CP_COLOR:BLACK]

[COLOR_PATTERN:SPOTS_AUBURN_BLACK]
[PATTERN:SPOTS]
[CP_COLOR:AUBURN]
[CP_COLOR:BLACK]

[COLOR_PATTERN:SPOTS_SAFFRON_BLACK]
[PATTERN:SPOTS]
[CP_COLOR:SAFFRON]
[CP_COLOR:BLACK]

Any ideas on what might be causing the crash would be appreciated. :) I'm assuming it's something incredibly obvious that I just haven't spotted...
« Last Edit: January 11, 2016, 06:22:28 pm by Talgor »
Logged
He who despises himself nevertheless esteems himself as a self-despiser.
-- Friedrich Nietzsche

scamtank

  • Bay Watcher
    • View Profile
Re: No-error crash with custom entity
« Reply #1 on: January 10, 2016, 11:21:56 pm »

Well, one thing you're doing that breaks from how Toady does things is mix toys and food items in the same OBJECT:ITEM list. Does it still crash if you split them into their own files?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: No-error crash with custom entity
« Reply #2 on: January 10, 2016, 11:33:24 pm »

Well, one thing you're doing that breaks from how Toady does things is mix toys and food items in the same OBJECT:ITEM list. Does it still crash if you split them into their own files?

shouldn't affect anything

Talgor

  • Bay Watcher
    • View Profile
Re: No-error crash with custom entity
« Reply #3 on: January 11, 2016, 02:45:54 am »

I have also added the new toys to Dwarf and Human entities in the entity_default.txt file and, as I said before, it seems to load those up just fine, so it shouldn't be that.
Logged
He who despises himself nevertheless esteems himself as a self-despiser.
-- Friedrich Nietzsche

Talgor

  • Bay Watcher
    • View Profile
Re: No-error crash with custom entity
« Reply #4 on: January 11, 2016, 07:40:01 am »

Found one more possible reason, I had done my modding to the .03 version by accident, switched over to .04 and it seemed to work, I even posted about it here... before realising I'd forgotten to copy the modded files over.  :-[
« Last Edit: January 11, 2016, 07:44:43 am by Talgor »
Logged
He who despises himself nevertheless esteems himself as a self-despiser.
-- Friedrich Nietzsche

Talgor

  • Bay Watcher
    • View Profile
Re: No-error crash with custom entity (Solved)
« Reply #5 on: January 11, 2016, 06:23:28 pm »

And now I actually found what it was. The [CULL_SYMBOL::] tags referred to SYMs that were no longer in use. I took those out and it no longer crashes, hooray!
Logged
He who despises himself nevertheless esteems himself as a self-despiser.
-- Friedrich Nietzsche