Permalink
Browse files

Completed scripts for mini-boss and boss.

  • Loading branch information...
1 parent 63d08f3 commit 28f97160fd96739a08b95f47bbc8a473c852baa9 @earwig earwig committed Jun 18, 2012
Showing with 30 additions and 7 deletions.
  1. +1 −1 games/main-game/level01.yaml
  2. +29 −6 games/main-game/level02.yaml
@@ -97,7 +97,7 @@ objects:
die:
- action: script
script:
- - Boss: You have proved a worthy challenger, hero.
+ - Boss: You have proven yourself a worthy challenger, hero.
- Boss: "*cough* Ugh... *cough*"
- Boss: "Here are the *cough* keys to get out of your *cough* house..."
- Boss: "You *cough* earned them well..."
@@ -64,6 +64,7 @@ objects:
- ???: An orange!
- ???: The most powerful weapon in the free world!
- ???: The gods must smile upon you, O strange one!
+ - You: Ugh. I don't think he had the key.
attributes:
health: 30
@@ -73,16 +74,31 @@ objects:
visible: True
color: red
start:
+ - action: script
+ script:
+ - Boss: Hah! Finally!
+ - Boss: I have been stuck in this damp sewer for eons.
+ - Boss: Do you know know hard it is to get my goblin minions to bring me food?
+ - Boss: They just don't listen, nope.
+ - Boss: I would much rather have my food come to me instead!
+ - Boss: Prepare to die, human!
- action: attack
target: Player
speed: 0
damage: 40
die:
+ - action: script
+ script:
+ - Boss: You've fought well, human.
+ - Boss: Take this magical exit key. The door's to your left.
- action: give
item: Magical Exit Key
type: key
attributes:
unlock: Exit Door
+ - action: script
+ script:
+ - You: Well, that was... anticlimactic.
attributes:
health: 200
@@ -178,10 +194,10 @@ triggers:
3: #chest 3
- action: give
actor: The chest
- item: Something Strange
- type: weapon
+ item: Some Strange Mixture
+ type: potion
attributes:
- damage: 10
+ health: 50
a: #enemy trigger
- action: spawn
@@ -212,15 +228,22 @@ triggers:
- action: spawn
actor: Goblin Spawner X
target: k
+ - action: script
+ script:
+ You: Strange...
+ You: Is that a rumbling noise I hear?
h: # boss trigger
+ - action: script
+ script:
+ You: Oh no...
- action: spawn
- actor: group(Boss Spawners)
- target: M
+ actor: Boss Spawner
+ target: M
i: # miniboss trigger
- action: spawn
- actor: group(Mini-Boss Spawners)
+ actor: Mini-Boss Spawner
target: B
N: # next level

0 comments on commit 28f9716

Please sign in to comment.