From a5e5532c844b6ebbcffa7a5191d2641882ee170f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 9 May 2019 15:11:44 -0300 Subject: Sagratha's House - Initial version - debug version --- npc/014-5-1/objects.txt | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 npc/014-5-1/objects.txt (limited to 'npc/014-5-1/objects.txt') diff --git a/npc/014-5-1/objects.txt b/npc/014-5-1/objects.txt new file mode 100644 index 000000000..701adc605 --- /dev/null +++ b/npc/014-5-1/objects.txt @@ -0,0 +1,74 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Sagratha household items + +014-5-1,33,38,0 script Pan#Saggy NPC_NO_SPRITE,{ + @qsagratha=@qsagratha|1; + mesn; + mesc l("The pan is empty, but it smells like fresh cookies."); + close; +OnInit: + .distance=5; + disablenpc .name$; + end; +} + + +014-5-1,33,34,0 script Painting#Saggy NPC_NO_SPRITE,{ + @qsagratha=@qsagratha|2; + mesn; + mesc l("Definitely not suspcious at all."); + if (@qsagratha >= 31) { + next; + mesn; + mesc l("Thinking well... There's something behind it! A secret door!"); + } + close; +OnInit: + .distance=5; + disablenpc .name$; + end; +} + + +014-5-1,29,37,0 script Fireplace#Saggy NPC_NO_SPRITE,{ + @qsagratha=@qsagratha|4; + mesn; + mesc l("Some smoke still remains, but the fire seems to have died."); + close; +OnInit: + .distance=5; + disablenpc .name$; + end; +} + + + + +014-5-1,29,39,0 script Book#Saggy NPC_NO_SPRITE,{ + @qsagratha=@qsagratha|8; + mesn; + mesc l("Seems to be a recipe book about apple cookies."); + close; +OnInit: + .distance=5; + disablenpc .name$; + end; +} + + + + +014-5-1,29,41,0 script Bed#Saggy NPC_NO_SPRITE,{ + @qsagratha=@qsagratha|16; + mesn; + mesc l("Smells like mouboos."); + close; +OnInit: + .distance=5; + disablenpc .name$; + end; +} + -- cgit v1.2.3-60-g2f50