- The cHour variable was not being properly updated in the code creating a discrepancy between the game clock and it in this script. The guiHour variable already exists and is a direct copy of the guiHour in Game Clock.cpp so use this
- Add HealBoxers function after boxers rest so they don't die as easily after multiple fights
Use lua setters instead of reassigning the global so it actually does something
Reverted the time conditionals so that it only updates on the opening/closing hours instead of every hour in between. Why was this change necessary to begin with? It also makes it so it resets all the boxing variables every hour instead of daily (not that it even worked before the setter change anyway)
In practice, this fixes a few things so they work as originally intended:
Boxers will actually rest for 1 day after every 3 fights as originally intended
After every rest, boxers will get progressively stronger and harder to beat as originally intended
* Data -> Emails.xml contains both JA2 and JA2UB emails, which simplified things and we no longer need 4 different EmailSenderNameList.xml files either
* Gameinit.lua scripts have been switched over to use externalized emails
* Changed misleading wording for AdvancedRepairs setting
Changed wording to clarify that another setting in SkillSettings.ini is needed for mercs to do advacnced repairs.
* Added missing description for Advanced Repairs
Description lacked the fact that another setting in SkillSettings.ini is needed for mercs to do advanced repairs.
Added a built-in foregrip to weapons with graphics showing a built-in foregrip.
Updated attachments of Rocket Rifle and Auto Rocket Rifle, giving them attachments simular to other weapons of that range and coolness.
due to the newly added attchemt of a foregrip, the stand modifiers of that weapon in items.xml are no longer needed.
Removed them so that they don't add up to the ones provided by foregrip, would be to much otherwise.
Text changes for multi-grenade stacks (Cylinders, 4, 3) used with OIS/OAS to avoid confusion with modern grenade variations.
Text changes for built-in Grenade Launchers (i.e. OICW internal launcher), to avoid confusion with other launchers.
Text changes to M18 Claymore and Tripwire variations (multiple items used for placing those in networks or MapEditor), to avoid confusion with regular items of that kind.
Added AP cost to attachment point batteries.
Updated tags for Che G. Canteen to make it functional.
Text changes to Folding Stock and Retractable Stock variations (there are two pairs of each), to allow players to see ingame which one they found.
Adjustments to Flamethrower, to allow better functionalty. Palnned to flesh out further, considering this just a step.
Text changes to Flamethrower.
Changed graphic numbers for coated/treated (green/red) variations of EOD and SWAT armor parts. Thos now have graphics in correct colour.
Added missing tags to some items.
Added M18 Claymore to allow to transform variations placed via network or MapEditor.
That way, if player finds and disarms them, they can transform to the standard M18 Claymore.
This will allow them to accept attachments and be stackable, simular to tripwire transformation.
Adjusted tooltip texts for tripwire and claymore.
previously a glitch could happen when one attachment used batteries while weapon did have a stock attachment as well
now batteries have their own attachment slot, no longer in conflict with slot for weapon stocks