NPCs for Donors
Author: Jeebiss
Created: 2012-09-17T19:55:53-0400
Edited: 2013-09-21T16:09:14-0400
Denizen Version: 0.76
Views: 199
Downloads: 915
Likes: 3
Description: ////////
WARNING! This script is outdated. Using this script may require modifications for recent versions of Denizen.
If you are the script owner, simply update your script and remove this warning. This script has also been marked private as to avoid the front page.
////////
I handle my NPCs in an interesting manner on my server. I dont want my players to be able to use /npc create, so I have denizens give them their NPCs. This is the script that my first teir donators run to get their NPC.
Donate1:
Type: Interact
Requirements:
Mode: All
List:
- GROUP Donate1
- -FINISHED Donate1
Steps:
1:
Click Trigger:
Script:
- CHAT "Ah, you're here for your CitiTrader NPC?."
- HINT SHORT
Chat Trigger:
'1':
Trigger: /Yes/, I am!
Script:
- CHAT "Okay then, let me call one out for you."
- EXECUTE ASNPC "npc create '<PLAYER>s Trader'"
- EXECUTE ASNPC "npc lookclose"
- EXECUTE ASNPC "trait wallet"
- EXECUTE ASNPC "trait stockroom"
#moves npc next to Denizen
- EXECUTE ASNPC "npc moveto --x -252 --y 183 --z 336"
- EXECUTE ASNPC "npc owner <PLAYER>"
- EXECUTE ASSERVER "citizens save"
- CHAT "Alright, you should be all set. Hes yours now!"
- CHAT "Use <RED>/npc list --owner<WHITE> to find his ID number;"
- CHAT "Then use <RED>/npc sel (ID#) <WHITE>to selcet him;"
- CHAT "Lasty, use <RED>/npc move <WHITE>to move him to a new location!"
- FINISH
'2':
Trigger: /No/, actually im not sorry.
Script:
- CHAT "No worries, see you again."