Quest Help

Post your quests here!
User avatar
Death
Member
Member
Posts: 30
Joined: Sun Oct 23, 2011 3:51 pm
Location: On my computer

Quest Help

Postby Death » Tue Aug 04, 2015 5:12 am

hello I am trying to make a quest that requires you to remove an weapon, clothing, boots, a shield to continue to the next state how would I do that? This is what I have so far. If I used the LostItems rule, wouldn't they only have to remove one of the items to continue to the next state? or can I do rule LostItems(56;132;312, amount) goto Continue (Is it possible to have multiple item values in 1 rule?) Or is it possible to use the IsWearing rule and if so what would the ID for being naked be?

Code: Select all

Main
{
        questname   "Bertha Quest"
        version  1.0
}
State Begin
{
        desc        "Talk With Bertha"
        action     AddNpcText(8, "Oh you have finally woken up, I found you in the woods a bloodied broken mess, before we talk could you take off those clothes for me so I can repair them");
        rule         InputNpc(1) goto Removed
}
State Removed
{
        desc        "Remove All Your Items"
        action     AddNpcText(8, "Remove all of your items from your paperdoll so I can repair them once you have talk to me");
        action     RemoveItem(156, 1);
        action     RemoveItem(19, 1);
        action     RemoveItem(447, 1);
        action     RemoveItem(ID, amount);
Last edited by Death on Tue Aug 04, 2015 5:17 am, edited 1 time in total.
Edenshire for the win.
sevenfold
General
General
Posts: 80
Joined: Thu Aug 07, 2014 6:16 pm

RE: Quest Help

Postby sevenfold » Tue Aug 04, 2015 8:27 am

Try this.
Main
{
questname "Bertha Quest"
version 1.0
}
State Begin
{
desc "Talk With Bertha"
action AddNpcText(8, "Oh you have finally woken up, I found you in the woods a bloodied broken mess, before we talk could you take off those clothes for me so I can repair them");
rule InputNpc(1) goto Removed
}
State Removed
{
desc "Remove All Your Items"
action AddNpcText(8, "Remove all of your items from your paperdoll so I can repair them once you have talk to me");
action RemoveItem(156, 1);
rule LostItems(156,1) goto RemoveItem2
}
state RemoveItem2
{
action RemoveItem(19,1);
rule LostItems(19,1) goto RemoveItem3
}
state RemoveItem3
{
action RemoveItem(447,1);
rule LostItems(447,1) goto RemoveItem4
}
state RemoveItem4
{
action RemoveItem( ??? );
rule LostItems( ??? ) goto Next
Always will love to help out! :D leave a message
#OneAndOnly

Return to “Quests”

Who is online

Users browsing this forum: No registered users and 2 guests