equal
deleted
inserted
replaced
24 |
24 |
25 HedgewarsScriptLoad("/Scripts/Locale.lua") |
25 HedgewarsScriptLoad("/Scripts/Locale.lua") |
26 HedgewarsScriptLoad("/Scripts/Animate.lua") |
26 HedgewarsScriptLoad("/Scripts/Animate.lua") |
27 |
27 |
28 -----------------------------Constants--------------------------------- |
28 -----------------------------Constants--------------------------------- |
29 choiceAccept = 1 |
29 choiceAccepted = 1 |
30 choiceRefuse = 2 |
30 choiceRefused = 2 |
31 choiceAttack = 3 |
31 choiceAttacked = 3 |
32 |
32 |
33 leaksPos = {2067, 509} |
33 leaksPos = {2067, 509} |
34 densePos = {1882, 503} |
34 densePos = {1882, 503} |
35 waterPos = {3100, 930} |
35 waterPos = {3100, 930} |
36 buffaloPos = {2609, 494} |
36 buffaloPos = {2609, 494} |
287 function GetVariables() |
287 function GetVariables() |
288 m2DenseDead = tonumber(GetCampaignVar("M2DenseDead")) |
288 m2DenseDead = tonumber(GetCampaignVar("M2DenseDead")) |
289 if m2DenseDead == 1 then |
289 if m2DenseDead == 1 then |
290 denseDead = true |
290 denseDead = true |
291 end |
291 end |
292 m2Choice = tonumber(GetCampaignVar("M2Choice")) |
292 m2Choice = tonumber(GetCampaignVar("M2Choice")) or choiceRefused |
293 end |
293 end |
294 |
294 |
295 function SetupPlace() |
295 function SetupPlace() |
296 if m2DenseDead == 1 then |
296 if m2DenseDead == 1 then |
297 sdrmv = 1 |
297 sdrmv = 1 |