CODE |
<?xml version="1.0" standalone="yes"?> <XmlQuestNPC> <NPC> <Name>Dude the Great</Name> <Running>True</Running> <ProximityRange>3</ProximityRange> <TriggerOnCarried>dagger/hue/1102/name/blackie</TriggerOnCarried> <AllowGhost>False</AllowGhost> <SpeechPace>10</SpeechPace> <ResetTime>0.5</ResetTime> <ConfigFile>TRINT2</ConfigFile> <SpeechEntries>3</SpeechEntries> </NPC> <SpeechEntry> <EntryNumber>0</EntryNumber> <ID>0</ID> <Text>Hey. What's that?</Text> <DependsOn>-1</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>10</EntryNumber> <ID>10</ID> <Text>Can I see it?</Text> <Keywords>poop,knife</Keywords> <DependsOn>0</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>20</EntryNumber> <ID>20</ID> <Text>Thanks!</Text> <Keywords>sure,yes</Keywords> <Action>TAKE/<dagger/hue/1102></Action> <DependsOn>10</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> </XmlQuestNPC> |
CODE |
TAKE,1,1,true,spoon/Illegible Message |
CODE |
~GETONTAKEN,hue=1102 |
CODE |
GETONTAKEN,hue=1102 |
CODE |
TAKEN/DELETE; GIVE/<questholder/objective1/COLLECTNAMED,Illegible Message,spoon,9,hue=1102> |
QUOTE (dagormanu @ April 27, 2006 02:52 am) |
But my questholder gump says, "Collect spoon 9(s) named spoon (Illegible Message left) |
QUOTE (dagormanu @ April 26, 2006 10:08 pm) | ||
I got it to work... kind of ... using GIVENAMED instead of COLLECTNAMED (although I'd prefer to use collect). However, I just figure dout that both of these (and all of the different options I seem to have) are going to say "9 spoon(s)". So much for my clever idea. Is there a way I can collect these things without giving away the fact that they are not really scrolls? |
QUOTE |
~GETONTAKEN,hue=1102 |
QUOTE |
GETONTAKEN,hue=1102 |
CODE |
TAKE/Strange Scrolls/ GIVE/myspecialitemobject GUMP,Guy takes the scrolls,0/Some text here to explain the quest and what it means. |
CODE |
MaxDelay = 0:01 MinDelay = 0:01 ProximityRange = 5 SpawnOnTrigger = True TriggerAccessLevel = Administrator (just for testing) TriggerOnCarried = Strange Scrolls,1 |
CODE |
<Spawns> <Points> <Name>EdvardSpawner</Name> <UniqueId>a52d45c6-f01b-479a-bbe1-8f23037510f0</UniqueId> <Map>Trammel</Map> <X>1410</X> <Y>1605</Y> <Width>0</Width> <Height>0</Height> <CentreX>1410</CentreX> <CentreY>1605</CentreY> <CentreZ>30</CentreZ> <Range>1</Range> <MaxCount>1</MaxCount> <MinDelay>5</MinDelay> <MaxDelay>10</MaxDelay> <DelayInSec>False</DelayInSec> <Duration>0</Duration> <DespawnTime>0</DespawnTime> <ProximityRange>-1</ProximityRange> <ProximityTriggerSound>500</ProximityTriggerSound> <TriggerProbability>1</TriggerProbability> <InContainer>False</InContainer> <MinRefractory>0</MinRefractory> <MaxRefractory>0</MaxRefractory> <TODStart>0</TODStart> <TODEnd>0</TODEnd> <TODMode>0</TODMode> <KillReset>1</KillReset> <ExternalTriggering>False</ExternalTriggering> <SequentialSpawning>-1</SequentialSpawning> <AllowGhostTriggering>False</AllowGhostTriggering> <SpawnOnTrigger>False</SpawnOnTrigger> <SmartSpawning>False</SmartSpawning> <Team>0</Team> <Amount>1</Amount> <IsGroup>False</IsGroup> <IsRunning>True</IsRunning> <IsHomeRangeRelative>True</IsHomeRangeRelative> <Objects2>xmlquestnpc,0/configfile/TrammelDyingEdvard/loadconfig/true:MX=1:SB=0:RT=0:TO=0:KL=0:RK=0:CA=1:DN=-1:DX=-1:SP=1</Objects2> </Points> <Points> <Name>EdvardFinishSpawner</Name> <UniqueId>2e27712b-f479-4268-9044-9be9adb85b7e</UniqueId> <Map>Trammel</Map> <X>1404</X> <Y>1602</Y> <Width>10</Width> <Height>10</Height> <CentreX>1409</CentreX> <CentreY>1607</CentreY> <CentreZ>30</CentreZ> <Range>5</Range> <MaxCount>3</MaxCount> <MinDelay>5</MinDelay> <MaxDelay>10</MaxDelay> <DelayInSec>False</DelayInSec> <Duration>0</Duration> <DespawnTime>0</DespawnTime> <ProximityRange>5</ProximityRange> <ProximityTriggerSound>500</ProximityTriggerSound> <ItemTriggerName>Strange Scrolls,1</ItemTriggerName> <TriggerProbability>1</TriggerProbability> <InContainer>False</InContainer> <MinRefractory>0</MinRefractory> <MaxRefractory>0</MaxRefractory> <TODStart>0</TODStart> <TODEnd>0</TODEnd> <TODMode>0</TODMode> <KillReset>1</KillReset> <ExternalTriggering>False</ExternalTriggering> <SequentialSpawning>-1</SequentialSpawning> <AllowGhostTriggering>False</AllowGhostTriggering> <SpawnOnTrigger>True</SpawnOnTrigger> <SmartSpawning>False</SmartSpawning> <Team>0</Team> <Amount>1</Amount> <IsGroup>False</IsGroup> <IsRunning>True</IsRunning> <IsHomeRangeRelative>True</IsHomeRangeRelative> <Objects2>GUMP,Edvard inspects the scrolls,0/Edvard spreads the scrolls out on the table. After a moment of inspection, his faces goes pale. "God save us! You must flee this place! I pray you do not have a home in Trammel. Just in case, take this moving crate deed. We must ALL flee Trammel. Hurry!! There is no time to waste! FLEE!!:MX=1:SB=1:RT=0:TO=0:KL=0:RK=0:CA=1:DN=-1:DX=-1:SP=1:OBJ=TAKE/Strange Scrolls/:MX=1:SB=1:RT=0:TO=0:KL=0:RK=0:CA=1:DN=-1:DX=-1:SP=1:OBJ=GIVE/movingboxdeed:MX=1:SB=1:RT=0:TO=0:KL=0:RK=0:CA=1:DN=-1:DX=-1:SP=1</Objects2> </Points> </Spawns> |
CODE |
<XmlQuestNPC> <NPC> <Name>Edvard</Name> <Running>True</Running> <ProximityRange>3</ProximityRange> <NoTriggerOnCarried>Strange Scrolls</NoTriggerOnCarried> <AllowGhost>False</AllowGhost> <SpeechPace>10</SpeechPace> <ResetTime>0.5</ResetTime> <ConfigFile>TrammelDyingEdvard</ConfigFile> <SpeechEntries>8</SpeechEntries> </NPC> <SpeechEntry> <EntryNumber>0</EntryNumber> <ID>0</ID> <Text>Nice day, isn't it?</Text> <Keywords>hello,hi,edvard,hey</Keywords> <DependsOn>-1</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>10</EntryNumber> <ID>10</ID> <Text>Pardon me. Where did you find that strange scroll?</Text> <Action>SETONTHIS/SOUND,1055/</Action> <Condition>GETONCARRIED,Illegible Message,spoon,hue=1102</Condition> <DependsOn>-1</DependsOn> <Pause>5</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>20</EntryNumber> <ID>20</ID> <Text>May I see it please?</Text> <Keywords>lich,undead</Keywords> <DependsOn>10</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>30</EntryNumber> <ID>30</ID> <Keywords>yes,yea,sure,of course,here,take</Keywords> <DependsOn>20</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> <Gump>GUMP,Can you find more?,3/Very interesting. This seems some kind of message, but I don't know what it means. If you could bring me more of these, I may be able to find out what this is all about. </Gump> </SpeechEntry> <SpeechEntry> <EntryNumber>40</EntryNumber> <ID>40</ID> <Keywords>accept</Keywords> <Action>TAKEN/DELETE; TAKE,1,1,true,spoon/Illegible Message</Action> <DependsOn>30</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>50</EntryNumber> <ID>50</ID> <Text>Be gone ye skallywag. I've no time for your trickery!</Text> <Action>GIVE/TAKEN</Action> <Condition>~GETONTAKEN,hue=1102</Condition> <DependsOn>40</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>60</EntryNumber> <ID>60</ID> <Action>GIVE/<questholder/name/Strange Scrolls/objective1/COLLECTNAMED,Illegible Message,spoon,9,hue=1102/description1/Collect 9 more of these mysterious scrolls./repeatable/false></Action> <Condition>GETONTAKEN,hue=1102</Condition> <DependsOn>40</DependsOn> <Pause>0</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> <SpeechEntry> <EntryNumber>70</EntryNumber> <ID>70</ID> <Text>I've given you a blue book. Open it to continue your quest. Godspeed!!</Text> <Action>TAKEN/DELETE</Action> <DependsOn>60</DependsOn> <Pause>1</Pause> <PrePause>-1</PrePause> <LockConversation>True</LockConversation> <AllowNPCTrigger>False</AllowNPCTrigger> <SpeechStyle>Regular</SpeechStyle> <SpeechHue>-1</SpeechHue> </SpeechEntry> </XmlQuestNPC> |