reaperrr
f1a9a5180d
Use real (milli)seconds for notifications
...
Allows for more fine-grained control, while
adding independence from gamespeed and getting
rid of magic * 25 multiplications.
2021-04-21 19:34:16 +02:00
Paul Chote
0bdd46451e
Overhaul resource layer logic:
...
* ResourceType trait has been removed.
* Simulation-related data is now defined on the
ResourceLayer (which mods can subclass/replace).
* Support non-money resources by moving the resource
values to the PlayerResources trait.
* Allow mods to disable the neighbour density override
and instead always use the map-defined densities.
* Allow mods to define their own resource placement
logic (e.g. allow resources on slopes) by subclassing
(Editor)ResourceLayer.
* Improve ability to subclass/override ResourceRenderer
by exposing more virtual methods.
2021-03-20 16:45:41 +01:00
Mustafa Alperen Seki
be88c33399
Add a lobby option to disable Concrete in D2k.
2020-10-06 13:29:33 +02:00
Pavel Penev
1354ffc32e
Added multiple production speedup to D2k
...
Based on the specification in issue 18051.
2020-05-27 10:32:35 +02:00
Pavel Penev
3723939c99
Adjusted D2k build times to match the original game
...
Removed custom production queue speedups and custom actor build time slowdowns and adjusted BuildDurations based on the specifications in issue 18051.
2020-05-27 10:32:35 +02:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
teinarss
a47f60d3a6
Add a trait PlayerRadarTerrain to track explored terrain
2019-11-20 16:24:56 +01:00
teinarss
12484caf04
Added field to ProductionQueue to customize ordering in ObserverProductionIconsWidget
2019-05-26 19:04:54 +01:00
Paul Chote
492b5aec82
Save and restore viewport position / selection / control groups.
2019-04-20 14:54:48 +02:00
reaperrr
927b6cd561
Convert AIHarvesterManager into *Module
2018-11-04 01:11:00 +01:00
Mustafa Alperen Seki
47c4be9191
Update mods for LowPowerSlowdown to LowPowerModifier
2018-10-08 21:38:30 +01:00
Andre Mohren
d7f81d4a20
Extracted Win and Lose and Leave notifications MissionObjectives.
2018-09-24 22:43:14 +02:00
Andre Mohren
fac758f38e
ProductionQueue notifications now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
c2b1a5f4e0
Extracted BuildingCannotPlaceAudio to PlaceBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
8834cee13c
PlaceBuilding notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
7057e32902
PowerManager notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
e353ff326e
Extracted CashTickUp and CashTickDown to PlayerResources.
2018-09-24 22:43:14 +02:00
Voidwalker
398ae75525
Added fully random spawn position option.
2018-06-03 12:27:20 +01:00
reaperrr
4c16e51f92
Add EditorPlayer to all mods
...
To prevent the editor from loading unnecessary or even incompatible
player traits.
2018-04-06 20:46:47 +02:00
Alexis Hunt
157a783df5
Correct UI for unslowed queues in low power.
...
Because of the way the tick logic works, 0 (or any negative number) for
LowPowerSlowdown is functionally equivalent to 1. But LowPowerSlowdown
is multipled by a time in several cases, so while 1 will produce the
correct result (no slowdown), 0 will say that the time remaining is
00:00. Forbid nonpositive values, and correct the d2k mod which was
using 0.
Additionally, in the production tooltip, the colour should display as
white even in low power if there is no slowdown.
2018-01-13 16:13:59 +01:00
Alexis Hunt
f0267ccb51
Do not speed D2K upgrades up based on buildings.
2018-01-11 11:59:09 +01:00
Mustafa Alperen Seki
956dbb762c
Add Harkonnen 7
2017-12-21 22:54:57 +01:00
Mustafa Alperen Seki
fe01afe794
Move Update Queue to bottom on Player.yaml and ingame-player.yaml
2017-12-18 19:22:07 +00:00
Paul Chote
49f0e4ebcf
Fix incorrectly named lobby option properties.
2017-12-17 14:51:10 +02:00
Paul Chote
97cdce7448
Add additional metadata to lobby options.
2017-12-12 22:43:11 +01:00
abcdefg30
880f90345e
Add an upgrade rule
2017-03-18 13:42:49 +01:00
Paul Chote
1ef3e246d1
Convert GlobalUpgradable to conditions.
2016-12-13 19:30:41 +00:00
Zimmermann Gyula
5eec9ef463
Automatically upgrade rules.
2016-08-21 12:05:34 +02:00
Oliver Brakmann
d292f15cc2
Enable player experience tracking in mod rules
2016-07-19 20:20:38 +02:00
Paul Chote
d27d265bdd
Add Id field to ProvidesTechPrerequisite.
2016-06-04 10:03:05 +01:00
Oliver Brakmann
a8ead3669d
Enable the insufficient funds warning in ra, d2k and ts
2016-04-11 19:06:18 +02:00
Oliver Brakmann
41388b9c63
Revert the previous InsufficientFundsWarning implementation
2016-04-11 19:06:18 +02:00
reaperrr
38cea38f6b
Migrate BuildSpeed from float to int
2016-03-24 18:43:48 +01:00
abcdefg30
fad0ed7124
Make use of the new InsufficientFunds warning in ra, d2k and ts
2016-02-23 22:16:54 +01:00
Emiel Suilen
3e63869bd1
Eliminated superfluous linendings
2016-01-01 16:22:19 +01:00
Sean Hunt
8f4ec87b63
Factor silos needed warning to a new trait.
2015-12-27 14:40:37 -05:00
Paul Chote
dffd2c87cd
Add upgraded tag to D2K production structures.
2015-11-24 23:21:19 +00:00
abcdefg30
e8cb0a3d48
Add production acceleration to d2k
...
except for starports
2015-11-15 01:48:07 +01:00
OmegaBolt
51a4147b69
D2k 7000 start cash option
2015-11-07 02:26:02 +00:00
reaperrr
bccfc33859
D2k original queue build speeds
2015-09-27 04:56:39 +02:00
Paul Chote
6dae4da8f1
Update D2K rules.
2015-06-19 22:02:06 +01:00
OmegaBolt
f3ec07d4e4
Add Upgrade production queue to D2k
2015-05-21 21:26:10 +03:00
Paul Chote
7eae157ad8
Rework player palette loading.
2015-05-10 00:01:14 +01:00
Paul Chote
d255a3989e
Upgrade mod rules.
2015-04-30 07:35:27 +12:00
penev92
efee3598f9
Add D2k harvester insurance on worm frenzy
2015-03-22 17:00:59 +02:00
penev92
a4a8a793df
Add EnemyWatcher trait to D2k and AnnounceOnSeen to D2k units and sandworms; remove sandworm announcement on worm spawn
2015-01-17 14:41:23 +02:00
Paul Chote
de8f3c3530
Add missing EOF newline to mod yaml files.
2014-10-19 21:06:50 +13:00
Matthias Mailänder
e6a1a2632e
add captureable tech for Dune 2000
2014-08-24 08:41:54 +02:00
Oliver Brakmann
cca6646927
Add mission objectives to Lua interface
2014-08-08 13:35:43 +02:00
Oliver Brakmann
a3bf3e7403
Add support for mission objectives
...
Objectives can be either primary or secondary objectives. Primary ones
influence the outcome of the game. If all primary objectives are
completed the game is won, and lost when any of them fails.
Objectives can be added at any stage during the game, allowing to react
dynamically to game events.
The objectives backend only contains the information about the
objectives themselves. It does not check if objectives are completed or
failed. Instead, the state of objectives must be manually marked. The
backend, however, does check whether the game is won or lost.
2014-08-07 16:56:17 +02:00