RyanFialcowitz
Regular

I'm trying to add some new options in the character creation process when you're asked questions about your past. For example:
This code works but if I change the cb3_peddler part to make my own entry, having copy/pasted, it I get a NameError not defined when converting it, even if I change it in both places. Any ideas?
- Ryan Paul Fialcowitz
插入代码块:
("peddler",[],"A goods peddler.",[
(assign,"$background_answer_3",cb3_peddler),
(str_store_string,s14,"@{reg3?daughter:man}"),
(str_store_string,s13,"@{reg3?woman:man}"),
(str_store_string,s12,"@Though the distinction felt sudden to you,\
somewhere along the way you had become a {s13}, and the whole world seemed to change around you.\
Heeding the call of the open road, you travelled from village to village buying and selling what you could.\
It was not a rich existence, but you became a master at haggling even the most miserly elders into\
giving you a good price. Soon, you knew, you would be well-placed to start your own trading empire..."),
(jump_to_menu,"mnu_start_character_4"),
插入代码块:
(else_try),
(eq,"$background_answer_3",cb3_peddler),
(troop_raise_attribute, "trp_player",ca_charisma,1),
(troop_raise_attribute, "trp_player",ca_intelligence,1),
(troop_raise_skill, "trp_player","skl_riding",1),
(troop_raise_skill, "trp_player","skl_trade",1),
(troop_raise_skill, "trp_player","skl_pathfinding",1),
(troop_raise_skill, "trp_player","skl_inventory_management",1),
This code works but if I change the cb3_peddler part to make my own entry, having copy/pasted, it I get a NameError not defined when converting it, even if I change it in both places. Any ideas?
- Ryan Paul Fialcowitz
