Tutorial_Actions 5 1 Entrance This scenario shows you an example of how to use objects to predict an available quantity of the object in advance, as well as a description that varies according to the remaining description. ([[PREFIX]]move 2 to see this example)+n+&& It also shows 2 examples of custom actions uses. ([[PREFIX]]move 4 or 5 to see one of the examples).+n+&& Returning here reinitialises the variables and actions in examples 4 and 5.+n+&& Oh there's also a bell, it doesn't do anything but it shows that you can assign a reaction to a custom action ;) open_door|variable|=0|null|Checks if the door is open or closed|combination|variable_t|nothing|null|Object being combined 2 4 5 ******************** 2 light You are now at the front door, but the building looks deserted.+n+This is the only room with a light, but you have a lamp on the table.([[PREFIX]]look table and [[PREFIX]]take lamp are your fnothingds)+n+&& You can try going into the living room (3). You can also go back to the beginning (1) lamp|table|A table is a piece of furniture with 4 legs : Oh there are two lamps on it!|You collect the torch lamp|The lamp allows you to light up.|lamp|table|A table is a piece of furniture with 4 legs : Oh there's a lamp on it !|You collect the torch lamp|The lamp allows you to light up.|lack_of_lamps|table|There is nothing left on it !|How did you find this hidden object ? Pirate !|I doubt very much that a player will read this ! | 1 3|lamp|it is too dark to enter without a lamp!|You enter the living room lighting up with your lamp ******************* 3 Living room null -lamp|invisible|useless note|The lamp slips out of your hand and breaks : You can go back and get one (2) or go back to the beginning (1)|The lamp allows you to light up. 1 2 ******************* 4 door In this room, there is a key on the floor ([[PREFIX]]take key), and a door leading to the reception of this scenario (1). This door opens with the personalised action "open" ([[PREFIX]]open door) in order to return to the beginning of the scenario ([[PREFIX]]go to 1).+n+&& Of course, it is interesting to try to get out or open the door without the key ;) Or to try to open the door several times! key|floor|The floor is dusty|you collect the key|Key open the door ! open:door|key v_open_door_v.=.0|open_door.=.1|You open the door|I told you it was locked! open:door|v_open_door_v.=.1|null|The door is already open ...|I told you it was locked !!! 1|v_open_door_v.=.1|The door is locked ... with key !!!|You go out the door ******************* 5 office Here is a rubber band and some wood. You can collect them ([[PREFIX]]take wood or rubber)) and combine them.+n+&& For this, use [[PREFIX]]combine wood then [[PREFIX]]combine rubber. Or reverse !+n+&& Once the objects collected, please note that the combine can be used in the other rooms, if you want to test ;)+n+&& You can then go back to the beginning to test another example (1) wood|office|A classic desk|you collect the piece of wood|a piece of wood|rubber|drawer|it's a drawer ...|you collect a rubber|a strong rubber ! 1 ****************** combine:wood|wood t_combination_t.=.rubber|-wood&&inventory&&A triangular piece of wood@@-rubber&&inventory&&A hardy rubber@@stone-thrower&&inventory&&A stone-thrower|You combine the piece of wood and the rubber to make a stone-thrower.|null combine:rubber|rubber t_combination_t.=.wood|-wood&&inventory&&A triangular piece of wood@@-rubber&&inventory&&A hardy rubber@@stone-thrower&&inventory&&A stone-thrower|You combine the piece of wood and the rubber to make a stone-thrower.|null combine:wood|wood t_combination_t.=.nothing|combination&&variable_t&&wood&&Object being combined|You are preparing to combine the piece of wood with something.|null combine:rubber|rubber t_combination_t.=.nothing|combination&&variable_t&&rubber&&Object being combined|You are preparing to combine the rubber with something.|null combine:wood|wood t_combination_t.!=.nothing t_combination_t.!=.rubber|combination&&variable_t&¬hing&&Object being combined|These two objects do not belong together, come on !|null combine:rubber|rubber t_combination_t.!=.nothing t_combination_t.!=.wood|combination&&variable_t&¬hing&&Object being combined|These two objects do not belong together, come on!|null combine:wood|-wood|null|You are missing the wood ...|You are missing the wood ... combine:rubber|-rubber|null|You are missing the rubber ...|You are missing the rubber ... combine:all|null|combination&&variable_t&¬hing&&Object being combined|You can't combine t_action_target_ok_t ...|null ring:bell|§🎵|null|Ding Dong !|Impossible to get this messenger normally :)