spiderdeed


Author: jstmemage
Created: 2014-01-02T11:03:11-0500
Edited: 2014-01-02T11:03:11-0500
Denizen Version: 0.9
Views: 7
Downloads: 813
Likes: 0


WGET
Description: this is a deed for a Spider that can be mounted and is a fairly fun script, still has some kinks to be worked out like ownership of the spider and making it remove itself if you are not near.

spiderdeed:
  type: item
  material: 339
  display name: <red>Deed for Spider
  lore:
  - Right Clicking with with deed
  - will make a Spider Mount appear.
  
spidermount:
  type: world
  events:
    on player right clicks with i@spiderdeed:
    - if "<context.location || null>" == null && '<player.flag[spideractive]>' == 0 ||'<player.flag[spideractive]>' == null {
      - ^flag <player> spideractive:1
      - ^execute as_op "npc create Spider --type spider --trait controllable"
      - ^execute as_op "npc mount"
      } else if "<context.location || null>" == null && '<player.flag[spideractive]>' == 1 {
      - ^flag <player> spideractive:0
      - ^execute as_op "npc sel Spider"
      - ^execute as_op "npc rem"
      }
 




Comments
No one has posted a comment! Post one below: