I'm currently working on a mod (for my own amusement, mostly). I've done a few mods already and never had too much trouble, however this time every time I try to create a new world I wind up with a crash. The error log is singularly unhelpful, only posting:
"Unrecognized Item Definition (Weapon) Token: ITEM_WEAPON_BAN_HAMMER - WEAPON"
Now, I've done weapon mods before (and creature mods, and entity mods, etc), and I can't understand what's causing this to fail. I've even tried moving the banhammer's entry into the standard weapon folder to no effect.
For reference, the banhammer's entry:
[ITEM_WEAPON:ITEM_WEAPON_BAN_HAMMER]
[NAME:banhammer:banhammers]
[DAMAGE:160:BLUDGEON]
[WEIGHT:90]
[SKILL:HAMMER]
[TWO_HANDED:4]
[MINIMUM_SIZE:8]
[MATERIAL_SIZE:5]
Which is being called by:
entity_goon
[OBJECT:ENTITY]
[ENTITY:GOON]
[CIV_CONTROLLABLE]
[INDIV_CONTROLLABLE]
[CREATURE:GOON]
[trANSLATION:DWARF]
[DIGGER:ITEM_WEAPON_MATTOCK]
[WEAPON:ITEM_WEAPON_BARDICHE]
[WEAPON:ITEM_WEAPON_BAN_HAMMER]
[WEAPON:ITEM_WEAPON_KATANA]
[WEAPON:ITEM_WEAPON_BOAR_SPEAR]
[WEAPON:ITEM_WEAPON_NAILBAT]
[WEAPON:ITEM_WEAPON_ARBALEST]
[AMMO:ITEM_AMMO_GBOLT]
[ARMOR:ITEM_ARMOR_BREASTPLATE:COMMON]
[ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[ARMOR:ITEM_ARMOR_SHIRT:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]
[SHOES:ITEM_SHOES_SHOES:COMMON]
[SHOES:ITEM_SHOES_BOOTS:COMMON]
[PANTS:ITEM_PANTS_GREAVES:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS:COMMON]
[PANTS:ITEM_PANTS_LOINCLOTH]
[SHIELD:ITEM_SHIELD_PARASOL]
[SHIELD:ITEM_SHIELD_BUCKLER]
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
[trAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]
[trAPCOMP:ITEM_TRAPCOMP_ENORMOUSCORKSCREW]
[trAPCOMP:ITEM_TRAPCOMP_SPIKEDBALL]
[trAPCOMP:ITEM_TRAPCOMP_LARGESERRATEDDISC]
[trAPCOMP:ITEM_TRAPCOMP_MENACINGSPIKE]
[trAPCOMP:ITEM_TRAPCOMP_RICKROLL]
[TOY:ITEM_CTHULHU]
[TOY:ITEM_BRASS_KNUCKLES]
[TOY:ITEM_TOY_PLANE]
[TOY:ITEM_BABY_STILL]
[TOY:ITEM_GGW_DVD]
[INSTRUMENT:ITEM_INSTRUMENT_PIPE_ORGAN]
[INSTRUMENT:ITEM_INSTRUMENT_TUBA]
[INSTRUMENT:ITEM_INSTRUMENT_KEYTAR]
[INSTRUMENT:ITEM_INSTRUMENT_BAGPIPES]
[INSTRUMENT:ITEM_INSTRUMENT_EGUITAR]
[INSTRUMENT:ITEM_INSTRUMENT_GPIANO]
[INSTRUMENT:ITEM_INSTRUMENT_CALLIOPE]
[CLOTHING]
[SUBTERRANEAN_CLOTHING]
[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:REMAINING:VIOLENT]
[SELECT_SYMBOL:REMAINING:NEGATIVE]
[CULL_SYMBOL:ALL:DOMESTIC]
[CULL_SYMBOL:ALL:GOOD]
[CULL_SYMBOL:ALL:ROMANTIC]
[CULL_SYMBOL:ALL:FLOWERY]
[METAL_PREF]
[GEM_PREF]
[STONE_PREF]
[INDOOR_FARMING]
[USE_ANIMAL_PRODUCTS]
[COMMON_DOMESTIC_PACK]
[COMMON_DOMESTIC_PULL]
[COMMON_DOMESTIC_PET]
[COMMON_DOMESTIC_MOUNT]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[ART_IMAGE_ELEMENT_MODIFIER:PLANT:32]
[ART_IMAGE_ELEMENT_MODIFIER:TREE:32]
[ART_IMAGE_ELEMENT_MODIFIER:SHAPE:32]
[ART_IMAGE_ELEMENT_MODIFIER:CREATURE:1024]
[ART_IMAGE_ELEMENT_MODIFIER:ITEM:1024]
[ITEM_IMPROVEMENT_MODIFIER:ART_IMAGE:384]
[ITEM_IMPROVEMENT_MODIFIER:COVERED:64]
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:512]
[ITEM_IMPROVEMENT_MODIFIER:THREAD:32]
[ITEM_IMPROVEMENT_MODIFIER:CLOTH:128]
[ADVENTURE_TIER:4]
[FRIENDLY_COLOR:6:0:0]
[DEFAULT_SITE_TYPE:CAVE_DETAILED]
[liKES_SITE:CAVE_DETAILED]
[liKES_SITE:DARK_FORTRESS]
[TOLERATES_SITE:CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[LEADER_TYPE:KING]
[SITE_LEADER_TYPE:STANDARD]
[START_BIOME:MOUNTAIN]
[BIOME_SUPPORT:ANY_LAND:1]
[BIOME_SUPPORT:MOUNTAIN:2]
[BIOME_SUPPORT:ANY_LAKE:1]
[BIOME_SUPPORT:ANY_RIVER:1]
[DIPLOMAT]
[DIPLOMAT_BODYGUARDS]
[MERCHANT_BODYGUARDS]
[ACTIVE_SEASON:AUTUMN]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:100]
[START_GROUP_NUMBER:10]
[MAX_POP_NUMBER:10000]
[MAX_SITE_POP_NUMBER:120]
[RELIGION:PANTHEON]
[RELIGION_SPHERE:CHAOS]
[RELIGION_SPHERE:DEPRAVITY]
[RELIGION_SPHERE:FAME]
[RELIGION_SPHERE:FREEDOM]
[RELIGION_SPHERE:REVELRY]
[RELIGION_SPHERE:WEALTH]
[MAYOR]
[WANDERER]
[SCOUT]
[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:STRAND_EXTRACTOR]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[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]
[WORLD_CONSTRUCTION:TUNNEL]
[WORLD_CONSTRUCTION:BRIDGE]
[WORLD_CONSTRUCTION:ROAD]
[WORLD_CONSTRUCTION:WALL]
[ETHIC:KILL_ENTITY_MEMBER:JUSTIFIED_IF_SELF_DEFENSE]
[ETHIC:KILL_NEUTRAL:JUSTIFIED_IF_GOOD_REASON]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ONLY_IF_SANCTIONED]
[ETHIC:TORTURE_FOR_INFORMATION:ONLY_IF_SANCTIONED]
[ETHIC:TORTURE_FOR_FUN:UNTHINKABLE]
[ETHIC:TORTURE_ANIMALS:UNTHINKABLE]
[ETHIC:TREASON:PUNISH_REPRIMAND]
[ETHIC:OATH_BREAKING:JUSTIFIED_IF_NO_REPERCUSSIONS]
[ETHIC:LYING:ACCEPTABLE]
[ETHIC:VANDALISM:JUSTIFIED_IF_NO_REPERCUSSIONS]
[ETHIC:TRESPASSING:JUSTIFIED_IF_NO_REPERCUSSIONS]
[ETHIC:THEFT:MISGUIDED]
[ETHIC:ASSAULT:JUSTIFIED_IF_SELF_DEFENSE]
[ETHIC:SLAVERY:PUNISH_REPRIMAND]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ONLY_IF_SANCTIONED]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[WILL_ACCEPT_TRIBUTE]
For additional reference (in case I've done something in the creature itself that's causing the entity entry to break), the creature type is:
creature_goon
[OBJECT:CREATURE]
[CREATURE:GOON]
[NAME:goon:goons:goonish]
[TILE:1][COLOR:6:0:0]
[SPEED:950][GRASSTRAMPLE:20]
[GENPOWER:3]
[INTELLIGENT]
[trANCES]
[CANOPENDOORS]
[NOPAIN][NOFEAR]
[liKES_FIGHTING]
[PREFSTRING:rage]
[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:5FINGERS:5TOES:MOUTH]
[MAXAGE:150:170]
[ATTACK:MAIN:BYTYPE:GRASP:punch:punches:1:2:BLUDGEON][ATTACKFLAG_WITH]
[ATTACK:SECOND:BYTYPE:MOUTH:bite:bites:1:1:GORE][ATTACKFLAG_CANLATCH]
[CHILD:1][BABY:1][MULTIPLE_LITTER_RARE]
[CHILDNAME:lurker:lurkers]
[FAT:3]
[SIZE:8]
[DAMBLOCK:2]
[EQUIPS]
[CAVE_ADAPT]
[ALL_ACTIVE]
[CRAFTSMAN_NAME:craftsgoon:craftsgoons]
[FISHERMAN_NAME:fishbait:fishbaits]
[HAMMERMAN_NAME:moderator:moderators]
[SPEARMAN_NAME:irritator:irritators]
[CROSSBOWMAN_NAME:arbalist:arbalists]
[AXEMAN_NAME:executioner:executioners]
[SWORDSMAN_NAME:white knighter:white knighters]
[MACEMAN_NAME:nailbatterer:nailbatterers]
[SPEECH:dwarf.txt]
[STANDARD_FLESH]
[HOMEOTHERM:10067]
[LAYERING:20]
[ALCOHOL_DEPENDENT]
[SWIMS_LEARNED][SWIM_SPEED:2500]
[PERSONALITY:ANGER:61:85:100]
[PERSONALITY:LIBERALISM:61:95:100]
[PERSONALITY:SYMPATHY:0:10:25]
I've also pulled anything else that might be a factor (my custom dinosaurs and megabeasts, mostly). I just can't understand what's causing this to fail so badly and so consistantly. Every time, same error, and nothing obvious that would be causing it.