What problem are you currently facing?
The mine timer is not shown in Highlander games, but the game scheme editor can
be used to change it.
How do you think the situation should be improved?
By showing the mine timer in the mission "window".
What version of the product are you using? On what operating system?
0.9.21 on GNU/Linux.
Don't forget that patches are welcome ;)
Here's a diff below the X-es:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX
*** Highlander_orig.lua 2015-07-28 13:45:23.592437298 +0200
--- Highlander.lua 2015-07-28 13:44:56.399161253 +0200
***************
*** 1,6 ****
--------------------------------
-- HIGHLANDER / HOGS OF WAR
! -- version 0.4b
-- by mikade
--------------------------------
--- 1,6 ----
--------------------------------
-- HIGHLANDER / HOGS OF WAR
! -- version 0.4c
-- by mikade
--------------------------------
***************
*** 68,73 ****
--- 68,78 ----
-----------
-- as per request, add ice-gun
+ -----------
+ --0.4c
+ -----------
+ -- Show mine timer
+
-------------------------
-- ideas for the future
-------------------------
***************
*** 270,275 ****
--- 275,289 ----
end
--WriteLnToConsole('utiltot:'..utiltot..' atktot:'..atktot)
+ local mineStr
+ local timer = MinesTime/1000
+ if timer < 0 then
+ mineStr = loc("Mines explode after 0-3 seconds.")
+ elseif timer == 0 then
+ mineStr = loc("Mines explode instantly.")
+ else
+ mineStr = string.format(loc("Mines explode after %ds."), math.floor(timer))
+ end
ShowMission (
loc("HIGHLANDER"),
***************
*** 279,285 ****
"- " .. loc("Per-Hog Ammo") .. "|" ..
"- " .. loc("Weapons reset.") .. "|" ..
"- " .. loc("Unlimited Attacks") .. "|" ..
! "", 4, 4000
)
runOnGears(StartingSetUp)
--- 293,299 ----
"- " .. loc("Per-Hog Ammo") .. "|" ..
"- " .. loc("Weapons reset.") .. "|" ..
"- " .. loc("Unlimited Attacks") .. "|" ..
! "- " .. mineStr .. "|", 4, 4000
)
runOnGears(StartingSetUp)
Original issue reported on code.google.com by almikes@aol.com on 28 Jul 2015 at 11:49
Original issue reported on code.google.com by
almikes@aol.com
on 28 Jul 2015 at 11:49