I have very little modding experience and everything I've done so far has been with the help of the DF Wiki. So far everything is working perfectly except for one thing. Well, technically 2 things but I think they are related. I'm trying to get this to work in Adventure Mode. Fortress Mode I'm not worrying about at this time.
So heres the situation, I have 2 custom races I have added and I am trying to get their respective shops to function so I can buy/sell/trade with them in adventure mode and not have to rely on just humans for buy/sell/trade. If I change the Dwarves [DEFAULT_SITE_TYPE:CAVE_DETAILED] to [DEFAULT_SITE_TYPE:CITY] they have fully functional shops so I know it should be possible to add a custom race with this function.
The specific problem is both mod races don't start with any furniture, beds, doors, or any wood related items built in their city except the walls the houses are made from. The shopkeepers themselves actually exist and I am able to trade with them, but they don't have anything for sale and their shops are completely empty. Both mod races have the [DEFAULT_SITE_TYPE:CITY] token. Both mod races have the [PERMITTED_JOB:WOODCUTTER], [PERMITTED_JOB:WOODCRAFTER], [PERMITTED_JOB:CARPENTER], [WEAPON:ITEM_WEAPON_AXE_BATTLE] (for cutting down trees), and [USE_MISC_PROCESSED_WOOD_PRODUCTS] tokens. One race is size 7, same size as humans, the other is size 6, same size as dwarves, so size shouldn't be an issue here. Both races will start in areas that have trees, in fact when I go to their towns they are always surrounded by trees. They just won't build tables, chairs, beds, chests or doors. I believe if I can solve the not making/using wooden furniture problem then items should start appearing in their stores.
I've compared the human and dwarf civilizations with the two modded ones and I just cannot see what tokens I am missing to make this work. Both mod races themselves function fine as playable characters in adventure mode. Is there a token I am forgetting? Any help would be appreciated.
Heres the entity_default for one of the mod civilizations. They are nearly identical so if I can fix the issue with one I should be able to fix the other:
[ENTITY:PLACEHOLDERNAME] (I haven't given them a name yet)
[CREATURE:PLACEHOLDERNAME]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CAVE]
[LIKES_SITE:CAVE_DETAILED]
[LIKES_SITE:RUIN]
[LIKES_SITE:TREE_CITY]
[TOLERATES_SITE:CAVE]
[TOLERATES_SITE:CAVE_DETAILED]
[TOLERATES_SITE:RUIN]
[TOLERATES_SITE:TREE_CITY]
[TOLERATES_SITE:DARK_FORTRESS]
[TOLERATES_SITE:CITY]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:ARCHITECT]
[PERMITTED_JOB:BOWYER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ANIMAL_DISSECTOR]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:TRAPPER]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:METALCRAFTER]
[PERMITTED_JOB:BLACKSMITH]
[PERMITTED_JOB:TRADER]
[PERMITTED_JOB:MASON]
[PERMITTED_JOB:ENGRAVER]
[PERMITTED_JOB:WOOD_BURNER]
[START_BIOME:FOREST_TAIGA]
[START_BIOME:ANY_SHRUBLAND]
[START_BIOME:TUNDRA]
[START_BIOME:MOUNTAIN]
[BIOME_SUPPORT:ANY_WETLAND:1]
[BIOME_SUPPORT:ANY_DESERT:1]
[BIOME_SUPPORT:ANY_FOREST:1]
[BIOME_SUPPORT:ANY_OCEAN:1]
[BIOME_SUPPORT:ANY_LAKE:1]
[BIOME_SUPPORT:MOUNTAIN:2]
[BIOME_SUPPORT:ANY_GRASSLAND:1]
[BIOME_SUPPORT:ANY_SAVANNA:1]
[BIOME_SUPPORT:ANY_SHRUBLAND:3]
[BIOME_SUPPORT:ANY_RIVER:1]
[BIOME_SUPPORT:FOREST_TAIGA:3]
[BIOME_SUPPORT:TUNDRA:2]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[USE_ANY_PET_RACE]
[ETHIC:KILL_ENTITY_MEMBER:JUSTIFIED_IF_GOOD_REASON]
[ETHIC:KILL_NEUTRAL:ACCEPTABLE]
[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:ACCEPTABLE]
[ETHIC:TORTURE_ANIMALS:ACCEPTABLE]
[ETHIC:TREASON:PUNISH_SERIOUS]
[ETHIC:OATH_BREAKING:PUNISH_SERIOUS]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:NOT_APPLICABLE]
[ETHIC:TRESPASSING:NOT_APPLICABLE]
[ETHIC:THEFT:PERSONAL_MATTER]
[ETHIC:ASSAULT:PERSONAL_MATTER]
[ETHIC:SLAVERY:PERSONAL_MATTER]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[ART_FACET_MODIFIER:OWN_RACE:512]
[ART_FACET_MODIFIER:FANCIFUL:512]
[MAX_POP_NUMBER:1500]
[MAX_STARTING_CIV_NUMBER:100]
[MAX_SITE_POP_NUMBER:200]
[START_GROUP_NUMBER:10]
[UNDEAD_CANDIDATE]
[CAN_HAVE_MILITARY_LEADER]
[WANDERER]
[BEAST_HUNTER]
[SCOUT]
[ABUSE_BODIES]
[ACTIVE_SEASON:SUMMER]
[ACTIVE_SEASON:SPRING]
[AMBUSHER]
[SIEGER]
[PROGRESS_TRIGGER_POPULATION: 2]
[PROGRESS_TRIGGER_PRODUCTION:1]
[PROGRESS_TRIGGER_TRADE:2]
[AMMO:ITEM_AMMO_ARROWS]
[WEAPON:ITEM_WEAPON_SPEAR]
[WEAPON:ITEM_WEAPON_BOW]
[WEAPON:ITEM_WEAPON_SCIMITAR]
[WEAPON:ITEM_WEAPON_PIKE]
[WEAPON:ITEM_WEAPON_HALBERD]
[WEAPON:ITEM_WEAPON_SWORD_2H]
[WEAPON:ITEM_WEAPON_SWORD_LONG]
[WEAPON:ITEM_WEAPON_AXE_BATTLE]
[WEAPON:ITEM_WEAPON_HAMMER_WAR]
[WEAPON:ITEM_WEAPON_SWORD_SHORT]
[WEAPON:ITEM_WEAPON_MAUL]
[WEAPON:ITEM_WEAPON_AXE_GREAT]
[WEAPON:ITEM_WEAPON_FLAIL]
[WEAPON:ITEM_WEAPON_MORNINGSTAR]
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
[ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[PANTS:ITEM_PANTS_GREAVES:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[SHOES:ITEM_SHOES_BOOTS_LOW:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[USE_ANIMAL_PRODUCTS]
[USE_ANY_PET_RACE]
[USE_CAVE_ANIMALS]
[USE_EVIL_ANIMALS]
[USE_GOOD_ANIMALS]
[WORLD_CONSTRUCTION:TUNNEL]
[IMPROVED_BOWS]
[EQUIPMENT_IMPROVEMENTS]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[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:REMAINING:ROAR]
[SELECT_SYMBOL:REMAINING:MAW]
[SELECT_SYMBOL:REMAINING:TAIL]
[SELECT_SYMBOL:REMAINING:PACK]
[SELECT_SYMBOL:REMAINING:BLAZE]
[SELECT_SYMBOL:REMAINING:GORE]
[SELECT_SYMBOL:REMAINING:SNARL]
[SELECT_SYMBOL:REMAINING:FERAL]
[SELECT_SYMBOL:REMAINING:BRUTE]
[SELECT_SYMBOL:REMAINING:UNTAMED]
[SELECT_SYMBOL:REMAINING:MONGREL]
[SELECT_SYMBOL:REMAINING:CLAW]
[SELECT_SYMBOL:REMAINING:DREMAINING]
[SELECT_SYMBOL:REMAINING:SEDUCE]
[SELECT_SYMBOL:REMAINING:TORMENT]
[SELECT_SYMBOL:REMAINING:CRUEL]
[SELECT_SYMBOL:REMAINING:DEVIANT]
[SELECT_SYMBOL:REMAINING:OBSCENE]
[SELECT_SYMBOL:REMAINING:KILLER]
[SELECT_SYMBOL:REMAINING:RAVAGER]
[SELECT_SYMBOL:REMAINING:REND]
[SELECT_SYMBOL:REMAINING:RIP]
[SELECT_SYMBOL:REMAINING:RUIN]
[SELECT_SYMBOL:REMAINING:SEVER]
[SELECT_SYMBOL:REMAINING:SHRED]
[SELECT_SYMBOL:REMAINING:CRAZE]
[SELECT_SYMBOL:REMAINING:CRUSH]
[SELECT_SYMBOL:REMAINING:BREAK]
[SELECT_SYMBOL:REMAINING:BURN]
[SELECT_SYMBOL:REMAINING:GROWL]
[SELECT_SYMBOL:REMAINING:FIERCE]
[SELECT_SYMBOL:REMAINING:ENTRAILS]
[SELECT_SYMBOL:REMAINING:DEVOURER]
[SELECT_SYMBOL:REMAINING:SAVAGERY]
[SELECT_SYMBOL:REMAINING:GORE NOUN]
[SELECT_SYMBOL:REMAINING:GRISTLE]
[SELECT_SYMBOL:REMAINING:RAPE]
[SELECT_SYMBOL:REMAINING:MANGE]
[SELECT_SYMBOL:REMAINING:LUST]
[SELECT_SYMBOL:REMAINING:FROTH]
[SELECT_SYMBOL:REMAINING:FEVER]
[SELECT_SYMBOL:REMAINING:BITCH]
[SELECT_SYMBOL:REMAINING:MONGREL]
[SELECT_SYMBOL:REMAINING:VICTIM]
[SELECT_SYMBOL:REMAINING:LESSER]
[SELECT_SYMBOL:LEADER:ABSOLUTE]
[SELECT_SYMBOL:REMAINING:CREEPY]
[CULL_SYMBOL:ALL:PEACE]
[CULL_SYMBOL:ALL:DOMESTIC]
[CULL_SYMBOL:ALL:FLOWERY]
[SPHERE_ALIGNMENT:FERTILITY:512]
[SPHERE_ALIGNMENT:LIGHTNING:512]
[SPHERE_ALIGNMENT:OATHS:512]
[RELIGION_SPHERE:TORTURE]
[RELIGION_SPHERE:LOYALTY]
[RELIGION_SPHERE:DEPRAVITY]
[RELIGION_SPHERE:CHAOS]
[RELIGION:ANY_APPROPRIATE_POWER]
[CIV_CONTROLLABLE]
[INDIV_CONTROLLABLE]
[ADVENTURE_TIER:5]
I didn't write this race myself. I just edited it a little for my personal tastes and I in no way take credit for writing the original mod.
EDIT: I'd also like to mention that every time I made any changes I created a new world so these changes would take place.