SotBE S7: change locations and number of scorpions

They are slightly farther away at the beginning now.  Also, there's a
new event that adds new scorpions for the first 10 turns.
This commit is contained in:
mattsc 2013-12-17 19:08:16 -08:00
parent 1657bf9d41
commit bfb2edeb90

View file

@ -196,17 +196,17 @@
message= _ "We dont have any other choice. If we remain here well die."
[/message]
{NOTRAIT_UNIT 3 "Giant Scorpion" 10 10}
{NOTRAIT_UNIT 3 "Giant Scorpion" 11 8}
{NOTRAIT_UNIT 3 "Giant Scorpion" 17 11}
{NOTRAIT_UNIT 3 "Giant Scorpion" 8 7}
{NOTRAIT_UNIT 3 "Giant Scorpion" 11 15}
{NOTRAIT_UNIT 3 "Giant Scorpion" 8 13}
{NOTRAIT_UNIT 3 "Giant Scorpion" 15 6}
{NOTRAIT_UNIT 3 "Giant Scorpion" 19 12}
{NOTRAIT_UNIT 3 "Giant Scorpion" 13 10}
{NOTRAIT_UNIT 3 "Giant Scorpion" 11 16}
#ifdef NORMAL
{NOTRAIT_UNIT 3 "Giant Scorpion" 13 3}
{NOTRAIT_UNIT 3 "Giant Scorpion" 15 3}
#endif
#ifdef HARD
{NOTRAIT_UNIT 3 "Giant Scorpion" 6 11}
{NOTRAIT_UNIT 3 "Giant Scorpion" 13 3}
{NOTRAIT_UNIT 3 "Giant Scorpion" 6 14}
{NOTRAIT_UNIT 3 "Giant Scorpion" 15 3}
#endif
{NOTRAIT_UNIT 3 "Giant Scorpion" 26 4}
{NOTRAIT_UNIT 3 "Giant Scorpion" 11 22}
@ -227,6 +227,49 @@
[/endlevel]
[/event]
[event]
name=new turn
first_time_only=no
{RANDOM "0..99"}
{VARIABLE scorp_prob 30}
#ifdef NORMAL
{VARIABLE scorp_prob 60}
#endif
#ifdef HARD
{VARIABLE scorp_prob 90}
#endif
[if]
[variable]
name=turn_number
less_than=11
[/variable]
[variable]
name=random
less_than=$scorp_prob
[/variable]
[then]
[store_locations]
x,y=1-38,1-30
terrain=D*
[not]
[filter]
[/filter]
radius=8
[/not]
variable=scorpion_locs
[/store_locations]
{RANDOM "1..$scorpion_locs.length"}
{VARIABLE_OP random sub 1}
#{MESSAGE narrator "" "" "New scorpion at: $scorpion_locs[$random].x $scorpion_locs[$random].y"}
{NOTRAIT_UNIT 3 "Giant Scorpion" $scorpion_locs[$random].x $scorpion_locs[$random].y}
[/then]
[/if]
{CLEAR_VARIABLE random,scorp_prob,scorpion_locs}
[/event]
[event]
name=sighted,moveto
[filter]