909 end |
909 end |
910 |
910 |
911 |
911 |
912 function checkForSpecialWeapons() |
912 function checkForSpecialWeapons() |
913 |
913 |
914 |
914 if (GetCurAmmoType() == amDrillStrike) then |
915 |
915 AddCaption(loc("Object Placer"),GetClanColor(GetHogClan(CurrentHedgehog)),capgrpAmmoinfo) |
916 if (GetCurAmmoType() == amAirAttack) then |
|
917 AddCaption(loc("Structure Placement Tool"),GetClanColor(GetHogClan(CurrentHedgehog)),capgrpAmmoinfo) |
|
918 elseif (GetCurAmmoType() == amDrillStrike) then |
|
919 AddCaption(loc("Object Placement Tool"),GetClanColor(GetHogClan(CurrentHedgehog)),capgrpAmmoinfo) |
|
920 elseif (GetCurAmmoType() == amNapalm) then |
|
921 AddCaption(loc("Crate Placement Tool"),GetClanColor(GetHogClan(CurrentHedgehog)),capgrpAmmoinfo) |
|
922 end |
916 end |
923 |
917 |
924 lastWep = GetCurAmmoType() |
918 lastWep = GetCurAmmoType() |
925 |
919 |
926 end |
920 end |
1574 ShowMission ( |
1568 ShowMission ( |
1575 loc("CONSTRUCTION MODE"), |
1569 loc("CONSTRUCTION MODE"), |
1576 loc("a Hedgewars mini-game"), |
1570 loc("a Hedgewars mini-game"), |
1577 loc("Build a fortress and destroy your enemy.") .. "|" .. |
1571 loc("Build a fortress and destroy your enemy.") .. "|" .. |
1578 loc("There are a variety of structures available to aid you.") .. "|" .. |
1572 loc("There are a variety of structures available to aid you.") .. "|" .. |
1579 loc("Use the air-attack weapons and the arrow keys to select structures.") .. "|" .. |
1573 loc("Use the structure placer to place structures.") |
1580 " " .. "|" .. |
|
1581 loc("Healing Station") .. ": " .. loc("Grants nearby hogs life-regeneration.") .. "|" .. |
|
1582 loc("Bio-Filter") .. ": " .. loc("Aggressively removes enemy hedgehogs.") .. "|" .. |
|
1583 loc("Weapon Filter") .. ": " .. loc("Dematerializes weapons and equipment carried by enemy hedgehogs.") .. "|" .. |
|
1584 loc("Reflector Shield") .. ": " .. loc("Reflects enemy projectiles.") .. "|" .. |
|
1585 |
|
1586 loc("Generator") .. ": " .. loc("Generates power.") .. "|" .. |
|
1587 loc("Respawner") .. ": " .. loc("Resurrects dead hedgehogs.") .. "|" .. |
|
1588 loc("Teleportation Node") .. ": " .. loc("Allows free teleportation between other nodes.") .. "|" .. |
|
1589 loc("Construction Station") .. ": " .. loc("Allows placement of girders, rubber-bands, mines, sticky mines and barrels.") .. "|" .. |
|
1590 loc("Support Station") .. ": " .. loc("Allows the placement of weapons, utiliites, and health crates.") |
|
1591 , 4, 5000 |
1574 , 4, 5000 |
1592 ) |
1575 ) |
1593 |
1576 |
|
1577 SetAmmoTexts(amAirAttack, loc("Structure Placer"), loc("Construction Mode tool"), loc("Build one of multiple different structures|to aid you in victory, at the cost of energy.") .. "| |" .. |
|
1578 loc("Healing Station: Heals nearby hogs.") .. "|" .. |
|
1579 loc("Bio-Filter: Aggressively removes enemies.") .. "|" .. |
|
1580 loc("Weapon Filter: Dematerializes all ammo| carried by enemies entering it.") .. "|" .. |
|
1581 loc("Reflector Shield: Reflects enemy projectiles.") .. "|" .. |
|
1582 loc("Generator: Generates energy.") .. "|" .. |
|
1583 loc("Respawner: Resurrects dead hogs.") .. "|" .. |
|
1584 loc("Teleportation Node: Allows teleportation| between other nodes.") .. "|" .. |
|
1585 loc("Construction Station: Allows placement of| girders, rubber, mines, sticky mines| and barrels.") .. "|" .. |
|
1586 loc("Support Station: Allows placement of crates.") .. "| |" .. |
|
1587 |
|
1588 loc("Left/right: Choose structure type|Cursor: Build structure")) |
|
1589 |
|
1590 SetAmmoTexts(amNapalm, loc("Crate Placer"), loc("Construction Mode tool"), loc("This allows you to create a crate anywhere|within your clan's area of influence,|at the cost of energy.|Up/down: Choose crate type|Left/right: Choose crate contents|Cursor: Place crate")) |
|
1591 SetAmmoTexts(amDrillStrike, loc("Object Placer"), loc("Construction Mode tool"), loc("This allows you to create and place mines,|sticky mines and barrels anywhere within your|clan's area of influence at the cost of energy.|Up/down: Choose object type|Left/right: Choose timer (for mines)|Cursor: Place object")) |
1594 |
1592 |
1595 sCirc = AddVisualGear(0,0,vgtCircle,0,true) |
1593 sCirc = AddVisualGear(0,0,vgtCircle,0,true) |
1596 SetVisualGearValues(sCirc, 0, 0, 100, 255, 1, 10, 0, 40, 3, 0x00000000) |
1594 SetVisualGearValues(sCirc, 0, 0, 100, 255, 1, 10, 0, 40, 3, 0x00000000) |
1597 |
1595 |
1598 for i = 0, ClansCount-1 do |
1596 for i = 0, ClansCount-1 do |