ChangeLog.txt
changeset 13576 e5761b37e99c
parent 13574 9c83afd65e8c
child 13577 66460d5f0d9b
equal deleted inserted replaced
13575:213f2bef8a24 13576:e5761b37e99c
    68 Lua API:
    68 Lua API:
    69  + New call: Retreat(time [, respectGetAwayTimeFactor): Force current turn into retreating mode
    69  + New call: Retreat(time [, respectGetAwayTimeFactor): Force current turn into retreating mode
    70  + New call: GetAmmoTimer(gearUid, ammoType): Returns current set timer for given ammoType and hog gear in ms. Returns nil for non-timerable ammo
    70  + New call: GetAmmoTimer(gearUid, ammoType): Returns current set timer for given ammoType and hog gear in ms. Returns nil for non-timerable ammo
    71  + New call: EnableSwitchHog(): Enable hog switching
    71  + New call: EnableSwitchHog(): Enable hog switching
    72  + New call: GetAmmo(ammoType): Returns ammo configuration (corresponds to SetAmmo)
    72  + New call: GetAmmo(ammoType): Returns ammo configuration (corresponds to SetAmmo)
       
    73  + New call: GetVampiric(): Returns true if vampirism is currently active
       
    74  + New call: GetLaserSight(): Returns true if laser sight (as utility) is currenctly active (ignoring sniper rifle)
    73  + New parameter: SetAmmoTexts: 5th param. showExtra: Set to false to hide texts like “Not yet available”
    75  + New parameter: SetAmmoTexts: 5th param. showExtra: Set to false to hide texts like “Not yet available”
    74  + New parameter: ShowMission: 6th param. forceDisplay: Set to true to prevent this particular mission panel to be hidden manually by player
    76  + New parameter: ShowMission: 6th param. forceDisplay: Set to true to prevent this particular mission panel to be hidden manually by player
    75  + New Lua library: Achievements
    77  + New Lua library: Achievements
    76  * Changed global: lfCurrentHog becomes lfCurHogCrate
    78  * Changed global: lfCurrentHog becomes lfCurHogCrate
    77  * Fixed variable: TotalRounds was -1 (instead of 0) in first real round after hog placement phase
    79  * Fixed variable: TotalRounds was -1 (instead of 0) in first real round after hog placement phase