Commit Graph

19 Commits

Author SHA1 Message Date
atlimit8
bbd54cb32f Added IDisabledTrait & rewrote upgrade code using a level-based approach.
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked.  The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality.  A trait can register for multiple upgrade types which then all affect the internal level counter.

	IDisabledTrait for identifying (and filtering) disabled traits
	UpgradableTrait provides an abstract base for traits to support upgrade levels
	Added IDisabledTrait support to GlobalButtonOrderGenerator

	Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
Matthias Mailänder
d418afaab9 don't re-use regular multiplayer crates
fixes #6869
2014-11-10 20:20:10 +01:00
Paul Chote
fd14ebddb8 Remove the now-redundant ScriptInvulnerable trait. 2014-10-01 21:50:18 +13:00
abcdefg30
698d57ed82 Made dog buildable at fort lonestar 2014-09-20 17:40:10 +02:00
obrakmann
7b8e774b08 Merge pull request #6319 from abcdefg30/fortlonestar
Small cleanup on fort-lonestar map
2014-08-31 11:30:39 +02:00
abcdefg30
5b97076769 Readd correct buildingspeed modifier 2014-08-30 18:24:17 +02:00
Matthias Mailänder
911f79e86f fix production queues and prerequisites 2014-08-30 18:16:36 +02:00
abcdefg30
2e431bb95b removed unused buildable: owner: ... 2014-08-30 18:16:35 +02:00
abcdefg30
adcfdbd391 added ftur and removed hbox 2014-08-30 18:16:35 +02:00
abcdefg30
1e3804b729 unit -> units to avoid crashes 2014-08-30 18:16:34 +02:00
reaperrr
3725ce4f7b InfDeath -> DeathType renaming. 2014-08-30 18:06:05 +02:00
Paul Chote
fa3e7b5e1b Convert versus to integers. 2014-08-23 17:14:12 +12:00
reaperrr
d6ef37a750 ReloadModifier & ROF -> ReloadDelay yaml changes 2014-08-19 02:59:50 +02:00
UberWaffe
256f6bdd7b Fixed custom weapon rules in maps. 2014-08-16 10:58:04 +02:00
Taryn Hill
b6fd757672 Merge pull request #6030 from UberWaffe/CustomWarheads
Custom Warheads refactor
2014-08-03 10:35:36 -05:00
UberWaffe
c972b39687 Custom Warheads refactor
Changes included:

Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.

Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.

Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
ScottNZ
692e3a9c88 Move Power out of Building and into its own trait
Conflicts:
	mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
Matthias Mailänder
e512799eeb disable tech properly 2014-07-12 09:47:42 +02:00
Matthias Mailänder
525a0c4ff1 port Fort Lonestar to Lua 2014-06-14 07:40:52 +02:00