From 5ee9d4a5523a792de751ec547a6f8d11740770e7 Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 7 Jan 2016 13:48:00 -0500 Subject: add disguise function to gm debug --- world/map/npc/items/pickled_beets.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 world/map/npc/items/pickled_beets.txt (limited to 'world/map/npc/items') diff --git a/world/map/npc/items/pickled_beets.txt b/world/map/npc/items/pickled_beets.txt new file mode 100644 index 00000000..4aaa1f1c --- /dev/null +++ b/world/map/npc/items/pickled_beets.txt @@ -0,0 +1,10 @@ +function|script|usePickledBeets +{ + heal 50, 0, 1; + if (Class == 1) + setlook LOOK_HAIR_COLOR, HC_PURPLE; + elif (Class == 2) + setlook LOOK_HAIR_COLOR, 18; + // add more here for races that have purple + return; +} -- cgit v1.2.3-70-g09d2