It turns out to be just about the same as with enabling crisis events in terms of there being an Action with a name, requirement and a label it calls, but I have to manually add it to the list of actions available for the room the way it is set up in the script.
Take for example a look at the Human Resources / Office room
The actions inside of [] seems to be an unnamed list so cannot append to it, if that had not been the case one could enable room upgrades without touching the main script at all unless there is something I am unaware of.
Having figured out what is required I'll add a "Purchase Upgrades" action to the office and then from there have a menu where you can buy things which will satisfy the requirement for the action to show and then manually add the action to any applicable room.
After having this we can get creative, have the action trigger a label that for example add new objects to the room. Purchase a couch, change modifiers in the room etc. Increase marketability, efficiency and so on.
Going to try making a small example that showcases what can be done with it (essentially everything that can be done with a crisis), so something like:
Take for example a look at the Human Resources / Office room
Code:
office = Room("main office","Main Office",[],office_background,[],[],[policy_purhase_action,hr_work_action,supplies_work_action,interview_action,sell_serum_action,pick_supply_goal_action,set_uniform_action,set_serum_action],False,[0.85,0.82], tutorial_label = "office_tutorial_intro")
Having figured out what is required I'll add a "Purchase Upgrades" action to the office and then from there have a menu where you can buy things which will satisfy the requirement for the action to show and then manually add the action to any applicable room.
After having this we can get creative, have the action trigger a label that for example add new objects to the room. Purchase a couch, change modifiers in the room etc. Increase marketability, efficiency and so on.
Going to try making a small example that showcases what can be done with it (essentially everything that can be done with a crisis), so something like:
You don't have permission to view the spoiler content.
Log in or register now.