Commit Graph
30 Commits
Author SHA1 Message Date
rftrdev affc2aec31 Add mission help screen
Initialise missions properly
2022-10-23 01:27:13 -07:00
rftrdev 337bb023e3 Don't show "Mission prep in progress" if there are none 2022-10-22 23:17:19 -07:00
rftrdev 89285b4961 Remove debug mission randomisation
General cleanup
2022-10-22 22:14:22 -07:00
rftrdev 5000f965e1 Add "Soldier Bounties" mission 2022-10-22 17:54:06 -07:00
rftrdev 1448ee0cbb Prevent toggling on admin actions when the player has too few supplies
Fix toggle check in daily update
2022-10-19 11:26:01 -07:00
rftrdev c9421215e0 Toggle admin actions off if the player can't pay upkeep 2022-10-18 22:34:18 -07:00
rftrdev fcd7ed5ef6 Move text to _EnglishText 2022-10-18 22:08:09 -07:00
rftrdev 7e55488b40 Clean up some todos 2022-10-18 17:27:05 -07:00
rftrdev 3807b7fed4 Add proper checks and bonuses for active missions 2022-10-17 23:28:21 -07:00
rftrdev 1e189c54ac Add mission cost settings 2022-10-17 22:40:47 -07:00
rftrdev 572933e359 Display missions, both active and under preparation 2022-10-17 19:37:12 -07:00
rftrdev 3724de9299 Properly reset merc assignment when mission prep completes, regardless of success or failure
Fix use of merc profile id in first mission event param
2022-10-17 14:38:51 -07:00
rftrdev 61858e472a Move some text around 2022-10-17 13:56:45 -07:00
rftrdev d9697e900b Add merc contract check to StartMission
Fail mission prep if the agent is no longer in the player's employ
2022-10-17 00:39:32 -07:00
rftrdev 983aa24b1b Add settings variable for mission refresh time
Fix nullptr derefence when starting a mission with a generic agent

Limit missions to one per batch

Add popup box and screenmsg when a mission activates, fails to activates, and expires
2022-10-17 00:33:38 -07:00
rftrdev 2b88fac870 Award exp to mercs who prep a mission, regardless of whether they succeed or not 2022-10-16 20:43:21 -07:00
rftrdev e9c4b09de5 Manually align mission prep completion to top of the hour (xx:00) 2022-10-15 00:05:52 -07:00
rftrdev 2e17b4ff14 Show "No mission available" after starting a mission
Consume supplies after mission starts
2022-10-14 17:31:07 -07:00
rftrdev c8465baee2 Add POW/MiniEvent/RebelCommand assignment check for StartMission 2022-10-14 01:02:46 -07:00
rftrdev 0485aa230e A bit of cleanup 2022-10-14 00:59:42 -07:00
rftrdev dea5da5fc6 Implement "Train Militia Anywhere"
Subtract supplies when starting mission

Fix second stage mission strategic event
2022-10-14 00:26:38 -07:00
rftrdev feaf9827c9 Set up ASSIGNMENT_REBELCOMMAND
Hook up Start Mission button
2022-10-13 11:31:48 -07:00
rftrdev 8858559a10 Add checks before enabling Start Mission button
Minor UI adjustments
2022-10-12 00:58:30 -07:00
rftrdev 7b0830c060 Initial commit - SVN checkpoint to git branch 2022-10-11 00:17:12 -07:00
rftr 02a8c48873 fix ARC cashback bug: https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22776&goto=364578&#msg_364578
also remove incorrect dependency on fAssignTraitsToEnemy for HVT strikes

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9367 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-04-15 16:32:07 +00:00
Sevenfm 4f0386be62 ARC: add tooltips to admin actions to show the range of their effect (by rftr).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9303 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2022-02-16 18:26:11 +00:00
Sevenfm a8bace71fc Rebel command balancing (by rftr):
- most admin actions' effectiveness now scale with town loyalty
- added the ability to spend supplies to raise town loyalty
- fixed arc website dropdown issues
- minor code cleaning in Rebel Command.cpp

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-10-22 09:31:38 +00:00
Sevenfm 418cf24039 misc fixes (by rftr):
- cleaned up warnings in Rebel Command.cpp
- ARC: Draft directive is hidden if volunteer pool option is disabled
- fixed dropdown menu behaviour at the RIS website

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9163 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-03 05:15:54 +00:00
Sevenfm b7adaf802a Small arc update (by rftr):
- 2 new directives
- 3 new admin actions
- arc website dropdown fix
- one admin action per region can now be changed

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9161 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-09-01 16:48:13 +00:00
Flugente eca080f0f9 New feature (by rftr): Arulco Rebel Command (ARC)
Improve you cities and overall campaign by choosing out of several upgrades

Requires GameDir >= r2613

For more info, see https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24884&start=0&

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9153 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-08-22 19:00:09 +00:00