dnqbob
ca8341d432
Avoid WaterCheck crash in base builder
2020-10-10 11:44:43 +02:00
Paul Chote
dd18829def
Traits: add ICreatePlayersInfo
...
Signed-off-by: Clément Bœsch <u@pkh.me >
2020-10-10 01:17:39 +02:00
Mustafa Alperen Seki
3ec3eac160
Don't StartOnThreshold if the trait is disabled.
2020-10-06 13:29:33 +02:00
Paul Chote
fc1786e243
Fix turrets immediately realigning on actor creation.
2020-10-05 15:13:48 +02:00
reaperrr
8d1f72c104
Fix for SquadManagerBotModule
...
Aircraft and ships are immediately assigned a squad,
so adding them to `unitsHangingAroundTheBase` is bogus.
2020-10-04 00:31:35 +01:00
reaperrr
6337067032
Clean up property names + defaults of smudge smoke
2020-10-02 23:46:48 +02:00
reaperrr
7395a3ed2d
Use cached world instead of query in SmudgeLayer
2020-10-02 23:46:48 +02:00
abcdefg30
cc8908d7eb
Make ProductionParadrop and ProductionAirdrop refund undelivered actors
2020-10-02 11:51:48 +02:00
abcdefg30
0dac4520ad
Add a 'refundableValue' parameter to 'Produce'
2020-10-02 11:51:48 +02:00
tovl
92189e4b50
Let docking angle be determined by the host building.
2020-10-02 11:28:14 +02:00
abcdefg30
798aff1140
Fix ValidStances of RevealsMap not working
2020-10-02 11:17:03 +02:00
Matthias Mailänder
7e992d44c8
Fix a crash when refineries share a cell.
2020-09-28 12:45:20 +02:00
Mustafa Alperen Seki
3e83346915
Add DamageTypes to SoundOnDamageTransition.
2020-09-27 21:22:52 +01:00
Mustafa Alperen Seki
761d3583c4
Add DeathTypes to ShakeOnDeath.
2020-09-27 21:22:52 +01:00
abcdefg30
4627387ae3
Document the 'CancelActivity' field
2020-09-26 23:20:00 +01:00
abcdefg30
fd69bce609
Use CancelActivity instead of hackily using ResolveOrder
2020-09-26 23:20:00 +01:00
Paul Chote
b72a58b917
Add missing ActorReferences to yaml dictionaries.
2020-09-15 09:27:50 +02:00
Paul Chote
290e214638
Remove unexpected RenderSprite.FactionImage fallback.
2020-09-12 17:52:46 +02:00
Paul Chote
cd9bf53e1a
Use nameof() to reference image fields.
2020-09-12 17:52:46 +02:00
Paul Chote
5d6961619d
Fix WithIdleOverlayInfo Image override.
2020-09-12 17:52:46 +02:00
Paul Chote
94180f6a0a
Add SequenceReference support for dictionaries.
2020-09-12 17:52:46 +02:00
Paul Chote
7803686aec
Rewrite sequence linting / missing file handling.
...
- Distinguish between missing sequences and missing sprites
- Lint default sequences as well as maps
- Improved performance
- Correctly handle null images
2020-09-12 17:52:46 +02:00
Paul Chote
b8e60ca8ec
Fix SequenceReference definitions.
2020-09-12 17:52:46 +02:00
Paul Chote
ffdb3f86d7
Move mod-specific lint attributes to Mods.Common.
2020-09-12 17:52:46 +02:00
abcdefg30
ad3722e19f
Add support for circumventing the target scan limit in AttackMove
2020-09-12 00:30:33 +02:00
abcdefg30
4669d6b378
Work around a sound issue when loading saves
2020-09-12 00:18:25 +02:00
abcdefg30
9f093da61e
Unhardcode the leeway range of AttackFollow
2020-09-11 23:55:57 +02:00
abcdefg30
3fc5859f08
Add 'AddToAssetsValue' to 'UpdatesPlayerStatistics'
2020-09-11 23:44:30 +02:00
Paul Chote
9cd6df2929
Replace DecorationPosition with mod-defined string ids.
2020-09-09 23:16:05 +02:00
reaperrr
1344b1f2e3
Remove system order checks from PlayerStatistics
...
ResolveOrder for actors isn't even used
for these.
2020-09-05 17:22:04 +01:00
reaperrr
36df25dcb4
GivesExperience performance optimization
...
Move some look-ups to creation to reduce contribution
to actor death cost.
2020-09-05 17:16:00 +01:00
reaperrr
84246d287d
Merge two ifs into one in SpawnActorOnDeath
2020-09-05 17:16:00 +01:00
reaperrr
6d0fbfa21f
Explodes performance optimization
...
Cache armaments on creation, avoid LINQ.
Also merge and put first the DamageThreshold == 0
check in Damaged, because the common default IS 0,
so most of the time the IsTraitDisabled and
IsInWorld checks are redundant.
2020-09-05 17:16:00 +01:00
reaperrr
c8afa4a2a8
Remove defenderStats look-up from UpdatePlayerStatistics
...
playerStats is updated on owner change,
so it should always be identical to the removed defenderStats.
2020-09-05 11:12:38 +02:00
Matthias Mailänder
c48eb572e3
Remove MuzzleSplitFacings and expose MuzzleSequence to testing.
2020-09-01 18:53:43 +02:00
reaperrr
15fc27d142
Use cached selected in SelectionDecorationsBase
2020-08-28 12:24:07 +02:00
tovl
db9744ea7f
Let TS aircraft turn slower when circling.
2020-08-27 21:15:38 +02:00
tovl
5e62fe86fc
Add IdleSpeed to aircraft trait.
2020-08-27 21:15:38 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
d52e4793fe
Refactor classes to structs
2020-08-19 11:54:29 +02:00
abcdefg30
dd99fc93e4
Uncloak during resupply when "UncloakOn: Dock" is defined
2020-08-16 21:01:16 +02:00
Paul Chote
ad75e2be89
Remove redundant check from SupportPowerInstance.
2020-08-16 14:17:45 +02:00
Paul Chote
9886f0ca9a
Fix Harvester crash when multiple resource renderers are used.
2020-08-15 18:43:40 +02:00
Paul Chote
46cf56d6ff
Remove editor-specific resource rendering.
...
Mods must manually move their *ResourceRenderer definitions from
World onto BaseWorld to restore resource rendering in the editor.
2020-08-15 18:43:40 +02:00
Oliver Brakmann
3eeb677f14
Add LeaveMapAtClosestEdge idle behaviour for Aircraft
2020-08-15 13:38:57 +01:00
Paul Chote
ef69a3de66
Use nameof() in PaletteReference.
2020-08-15 13:41:45 +02:00
abcdefg30
07d58337f1
Let order generators account for selection changes
2020-08-15 11:34:00 +01:00
abcdefg30
b5e3f25418
Fix CashTrickler crashing without IOccupiesSpace
2020-08-15 11:21:39 +01:00