adventure-game/default_story.stry

54 lines
1.3 KiB
Plaintext

; import definitions from another file
@import battles
main:
@newgame
@story {
You have been planning a trip out to the desert for a while; however, you're
not sure whether you want to go *Shooting* or simply *Explore* the area.
Which do you prefer?
}
@prompt Shooting Explore
@ifprompt Shooting {
; change the ability
@ability player marksman
; [ITEM] added to your inventory!
@additem pistol : container {
ammo : 15
}
@additem ammo box : container {
ammo : 185
}
@additem tannerite : 3
@additem snack : 3
@story {You head out into the desert.}
@wait
@jump shooting
}
; fallthrough
@ability player scoutsman
@additem pistol : container {
ammo : 7
}
@additem compass : 1
@additem binoculars : 1
@additem satellite phone : 1
@story {You head out into the desert.}
@wait
@jump explore
shooting:
@story {
You arrive in the desert and find a nice hill to shoot against.
You set up your target and reload your rifle using ammo from the ammo box.
}
@wait
@story {You hold your breath and take a shot.}
@wait
@value field_tannerite : 0
@value target destroyed : false
explore: