Hi everyone. How are you? You can call me Taco, and this topic is for helping me please create and finish my WIP by helping me to troubleshoot and fix problems that I have attempted to fix myself and have failed to do so.
I am having some problems creating my game Explorus using Inform 7. The first couple problems I am having is creating some room properties to give XP to players or to remove some health from players (the Warpzone) and telaport players.
A room can be prized or notprized. A room is usually notprized. Castle is a prized room. Check entering a prized room: increase the XP of the player by 70; say "[bold type]+70 Experience[roman type]"; now the room is notprized.
Creating the Warpzone: Part 1
"Warpzone" by Tyler Campbell. use no scoring. Earth Prime is a room. "[first time][bold type][line break]Hint[line break][line break][italic type]Go South to get started[roman type][only]". Dimensional Jumper is south of Earth Prime. Earth 2 is north of Dimensional Jumper. Earth 3 is south of Dimensional Jumper. Earth 4 is east of Dimensional Jumper. Earth 5 is west of Dimensional Jumper. A room can be zoned or unzoned. A room is usually unzoned. Check entering a room: [if room is zoned] now the printed name of the location is "Warpzone"; now the description of the location is "A swirling mass of time and energy.";[end if]. Earth 4 is zoned.
This seems to work-except for some reason Inform acts like Earth 4 is unzoned. I’m not sure why this is.
What other steps are needed to create the Warpzone?
- Make the Warpzone slowly spread after a certain event is triggered (i.e. the final boss fight)
- Players who find themselves in the Warpzone (or choose to foolishly walk in) have a chance of getting telaported
- Players who are in the Warpzone get damaged. Each turn they are in the Warpzone will diminish thier health by a specific amount.
I will post all the problems that I am unable to solve by myself here on this topic, so if you are interested in helping me troubleshoot, be sure to keep an eye on here. And thank you so much, even if all you do is read this and never post anything.