From GPWiki
This page contains WikiAdventure game contents data for testing purposes.
Warning: The following section may contain spoilers and/or solutions.
<Location>
<Items>
- <Item>
-
MrJohn.png
- Item ID: MrJohn
Description: Item with a picture Position: 400, 300 <OnClick> StartDialog( "Shop01" ) </OnClick>
- </Item>
- <Item>
-
Loc2Keys.png
- Item ID: Loc2Keys
Description: An item with scripting when clicked Position: 50, 400 <OnLoad> if bCanStartNextLocation == true then HideThisItem() end </OnLoad> <OnClick> bCanStartNextLocation = true ShowText("You've aquired the keys and can now go to the next location!") HideThisItem() </OnClick>
- </Item>
- <Item>
- Item ID: NextLoc
Description: Here's an item without an image Position: 200, 300 Size: 150, 100 <OnClick> if bCanStartNextLocation == true then StartLocation( "Location02" ) else ShowText("Sorry, you can't go to the next location...[br]You'll need the keys for that!") end </OnClick>
- </Item>
</Items>
<Dialogs>
- <Dialog>
- Dialog ID: Shop01
- Speaker ID: Shopkeeper John
- Hi, can I help you?
- Anything interesting happend since I spoke to you last?
<OnLoad> if bTalkedToJohn == nil then HideThisDialog() end </OnLoad>
- Nah, not really.
- Okay, just checking.
- Yes, I would like to have a look at your wares.
- [Show wares]
- Perhabs, what do you sell here?
- I've got everything in modern personal security equipment; amour, weapons, shields, bows, you name it!
- Great, let me have a look.
- [Show wares]
- Not interested.
- Okay, some other time maybe?"
- Have you got any muscle tasks?
- Not that I can think of no. But come by from time to time, I sometimes have some jobs that require more muscle than I can muster.
<OnLoad> if bAskedAboutMuscleTasks == true then ChangeDialogText( "No, I still haven't, sorry." ) end bAskedAboutMuscleTasks = true </OnLoad>
- Okay, will do.
- No, thanks.
<OnClick> bTalkedToJohn = true </OnClick>
- </Dialog>
</Dialogs>
</Location>
Back to Test Game Page.
Back to WikiAdventure Games.
Back to WikiAdventure Main.
|
|