daily pastebin goal
7%
SHARE
TWEET

ADRIFT variable oddity

a guest Apr 11th, 2013 88 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #
  2. # ADRIFT Module
  3. # Exported 11-Apr-2013
  4. #
  5.  
  6. # Author: Anonymous
  7.  
  8. Version 4.00 Release 52
  9.  
  10. DEFINE Room "Room1"
  11.    SHORTDESC = "Western Room"
  12.    LONGDESC = "There's an exit to the east."
  13.    EAST = "Room2"
  14. END Room
  15.  
  16. DEFINE Room "Room2"
  17.    SHORTDESC = "Eastern Room"
  18.    LONGDESC = "There's an exit to the west."
  19.    WEST = "Room1"
  20. END Room
  21.  
  22. DEFINE Task "Task1"
  23.    COMMAND "reset"
  24.    WHERE = All Rooms
  25.    MESSAGE = "You reset the counter to %counter%."
  26.    ACTION Change Variable "Var1" to 0
  27.    REPEATABLE = True
  28. END Task
  29.  
  30. DEFINE Task "Task2"
  31.    COMMAND "# Only in west"
  32.    WHERE = "Room1"
  33.    REPEATABLE = True
  34. END Task
  35.  
  36. DEFINE Task "Task3"
  37.    COMMAND "# increase variable"
  38.    WHERE = All Rooms
  39.    ACTION Change Variable "Var1" by 1
  40.    REPEATABLE = True
  41. END Task
  42.  
  43. DEFINE Task "Task4"
  44.    COMMAND "advance"
  45.    WHERE = All Rooms
  46.    MESSAGE = "You advance the counter to %counter%."
  47.    ACTION Execute Task "Task2"
  48.    ACTION Execute Task "Task3"
  49.    REPEATABLE = True
  50. END Task
  51.  
  52. DEFINE Variable "Var1"
  53.    NAME = "counter"
  54.    TYPE = Integer
  55.    VALUE = 0
  56. END Variable
  57.  
  58. DEFINE Introduction
  59.    MESSAGE = ""
  60.    STARTROOM = "Room1"
  61. END Introduction
  62.  
  63. DEFINE Winning
  64.    MESSAGE = ""
  65. END Winning
  66.  
  67. DEFINE Player
  68.    NAME = ""
  69.    GENDER = Male
  70.    DESCRIPTION = ""
  71.    INITIALPOSITION = Standing
  72.    MAXBULK = 10 Normal Objects
  73.    MAXWEIGHT = 10 Normal Objects
  74. END Player
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top