Code Snippets

Here are some handy code snippets for you to use in your dream!



[All code is in blue. =3]


Makeitem code:
(0:32) When a furre says something with {~item} in it,
            (5:314) set variable %item to the number the triggering furre just said.
      (3:5) where the triggering furre (moved from/is standing at),
            (5:4) place object type %item.

Makefloor Code:
(0:32) When a furre says something with {~floor} in it,
            (5:314) set variable %floor to the number the triggering furre just said.
      (3:5) where the triggering furre (moved from/is standing at),
            (5:1) set the floor to type %floor.

The not-so-simple, Makewall code:
(0:32) When a furre says something with {~mkwall} in it,    
     (1:11) and the triggering furre is the dream owner,
              (5:314) set variable %d to the number the triggering furre just said.
              (5:308)divide variable %d by 12 and put the remainder in variable %s.           
              (5:302) take variable %d and add 1 to it.
(0:32) When a furre says something with {~mkwall} in it,  
     (1:11) and the triggering furre is the dream owner,
     (1:13) and the triggering furre is facing northeast (up and right),
        (3:11) 0 step(s) in front of the triggering furre,
              (5:44) place wall shape %s with texture %d
(0:32) When a furre says something with {~mkwall} in it,
     (1:11) and the triggering furre is the dream owner,
     (1:16) and the triggering furre is facing northwest (up and left),
        (3:11) 0 step(s) in front of the triggering furre,
              (5:44) place wall shape %s with texture %d
(0:32) When a furre says something with {~mkwall} in it,  
     (1:11) and the triggering furre is the dream owner,
     (1:14) and the triggering furre is facing southeast (down and right),
        (3:10) in the space right in front of the triggering furre,    
              (5:44) place wall shape %s with texture %d  
  (0:32) When a furre says something with {~mkwall} in it,
     (1:11) and the triggering furre is thedream owner,
     (1:15) and the triggering furre is facing southwest (downand left),
        (3:10) in the space right in front of the triggering furre,    
              (5:44) place wall shape %s with texture %d