Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * // enable / disable pillow dropping based on where they are, exclude players
- * // main exit to game hall, all hard coded numbers
- (0:66) When somebody (bumps into/moves through) wall shape 9 with texture 4,
- (1:5) and they successfully moved,
- (1:17) and the triggering furre (moved from/is standing at) floor type 542,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 0
- (0:66) When somebody (bumps into/moves through) wall shape 9 with texture 4,
- (1:5) and they successfully moved,
- (1:2) and they move into floor type 542,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 1
- * // main area to hallways, all hard coded numbers
- (0:66) When somebody (bumps into/moves through) wall shape 8 with texture 1,
- (1:5) and they successfully moved,
- (1:17) and the triggering furre (moved from/is standing at) floor type 543,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 0
- (0:66) When somebody (bumps into/moves through) wall shape 8 with texture 1,
- (1:5) and they successfully moved,
- (1:2) and they move into floor type 543,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 1
- * // access hallways into rooms, excludes the treehouses
- * // treehouse toggling done in treehouse teleporting
- (0:66) When somebody (bumps into/moves through) wall shape 5 with texture 5,
- (1:5) and they successfully moved,
- (1:17) and the triggering furre (moved from/is standing at) floor type 545,
- (0:66) When somebody (bumps into/moves through) wall shape 5 with texture 5,
- (1:5) and they successfully moved,
- (1:17) and the triggering furre (moved from/is standing at) floor type 544,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 0
- (0:66) When somebody (bumps into/moves through) wall shape 5 with texture 5,
- (1:5) and they successfully moved,
- (1:2) and they move into floor type 545,
- (0:66) When somebody (bumps into/moves through) wall shape 5 with texture 5,
- (1:5) and they successfully moved,
- (1:2) and they move into floor type 544,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 1
- * // main game floor into green zones
- (0:66) When somebody (bumps into/moves through) wall shape 9 with texture 4,
- (1:5) and they successfully moved,
- (1:17) and the triggering furre (moved from/is standing at) floor type 32,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 0
- (0:66) When somebody (bumps into/moves through) wall shape 9 with texture 4,
- (1:5) and they successfully moved,
- (1:2) and they move into floor type 32,
- (5:600) memorize that the PhoenixSpeak info {drop} about the triggering furre will now be 1
- * // strange testing required for verifying pillow ownership
- * // condition A: they dropped nothing and picked up something
- * // condition B: they dropped something and picked up something
- * // get drop, check object in paws, if a prize pillow, and their XY does not match, swap back
- (0:15) When a furre uses the get/drop command,
- (1:90) and the triggering furre's entry code is 0,
- * // what did they get and drop?
- (5:317) set variable %objectpaw to the number of the object in the triggering furre's paws.
- * // need the foot item for place back if needed
- (5:350) set variable %footcheck to the X,Y position the triggering furre (moved from/is standing at).
- (5:381) set variable %objectfoot to the object type at (%footcheck).
- * // hack to override below to prevent picking up benches, ...
- (0:78) When someone tries to drop an object but fails,
- (5:300) set variable %dropfail to the value 1
- * // now verify ownership
- (0:15) When a furre uses the get/drop command,
- (1:200) and variable %dropfail is equal to 0
- (1:90) and the triggering furre's entry code is 0,
- * // ensure that it's not a book either
- (1:206) and variable %pillowobject is not equal to #bookobject,
- (1:201) and variable %objectpaw is more than #pillowlow,
- (1:601) and the PhoenixSpeak info {pillowx} about the triggering furre is not equal to %footcheck.x
- (0:15) When a furre uses the get/drop command,
- (1:200) and variable %dropfail is equal to 0
- (1:90) and the triggering furre's entry code is 0,
- * // ensure that it's not a book either
- (1:206) and variable %pillowobject is not equal to #bookobject,
- (1:201) and variable %objectpaw is more than #pillowlow,
- (1:601) and the PhoenixSpeak info {pillowy} about the triggering furre is not equal to %footcheck.y
- * // s'not their pillow, swap stuffz
- (5:8) play sound 21 to the triggering furre.
- (5:41) place object type %objectpaw at (%footcheck).
- (5:76) place object type %objectfoot in the triggering furre's paws.
- * // it is their pillow, clear their XY
- (0:15) When a furre uses the get/drop command,
- (1:200) and variable %dropfail is equal to 0
- (1:90) and the triggering furre's entry code is 0,
- (1:201) and variable %objectpaw is more than #pillowlow,
- (1:600) and the PhoenixSpeak info {pillowx} about the triggering furre is equal to %footcheck.x
- (1:600) and the PhoenixSpeak info {pillowy} about the triggering furre is equal to %footcheck.y
- (5:600) memorize that the PhoenixSpeak info {pillowx} about the triggering furre will now be 0
- (5:600) memorize that the PhoenixSpeak info {pillowy} about the triggering furre will now be 0
- * // checking for drop zone needs to be after ownership checking
- * // put the pillow back into their hands if not in a drop zone
- (0:17) When somebody picks up object type #nothing,
- (1:200) and variable %dropfail is equal to 0
- (1:118) and the triggering furre (didn't move from/isn't standing at) object type #nothing,
- (1:90) and the triggering furre's entry code is 0,
- (1:600) and the PhoenixSpeak info {drop} about the triggering furre is equal to 0,
- (5:350) set variable %pillowposition to the X,Y position the triggering furre (moved from/is standing at).
- (5:381) set variable %pillowobject to the object type at (%pillowposition).
- (5:76) place object type %pillowobject in the triggering furre's paws.
- (5:41) place object type #nothing at (%pillowposition).
- (5:8) play sound 21 to the triggering furre.
- * // dropping a pillow, memorize the location for comparision against non-owners
- (0:17) When somebody picks up object type #nothing,
- (1:200) and variable %dropfail is equal to 0
- (1:118) and the triggering furre (didn't move from/isn't standing at) object type #nothing,
- (1:90) and the triggering furre's entry code is 0,
- (1:600) and the PhoenixSpeak info {drop} about the triggering furre is equal to 1,
- (5:350) set variable %pillowposition to the X,Y position the triggering furre (moved from/is standing at).
- (5:381) set variable %pillowobject to the object type at (%pillowposition).
- * // check that it's not one of the free pillows
- (0:17) When somebody picks up object type #nothing,
- (1:200) and variable %dropfail is equal to 0
- (1:118) and the triggering furre (didn't move from/isn't standing at) object type #nothing,
- (1:90) and the triggering furre's entry code is 0,
- * // ensure that it's not a book either
- (1:206) and variable %pillowobject is not equal to #bookobject,
- (1:201) and variable %pillowobject is more than #pillowlow,
- (1:600) and the PhoenixSpeak info {drop} about the triggering furre is equal to 1,
- (5:600) memorize that the PhoenixSpeak info {pillow} about the triggering furre will now be %pillowobject
- (5:600) memorize that the PhoenixSpeak info {pillowx} about the triggering furre will now be %pillowposition.x
- (5:600) memorize that the PhoenixSpeak info {pillowy} about the triggering furre will now be %pillowposition.y
- * // leaving the dream, get the pillow location
- (0:10) When a furre leaves the dream,
- (1:602) and the PhoenixSpeak info {pillow} about the triggering furre is more than 0,
- * // get/drop pillow locator, see if they own a pillow
- (0:15) When a furre uses the get/drop command,
- (1:90) and the triggering furre's entry code is 0,
- (1:18) and the triggering furre (moved from/is standing at) object type #nothing,
- (1:602) and the PhoenixSpeak info {pillow} about the triggering furre is more than 0,
- (5:610) remember the PhoenixSpeak info {pillow} about the triggering furre, and put it in variable %pillowobject
- (5:610) remember the PhoenixSpeak info {pillowx} about the triggering furre, and put it in variable %pillowposition.x
- (5:610) remember the PhoenixSpeak info {pillowy} about the triggering furre, and put it in variable %pillowposition.y
- * // zapping the pillow when they leave the dream, see if can zap from paws
- (0:10) When a furre leaves the dream,
- (1:602) and the PhoenixSpeak info {pillow} about the triggering furre is more than 0,
- (5:76) place object type #nothing in the triggering furre's paws.
- (3:2) at position (%pillowposition) on the map,
- (5:5) change object type %pillowobject to type #nothing
- (5:600) memorize that the PhoenixSpeak info {pillowx} about the triggering furre will now be 0
- (5:600) memorize that the PhoenixSpeak info {pillowy} about the triggering furre will now be 0
- * // next up, get / drop pillow retrieval, they need to be holding nothing as well
- (0:15) When a furre uses the get/drop command,
- (1:200) and variable %dropfail is equal to 0
- (1:90) and the triggering furre's entry code is 0,
- (1:18) and the triggering furre (moved from/is standing at) object type #nothing,
- (1:1002) and the triggering furre is holding item #nothing in their paws,
- (1:602) and the PhoenixSpeak info {pillow} about the triggering furre is more than 0,
- * // valid owner of a pillow
- (5:76) place object type %pillowobject in the triggering furre's paws.
- (5:600) memorize that the PhoenixSpeak info {pillowx} about the triggering furre will now be 0
- (5:600) memorize that the PhoenixSpeak info {pillowy} about the triggering furre will now be 0
- (3:2) at position (%pillowposition) on the map,
- (5:5) change object type %pillowobject to type #nothing
- * // hack to reset the fail to prevent picking up benches, ...
- (0:78) When someone tries to drop an object but fails,
- (5:300) set variable %dropfail to the value 0
Advertisement
Add Comment
Please, Sign In to add comment