OutpostUniverse / OPHD

OutpostHD - Open source remake of Sierra On-Line's Outpost
BSD 3-Clause "New" or "Revised" License
107 stars 20 forks source link

Implement structure integrity decay #20

Closed ldicker83 closed 3 years ago

ldicker83 commented 6 years ago

Each Structure will have an Integrity attribute that degrades as the structure ages. Different structures will degrade at different rates based on what they do (e.g., fusion reactors will degrade faster than agridomes, agridomes will degrade faster than storage tanks, etc).

The decay rate will be affected by difficulty.

Structures not kept well maintained will eventually fail and become disabled. If they continue to be neglected they will eventually collapse.

So anyway, this task will be complete when the Structure object is modified as follows:

cugone commented 4 years ago

I've got this feature stubbed out in every structure. What needs to be enumerated is the gameplay mechanics of each structure's custom decay rate and even if they should decay.

ldicker83 commented 3 years ago

Completed in #976