Commit 21b0891a authored by Atsukio's avatar Atsukio 🐬

PotatoNpc - Changed targeting to look, added skin command,

added text command to chat on selecting NPC
parent 772ed66e
......@@ -29,7 +29,7 @@ command npc <text> [<text>]:
make citizen {rpg_player::%player%::selected_npc} vulnerable
message "{@Prefix} NPC is now vulnerable"
stop
else if arg-1 is "targeting":
else if arg-1 is "look":
make citizen {rpg_player::%player%::selected_npc} look at player's location
stop
else if arg-1 is "health":
......@@ -55,6 +55,10 @@ command npc <text> [<text>]:
# set citizen {rpg_player::%player%::selected_npc} to protect {_player}
# stop
else if arg-1 is "skin":
if arg-2 is not set:
message "{@Prefix} Player name for skin must be set as the 2nd argument"
stop
change citizen {rpg_player::%player%::selected_npc} skin to arg-2
stop
else if arg-1 is "sleep":
message "%time in world%"
......@@ -176,6 +180,8 @@ on npc right click:
if player has permission "pr.npc":
message "{@Prefix} Currently selecting <green>%citizen event-number%"
message "{@Prefix} Unselect by sneaking"
message "<magenta><tooltip:Equips player held armor to the NPC><cmd:/npc equip>[Equip]<r> <magenta><tooltip:Makes NPC hold player held item><cmd:/npc hold>[Hold]<r> <magenta><tooltip:Makes NPC invulnerable><cmd:/npc invulnerable>[Invulnerable]<r> <magenta><tooltip:Makes NPC vulnerable><cmd:/npc vulnerable>[Vulnerable]<r>"
message "<magenta><tooltip:Makes NPC look at you><cmd:/npc look>[Look]<r> <magenta><tooltip:Toggles NPC between crouch and standing><cmd:/npc crouch>[Toggle Crouch]<r> <magenta><tooltip:Makes NPC Swing><cmd:/npc swing>[Swing]<r> <magenta><tooltip:Makes NPC walk to your location><cmd:/npc move>[Move]<r> <magenta><tooltip:Sets NPC Home location><cmd:/npc home>[Home]<r>"
set {rpg_player::%player%::selected_npc} to event-number
set {_rng} to a random integer between 1 and 100
if citizen event-number is "Atsukio":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment