Some comments are in Russian, translated into English.
Code: Select all
C2M2 - CombatScriptVS_Veyer.lua
print("Veyer does not have any creatures. :(");
C2M3 - MapScript.lua
function LevelUp() --crap, balance testing function, delete when balanced
ChangeHeroStat('Agrael', STAT_EXPERIENCE, 57533)
end
C3M1 - mapscript.lua
print("Our Hero has avoid foolish wizard ",follow1_patrol_name,"!");
--If the little elephant can reach Berein with enough MP left, his MovePoints get castrated so he won't
--If he can't, no command is issued. The elephant plays dumb.
C3M3 - C3M3.lua
-- Secondary objective. It starts when Markal ("Berein" in script) take the artifact "Staff of vexings" to another hero.
C3M4 - mapscript.lua
Tan = "Tan"; --Cayrus!!!
C3M5 - MapScript.lua
SetAIPlayerAttractor("Necorrum",PLAYER_3,2); -- Necorrum is Lorekeep
print("Das ist fantastisch!!!");
C4M2 - mapscript.lua
MessageBox(not_realag) -- it wasn't Raelag who visited the oracle, the oracle says, "who are you? go to bobruisk!"
print("Raelag_kaput................................!!!")
print("Shadia_kaput................................!!!")
C4M5 - mapscript.lua
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "PALAEDRA","PObjective1", nil ); --PALAEDRA!!!
C5M2 - C5M2.lua
function obelisks_upgrade() --enable new,cheating obelisk functionality and disable the basic one
if knowlege==0 --whether the player knows how obelisks work
then
MessageBox(message11) --blah blah blah nothing happens because you don't know what the heck it is
C5M4 - C5M4.lua
Trigger (REGION_ENTER_AND_STOP_TRIGGER, 'Tieru_Island', nil);
-- print ('ENTER REGION TRIGGERED')
-- $%@$!($)$%!$))%$)% )%$ $)% )% )!$&% )& )!!!!!!!!!!!!!!!!! --
C5M5 - C5M5.lua
function blocking() --block tile passability around shadow dragons for PLAYER_2, so he won't kill them like a fool
great_night_progress=great_night_progress+dragons_count()*diff --how much "evil" did the dragons generate
function ownage() --called when the power parameter becomes more than 1, means the "Great Night", like, reached its climax and the undead can't be stopped
if heroname=='Nikolay' then --is the killed hero called Kolyan?
C6M3 - CombatScript_godric.lua, CombatScript_heam.lua, CombatScript_zehir.lua
C6M5 - biara_godric.lua, biara_heam.lua, biara_raelag.lua, biara_zehir.lua
-- looking for certain creature in the army and casting uberchanlight on it --
C6M5 - MapScript.lua
-- woot! i eldur og drumur!