Brenton Horne
2d4d6cdc1b
Fixing several ShellCheck warnings
2018-11-22 21:30:59 +00:00
Paul Chote
807a40c209
Remove IExplodeModifier interface.
2018-11-22 22:16:56 +01:00
Paul Chote
80842fd4b8
Add GrantConditionOnPlayerResources trait.
2018-11-22 22:16:56 +01:00
Paul Chote
3be008f592
Add EmptyCondition to Harvester.
2018-11-22 22:16:56 +01:00
Paul Chote
5f2cc5981d
Remove unused IExplodeModifier from Refinery.
2018-11-22 22:16:56 +01:00
reaperrr
10e51db236
Remove hardcoded mpspawn owner lint check
...
Use RequiresSpecificOwner to enforce the owner
that owns the world instead.
Require 'Neutral' in the official mods accordingly.
2018-11-21 22:29:55 +00:00
reaperrr
1eb573bcbc
Enforce required owner in map editor
...
It can easily happen that mappers forget to set the
current player to Neutral before placing more trees,
for example, so we force the editor to set a valid owner.
2018-11-21 22:29:55 +00:00
reaperrr
fcb09d069b
Add RequiresSpecificOwners trait
...
To enforce specific owners via Lint rules,
and possibly other means later.
This is for cases where accidentally setting an
unfitting owner via editor could cause issues.
Example: AI might try to attack Creeps-owned trees
and get stuck.
2018-11-21 22:29:55 +00:00
Oliver Brakmann
310b63150f
Check for player trait prereqs in ProximityCapturable
2018-11-21 22:12:07 +00:00
Andre Mohren
c3f4bc484d
Correctly handle Production traits disabled by condition.
2018-11-21 22:13:20 +01:00
Mustafa Alperen Seki
53032576e2
Update default mods for Heal WH full health check removal
2018-11-21 19:25:45 +01:00
Mustafa Alperen Seki
6a599e57f6
Remove check for full health for negative damage warheads
2018-11-21 19:25:45 +01:00
Andre Mohren
99de33bbe3
Added smudge chance.
2018-11-21 18:00:11 +01:00
TheChosenEvilOne
e01953afa3
Made Turreted PausableConditional
2018-11-21 17:32:53 +01:00
Paul Chote
1af9efe246
Avoid a crash if subjects is empty.
...
This can happen in the rare instance that the last
actor in the selection is killed in the same tick
that the OG is activated, and GetCursor is called
before the next tick cancels the OG.
2018-11-20 21:55:55 +01:00
teinarss
3b6024c086
Defer setting slot on client to completeConnection
2018-11-19 22:05:32 +00:00
reaperrr
b8d3c9f73a
Fix aircraft being repaired mid-air
...
Repairable was originally written for ground actors,
so it's both safer and much easier to just handle this in Aircraft directly.
2018-11-19 21:40:10 +00:00
reaperrr
560d7b4ee8
Fix Repairable crash
...
MoveAdjacentTo is a Mobile-only activity.
2018-11-19 21:40:10 +00:00
reaperrr
7d695f0c8f
Fix actors in ReturnFire stance following targets
...
On bleed, if AllowMovement is true actors with ReturnFire will actually follow the acquired target, unlike in Defend stance.
This is at least unintuitive, since ReturnFire is expected to be more passive than Defend.
2018-11-18 16:19:50 +01:00
teinarss
bc009634e5
Show team/spawn widget after admin transfer.
2018-11-18 14:47:10 +01:00
Paul Chote
ad4b4dc7f8
Remove unused tileset update/save code.
2018-11-18 14:11:11 +01:00
Andre Mohren
0fca984463
Implemented InfiniteBuildAfter.
2018-11-17 17:39:18 +00:00
Andre Mohren
89051d40e8
Remove utf8 BOM.
2018-11-17 17:23:22 +00:00
Andre Mohren
7323db1492
Unified copyright regions.
2018-11-17 17:23:22 +00:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Ivaylo Draganov
db64dc82c3
Fix damaged-idle sequence of RA refinery
2018-11-16 21:33:23 +01:00
reaperrr
cd82382f68
Change CreateEffectWarhead to use World.LocalRandom
2018-11-11 19:50:16 +01:00
reaperrr
16e78b8ca8
Add LocalRandom to World
...
To - in the long term - reduce or remove Game.CosmeticRandom.
2018-11-11 19:50:16 +01:00
Mustafa Alperen Seki
becfc154c5
Add Creates/RevealsShroudMultiplier.
2018-11-10 12:14:14 +01:00
Mustafa Alperen Seki
4987d45f23
Fix a crash when protected properties are [Sync]ed.
2018-11-10 12:14:14 +01:00
Mustafa Alperen Seki
3224843d70
Add Demolition>(Force)TargetStances
2018-11-10 11:48:28 +01:00
TheChosenEvilOne
51ec97fb2c
Check for null in Turreted.StopAiming
2018-11-09 23:58:16 +01:00
reaperrr
74fa8752c9
Revert granting condition from HackyAI
...
In favor of using GrantConditionOnBotOwner.
Updated update rule and shipping mods accordingly.
2018-11-09 23:45:24 +01:00
reaperrr
4c9c8bf7fc
Remove unused HarvesterEnemyAvoidanceRadius
...
...from HackyAI. This removal either got lost during rebase,
or was simply forgotten to apply when partially rewriting HarvesterBotModule.
2018-11-07 11:01:21 +01:00
Paul Chote
2064dc7c30
Support non-int Enum types in the Lua API.
2018-11-04 18:32:33 +01:00
Chris Forbes
d653614e75
Replicate palette high bits into the low bits
...
Previously we didn't quite get the full range -- the most intense value we
could produce was 0xfc.
2018-11-04 15:06:50 +01:00
abcdefg30
ae0a0163cc
Fix DamagesConcreteWarhead crashing when a target becomes invalid
2018-11-04 10:49:29 +00:00
Ivaylo Draganov
31f2441709
Draw target lines for allied players and observers
2018-11-04 06:34:43 +01:00
reaperrr
927b6cd561
Convert AIHarvesterManager into *Module
2018-11-04 01:11:00 +01:00
reaperrr
04c69efc30
Prepare HackyAI for module support
...
- Split order handling to BotOrderManager
- Make HackyAI provide a condition
- Move BotDebug to AIUtils
2018-11-04 01:11:00 +01:00
reaperrr
71fb670def
Move InitialFacing to ^Helicopter default
...
In RA and TD mods.
2018-11-04 00:25:55 +01:00
reaperrr
92912c6c94
Add TurnToDock to Aircraft
...
Instead of hard-coding a turn before VTOLs
land/dock on resupplier.
2018-11-04 00:25:55 +01:00
reaperrr
e2227b9450
Make HeliReturnToBase use a landingProcedures list
...
Like ReturnToBase already does. Makes them easier to compare and later merge.
2018-11-04 00:25:55 +01:00
reaperrr
577fc1c409
Remove separate AircraftInfo caching from ReturnToBase
...
This extra info caching was overkill and most likely had zero effect on performance.
2018-11-04 00:25:55 +01:00
reaperrr
54d3656205
Move CalculateTurnRadius up in ReturnToBase
...
Just a slight readability improvement.
2018-11-04 00:25:55 +01:00
Mustafa Alperen Seki
a3d9822bb3
Update TD mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
b1db79cce2
Update D2k mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
faad2b8653
Update TS mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
d9ecbb0351
Update RA mod for Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00
Mustafa Alperen Seki
dd39ab5b12
Add Update Rule to change Cloak>RequiresCondition to PauseOnCondition
2018-11-03 22:40:28 +00:00