Chris Forbes
51e000599a
Convert crushclasses to bitset
2018-07-28 21:28:46 +01:00
Zimmermann Gyula
51a99cb43c
Special-case the player actor on GCOnBotOwner.
2018-07-28 17:59:34 +02:00
Mustafa Alperen Seki
5a780577b9
Add Desc() field to GrantConditionOnDeployInfo.
2018-07-28 16:32:37 +01:00
Zimmermann Gyula
f07460edd2
Convert GrantConditionOnDeploy to a pausableconditional trait.
...
Also remove CanUndeploy as pausing achieves the same effect.
2018-07-28 16:32:37 +01:00
Paul Chote
fd49e487ec
Fix MCV deploy erasing Iron Curtain history.
2018-07-22 13:45:37 +01:00
Paul Chote
1ac13de4b2
Remove byte order marks from C# files.
2018-07-01 11:08:32 +02:00
Michael Silber
b199f45f04
Account for custom terrain layers in GrantConditionOnTerrain.
2018-05-10 20:57:01 +02:00
reaperrr
81343926b6
Split Locomotor trait from Mobile
...
Add GrantConditionOn*Layer traits
This allows to
- drop some booleans from Locomotor
- drop a good part of the subterranean- and jumpjet-specific code/hacks from Mobile
- grant more than 1 condition per layer type (via multiple traits)
- easily add more traits of this kind for other layers
2018-05-03 10:49:21 +02:00
Zimmermann Gyula
b5893d4c6d
Implement GrantExternalConditionToCrusher.
2018-04-08 19:04:05 +02:00
Pavel Penev
b620e8107f
Added GrantRandomCondition trait.
2018-03-08 18:15:54 +01:00
Mustafa Alperen Seki
491f808b75
Add GrantConditionOnFaction.
2018-02-06 21:09:38 +01:00
Paul Chote
2fccfdf1ee
Add support for disabling IIssueDeployOrders.
2018-01-28 18:06:30 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
5425a5a28e
Replace CanPowerDown with ToggleConditionOnOrder.
2017-12-27 20:18:27 +01:00
Mustafa Alperen Seki
f7de5d46be
Allow GrantConditionOnPrerequisite to work on Player:
2017-12-27 02:31:07 +01:00
reaperrr
01a88862b3
Remove IDisable for good
2017-12-17 21:18:44 +00:00
GSonderling
488cec64b8
Added support for filtering exits by production type.
2017-12-13 04:08:52 +01:00
reaperrr
786a0eb07f
Refactor PowerManager and RequiresPower to use conditions
...
Instead of Actor.IsDisabled.
Added INotifyPowerLevelChanged interface to do so as efficiently as possible.
2017-11-13 03:09:05 +02:00
Forcecore
4c78a05081
ADD GrantConditionOnAttack Trait
...
Useful for making Gattling weapons (Yuri's Revenge and C&C Generals) or
Boris (RA2) / Natasha (RA3) call for airstrike.
2017-11-04 17:18:24 +01:00
reaperrr
8533debc44
Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld
2017-10-07 10:17:11 +02:00
reaperrr
5026dfe5d3
Require explicit INotifyCreated
2017-09-28 13:14:08 +02:00
reaperrr
28e1f391e0
Make ITick require explicit implementation
2017-09-16 15:51:37 +02:00
atlimit8
fd6b2c0107
Move timers from ConditionManager to ExternalCondition
2017-08-27 12:43:27 +01:00
atlimit8
c61cd37bec
ExternalCondition: List<struct TimedToken> timedTokens
2017-08-27 12:43:27 +01:00
atlimit8
62c76b8ae9
ExternalCondition: remove timedTokensBySource
2017-08-27 12:43:27 +01:00
atlimit8
f51323daa3
ExternalCondition: remove unneeded source references
2017-08-27 12:43:27 +01:00
atlimit8
c7d3c3ec73
Changes to ExternalCondition.TryRevokeCondition
2017-08-27 12:43:27 +01:00
atlimit8
8a825f2999
Add VariableExpression.NoVariables
2017-08-25 15:10:28 +02:00
reaperrr
cab6a96b16
Allow skipping make anim for actors with WithMakeAnimation and GrantConditionOnDeploy
2017-08-17 22:03:42 +01:00
Paul Chote
ab1a798d04
Add GrantConditionOnBotOwner trait.
2017-07-07 21:31:45 +01:00
Forcecore
100abe3246
Requested changes applied
...
* private this.info --> public Info for GCOnDeploy
* Parameter change for (un)deploy activities
2017-06-20 23:42:14 -05:00
Forcecore
a7cedc54ff
Deploy activities for mods and future AI scripting
2017-06-20 23:42:14 -05:00
Forcecore
728162e688
GCOnDeploy's ValidTerrain() takes location parameter
...
Fixes ##13394.
Possible use: AI's future deploy planning when the actor isn't actually
there yet. Also used in my mod for Slave Miner's deploy planning
2017-06-17 19:00:07 +02:00
Paul Chote
e8d6d63707
Add IIssueDeployOrder.
2017-06-06 08:53:54 -06:00
reaperrr
aa8d9f5dda
Fix GrantConditionOnDeploy to support multiple sprite bodies
2017-05-14 00:22:26 -05:00
atlimit8
748afad45e
Added PausableConditionalTrait abstract trait
2017-04-30 09:47:28 -05:00
atlimit8
18eddf4a70
Convert ProximityExternalCondition from disable-able to conditional.
2017-04-30 09:46:56 -05:00
Paul Chote
a83c0f96dd
Add GrantConditionOnLineBuildDirection trait.
2017-04-23 00:44:10 +01:00
Paul Chote
f8af51643d
Add LineBuildSegmentExternalCondition.
2017-04-23 00:44:10 +01:00
Paul Chote
ac53bc502e
Remove bogus Requires<HealthInfo> from GrantConditionOnDisabled.
2017-04-23 00:44:08 +01:00
atlimit8
d433473249
Replace IConditionConsumer w/ variable observers for multiple variable expressions for traits.
2017-04-22 08:36:18 -05:00
atlimit8
b0187dd646
Added (Boolean|Integer)Expression subclasses of VariableExpression
2017-04-11 02:52:54 -05:00
atlimit8
e73d3922dd
Rename ConditionExpression => VariableExpression
2017-04-11 01:26:38 -05:00
atlimit8
8f2f54f92f
Fix ConditionManager.GrantCondition doc
2017-04-06 22:05:16 -05:00
abcdefg30
e1dda2bf54
Fix GrantConditionOnPrerequisite not refreshing when the actor's owner changes
2017-03-19 02:30:45 +01:00
abcdefg30
b2b3390bc0
Move GrantConditionOnPrerequisite into the Conditions folder
2017-03-19 02:29:26 +01:00
atlimit8
725cc7c084
Removed StackedCondition trait
2017-02-22 08:54:52 -06:00
atlimit8
65725efd04
Make ConditionExpression use counts.
2017-02-22 08:54:50 -06:00
atlimit8
d83dae5587
Rename BooleanExpression => ConditionExpression
2017-02-22 08:54:50 -06:00
Paul Chote
da5a725458
Add support for per-source and total external condition caps.
2017-02-18 19:10:22 +00:00