tovl
ea4f24d0b7
Rework harvester automation.
2019-04-04 19:22:25 +02:00
tovl
64cec4a0ad
Revise AttackMoveActivity.
2019-03-22 19:02:05 +01:00
abcdefg30
8578ce1346
Merge PlaceSimpleBeacon and AnimatedBeacon into PlaceBeacon and Beacon
2019-03-14 01:55:34 +01:00
abcdefg30
00b8576edf
Remove the unused INotifySold.Selling implementation
2019-03-13 23:14:35 +01:00
abcdefg30
f021439dee
Use explicit implementation in ScriptTriggers.cs
2019-03-13 23:14:35 +01:00
abcdefg30
2db2148310
Add OnAnyProduction and OnSold lua triggers
2019-03-13 23:14:35 +01:00
reaperrr
ea2e452075
Add SpawnActorEffect
...
And use it to drop DelayedAction from ReinforcementsGlobal.
2019-03-11 12:54:58 +01:00
tovl
705795abde
Activity.Cancel returns void instead of bool.
2019-03-09 21:47:43 +00:00
tovl
a17cd0fa06
Replaced Canceled state with Canceling state.
2019-03-09 21:47:43 +00:00
tovl
2e5e7c22f4
Make Mobile a PausableConditionalTrait
2019-03-07 02:50:43 +01:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
db7414e822
Include a note about the necessity of AnnounceOnSeen for OnDiscovered
2019-02-22 14:32:16 +01:00
abcdefg30
599d174f33
Fix a typo in the Lua API description of OnDiscovered
2019-02-22 14:32:16 +01:00
Paul Chote
71dd3202c3
Port EnterTransport to the new Enter activity.
...
This dramatically simplifies the reservation logic,
which seemed to be needlessly complicated. This may
regress unexpected edge-cases.
2019-02-03 20:21:51 +01:00
Paul Chote
d6b7d5c4c7
Port DonateExperience to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
cc288f5afc
Port DonateCash to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
167371d540
Port Demolish to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
e9c3216048
Port CaptureActor to the new Enter activity.
2019-02-03 20:21:51 +01:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
abcdefg30
3e93242929
Fix OnAllRemovedFromWorld only triggering once
2019-01-22 23:09:21 +00:00
Oliver Brakmann
e71a31925f
Require explicit implementation of INotifyObjectivesUpdated
2018-12-22 16:39:06 +13:00
abcdefg30
9b4db3468b
Fix CombatProperties not accounting for multiple AttackBase traits
2018-11-22 23:16:30 +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
Paul Chote
2064dc7c30
Support non-int Enum types in the Lua API.
2018-11-04 18:32:33 +01:00
abcdefg30
cde18221e6
Add Lua API support for actors with multiple Production traits.
2018-11-03 17:30:05 +01:00
Paul Chote
ea3731a7cc
Pass the original init dict to UnitProducedByOther.
2018-11-03 17:30:05 +01:00
Paul Chote
0901a7d9de
Simplify FlashTarget.
...
Now defined in terms of a flash count, interval, and delay.
Broken FlashDuration parameter removed from Demolition.
2018-11-03 15:09:14 +01:00
Paul Chote
3d6b170ec3
Support multiple capture traits in order targeter and script plumbing.
2018-11-03 14:47:22 +01:00
Paul Chote
7e67ce0139
Pass CaptureTypes through the INotifyCapture interface.
...
Also make it require explicit implementation.
2018-11-03 14:47:22 +01:00
Paul Chote
22bd7fd90b
Remove obsolete code.
2018-10-07 18:46:21 +02:00
abcdefg30
00dc161628
Add a proper exception when creating an actor with an invalid owner in Lua
2018-10-07 11:09:06 +00:00
Paul Chote
eb0e2eeb9d
Fix misc indentation errors.
2018-10-06 23:32:38 +02:00
Andre Mohren
3bfcecd539
Refactored ProductionQueue to support different production styles.
2018-09-30 16:58:49 +02:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
Mustafa Alperen Seki
d062523700
Add GetActorsByTypes.
2018-08-04 12:20:16 +02:00
Mustafa Alperen Seki
9c61217bc6
Add ability to send a radar ping with lua.
2018-07-26 00:03:45 +01:00
Mustafa Alperen Seki
2387e49ee7
Add ability to use NukePower via lua.
2018-07-04 16:41:27 +02:00
reaperrr
5364515004
Don't pass movement class via IsPassable directly
...
Let IsPassable get that info from the locomotor instead.
2018-05-03 10:49:21 +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
reaperrr
3a82b13093
Make INotifyKilled require explicit implementation
2018-04-29 11:59:49 +01:00
reaperrr
7ca9aa5e0b
Make INotifyDamage require explicit implementation
2018-04-29 11:59:49 +01:00
Paul Chote
da29250711
Move PlayerResources to Mods.Common.
2018-04-28 20:42:10 +02:00
abcdefg30
d15b462350
Remove the deprecated Difficulty member from MapGlobal (lua)
2018-03-23 20:23:09 +01:00
RoosterDragon
5bd5a384b7
Use a BitSet for representing target types.
...
- Rename Bits<T> to BitSet<T>.
- Implement set based helpers for BitSet<T>.
- When representing TargetTypes of ITargetable in various traits, use a BitSet<TargetableType> instead of HashSet<string> for better performance & reduced memory usage.
- Fix FieldLoader to trim input values when generating a BitSet<T>.
- Require T in BitSet<T> and BitSetAllocator<T> to be a class since it's just a marker value. This allows the JIT to instantiate generic code for these classes once, as they don't benefit from specialized code for T. (Typically JITs will generate shared code for all reference types, and unique code for every value type encountered).
2018-03-21 12:07:44 +01:00
reaperrr
f351f0346f
Cache map option ShortGame at game load
...
To reduce MapOptions calls.
2018-03-21 01:49:52 -03:00
Mustafa Alperen Seki
c4b0ad45e3
Add lua functions for DeliverCash and DeliverExperience
2018-02-21 21:38:43 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Mustafa Alperen Seki
fc07391c8c
Add Type Support for InfiltrateFor* traits
2017-12-27 11:13:09 +00:00