Rename dummy to quintain (almost) everywhere.

This commit is contained in:
Rusty Russell 2006-03-19 07:47:29 +00:00
parent aab59a640c
commit 18290206b8
6 changed files with 56 additions and 56 deletions

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -22,7 +22,7 @@
#define DELFADOR_LOC
12,5
#enddef
#define DUMMY_LOC
#define QUINTAIN_LOC
12,6
#enddef
#define VILLAGE_LOC
@ -73,9 +73,9 @@ ffffgggggggggcgggfff
[side]
no_leader=yes
type=Dummy
description=Dummy
user_description=_ "Dummy"
type=Quintain
description=Quintain
user_description=_ "Quintain"
side=2
controller=ai
[ai]
@ -317,14 +317,14 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, th
[/colour_adjust]
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=13,7
side=2
[/unit]
{LABEL (_"Dummy") {DUMMY_LOC}}
{LABEL (_"Quintain") {QUINTAIN_LOC}}
[redraw][/redraw]
[message]
@ -344,7 +344,7 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, th
[message]
speaker=narrator
message=_ "To attack the dummy, you will first select the attacker ($student) and then the target (the dummy). You will see a description of the details of the attack. When you click OK, $student will attack.
message=_ "To attack the quintain, you will first select the attacker ($student) and then the target (the quintain). You will see a description of the details of the attack. When you click OK, $student will attack.
*Left click or any key to continue..."
[/message]
@ -354,7 +354,7 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, th
side=1
[/filter]
{PRINT (_"Click on the dummy to attack it")}
{PRINT (_"Click on the quintain to attack it")}
[/event]
{PRINT (_"Click on $student")}
@ -382,11 +382,11 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, th
name=attack_end
{CLEAR_PRINT}
{UNLABEL {DUMMY_LOC}}
{UNLABEL {QUINTAIN_LOC}}
[message]
description=student
message=_ "Hey! This dummy fights back!"
message=_ "Hey! This quintain fights back!"
[/message]
[message]
@ -410,7 +410,7 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, th
{VARIABLE_OP future_hp add -15}
[message]
description=Delfador
message=_ "Unfortunately, you've used up your turn attacking the dummy. The dummy will now get a turn."
message=_ "Unfortunately, you've used up your turn attacking the quintain. The quintain will now get a turn."
[/message]
[message]
description=student
@ -418,8 +418,8 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, th
[/message]
[message]
description=Delfador
message=_ "Yes: it's a magical dummy.
Now, this dummy gets five chances to hit you, and if it hits every time, you'll drop from $student_hp to $future_hp hit points. Brace yourself!"
message=_ "Yes: it's a magical quintain.
Now, this quintain gets five chances to hit you, and if it hits every time, you'll drop from $student_hp to $future_hp hit points. Brace yourself!"
[/message]
{PRINT (_ "Click on the End Turn button on the bottom right")}
[/event]
@ -427,7 +427,7 @@ Now, this dummy gets five chances to hit you, and if it hits every time, you'll
[event]
name="turn 2"
# There is a 1 in 170,000 chance that the dummy will miss on all
# There is a 1 in 170,000 chance that the quintain will miss on all
# 10 attacks. Ignoring that.
{CLEAR_PRINT}
[refresh][/refresh]
@ -504,7 +504,7 @@ Now, this dummy gets five chances to hit you, and if it hits every time, you'll
[message]
description=Delfador
# FIXME: How many HP really?
message=_ "You're about to be healed by 8 hitpoints. But I think you're going to need some help against that dummy."
message=_ "You're about to be healed by 8 hitpoints. But I think you're going to need some help against that quintain."
[/message]
[message]
@ -612,12 +612,12 @@ Note: after this dialog, you can move the mouse over a unit to see a description
{CLEAR_PRINT}
[message]
description=student
message=_ "Hey, the dummy just healed by two hitpoints! I'd better attack it at once!"
message=_ "Hey, the quintain just healed by two hitpoints! I'd better attack it at once!"
[/message]
[message]
description=Delfador
message=_ "Yes, if a unit doesn't do anything for a turn, it will slowly heal.
But before you send your fighters against the dummy, you should know they have two kinds of attack..."
But before you send your fighters against the quintain, you should know they have two kinds of attack..."
[/message]
[message]
description=student
@ -635,7 +635,7 @@ But before you send your fighters against the dummy, you should know they have t
[filter]
type=Elvish Fighter
[/filter]
{PRINT (_"Left click on the Dummy to attack it.")}
{PRINT (_"Left click on the Quintain to attack it.")}
[/event]
[event]
@ -658,19 +658,19 @@ But before you send your fighters against the dummy, you should know they have t
[then]
[if]
[variable]
name=dummy_dead
name=quintain_dead
numerical_equals=1
[/variable]
[then]
[message]
description=Delfador
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the dummy defended with its melee attack (3-5). The ranged attack was safer."
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the quintain defended with its melee attack (3-5). The ranged attack was safer."
[/message]
[/then]
[else]
[message]
description=Delfador
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the dummy defended with its melee attack (3-5). The ranged attack was safer.
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the quintain defended with its melee attack (3-5). The ranged attack was safer.
End your turn, then attack again."
[/message]
{PRINT (_"Click on the End Turn button")}
@ -680,7 +680,7 @@ End your turn, then attack again."
[else]
[message]
description=Delfador
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the dummy defended with its melee attack (3-5).
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the quintain defended with its melee attack (3-5).
You should tell the other Elf to use the bow."
[/message]
{PRINT (_"Attack with the other Elf")}
@ -703,19 +703,19 @@ You should tell the other Elf to use the bow."
[then]
[if]
[variable]
name=dummy_dead
name=quintain_dead
numerical_equals=1
[/variable]
[then]
[message]
description=Delfador
message=_ "Your elf used a bow, which is a ranged attack (3-3, or 3 damage, 3 attacks). The dummy has no ranged attack, only a melee attack, so it could not defend itself."
message=_ "Your elf used a bow, which is a ranged attack (3-3, or 3 damage, 3 attacks). The quintain has no ranged attack, only a melee attack, so it could not defend itself."
[/message]
[/then]
[else]
[message]
description=Delfador
message=_ "Your elf used a bow, which is a ranged attack (3-3, or 3 damage, 3 attacks). The dummy has no ranged attack, only a melee attack, so it could not defend itself.
message=_ "Your elf used a bow, which is a ranged attack (3-3, or 3 damage, 3 attacks). The quintain has no ranged attack, only a melee attack, so it could not defend itself.
End your turn, then attack again."
[/message]
{PRINT (_"Click on the End Turn button")}
@ -725,7 +725,7 @@ End your turn, then attack again."
[else]
[message]
description=Delfador
message=_ "Your elf used a bow, which is a ranged attack (3-3, or 3 damage, 3 attacks). The dummy has no ranged attack, only a melee attack, so it could not defend itself."
message=_ "Your elf used a bow, which is a ranged attack (3-3, or 3 damage, 3 attacks). The quintain has no ranged attack, only a melee attack, so it could not defend itself."
[/message]
{PRINT (_"Attack with the other Elf")}
[/else]
@ -738,7 +738,7 @@ End your turn, then attack again."
{CLEAR_PRINT}
[message]
description=Delfador
message=_ "Keep attacking, with both elves, until the dummy is finished!"
message=_ "Keep attacking, with both elves, until the quintain is finished!"
[/message]
[/event]
@ -759,7 +759,7 @@ You can right click on a unit to see a detailed Unit Description"
name="turn 7"
[if]
[variable]
name=dummy_dead
name=quintain_dead
numerical_equals=1
[/variable]
[then]
@ -776,7 +776,7 @@ Remember to pull back wounded units into villages, and recruit more if you need.
name="turn 8"
[if]
[variable]
name=dummy_dead
name=quintain_dead
numerical_equals=1
[/variable]
[then]
@ -829,58 +829,58 @@ Once you select a unit, you see percentages for different places: higher means m
[event]
name=die
[filter]
type=Dummy
type=Quintain
[/filter]
{CLEAR_PRINT}
[message]
speaker=second_unit
message=_ "The dummy is dead, sirs, and I have gained more experience!"
message=_ "The quintain is dead, sirs, and I have gained more experience!"
[/message]
[message]
description=Delfador
message=_ "Yes, you gain more experience through battle, especially killing an opponent: gain enough experience and you become more powerful.
Now $student, I will leave you with more dummies to practice on! After that, we have real work to do..."
[/message]
{VARIABLE dummy_dead 1}
{VARIABLE quintain_dead 1}
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=16,10
side=2
[/unit]
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=5,8
side=2
[/unit]
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=10,8
side=2
[/unit]
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=13,11
side=2
[/unit]
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=9,11
side=2
[/unit]
[unit]
description=Dummy
type=Dummy
description=Quintain
type=Quintain
ai_special="guardian"
x,y=4,10
side=2
@ -892,7 +892,7 @@ Now $student, I will leave you with more dummies to practice on! After that, we
[/kill]
[scroll_to_unit]
type=Dummy
type=Quintain
[/scroll_to_unit]
[event]
@ -920,7 +920,7 @@ Now $student, I will leave you with more dummies to practice on! After that, we
name=time over
[if]
[variable]
name=dummy_dead
name=quintain_dead
numerical_equals=1
[/variable]
[then]

View file

@ -1,8 +1,8 @@
[unit]
id=Dummy
name= _ "Dummy"
id=Quintain
name= _ "Quintain"
race=wose
image="units/dummy.png"
image="units/quintain.png"
movement=1
hitpoints=57
level=1
@ -10,14 +10,14 @@
usage=mixed fighter
movement_type=treefolk
alignment=neutral
unit_description= _ "Dummies are used to practice swordplay and jousting on. It would be extremely unusual to be attacked by one."
unit_description= _ "Quintains are used to practice swordplay and jousting on. It would be extremely unusual to be attacked by one."
[resistance]
blade=100
pierce=100
[/resistance]
get_hit_sound=staff.wav
[attack]
name=dummy
name=quintain
type=impact
range=melee
special=magical
@ -27,23 +27,23 @@
[frame]
begin=-150
end=0
image=units/dummy-attack1.png
image=units/quintain-attack1.png
[/frame]
[frame]
begin=0
end=50
image=units/dummy-attack2.png
image=units/quintain-attack2.png
sound=mace.wav
[/frame]
[frame]
begin=50
end=120
image=units/dummy-attack3.png
image=units/quintain-attack3.png
[/frame]
[frame]
begin=120
end=190
image=units/dummy-attack2.png
image=units/quintain-attack2.png
[/frame]
[/animation]
[/attack]