CleverRaven/Cataclysm-DDA

Terrain and furniture upgrades

Open

#75 708 ouverte le 15 août 2024

Voir sur GitHub
 (4 commentaires) (2 réactions) (0 assignés)C++ (3 991 forks)batch import
(P5 - Long-term)<Suggestion / Discussion>Fields / Furniture / Terrain / TrapsHelp Wanted[C++]

Métriques du dépôt

Stars
 (9 264 stars)
Métriques de merge PR
 (Merge moyen 4j 17h) (378 PRs mergées en 30 j)

Description

Is your feature request related to a problem? Please describe.

Monsters can upgrade and grow into other things based on ingame elapsed time or the monsters own lifetime. Terrain and furniture are lacking that ability. This has 2-3 main usecases:

  1. Making plants mutate just like monsters do. E.g entire abandoned corn fields growing into something sinister.
  2. Plants growing and maturing, e.g young trees mature into grown trees given enough time.
  3. Making e.g roads (well, their asphalt terrain) deteriorate over time.

Solution you would like.

I think it would be feasible to have the same approach, in terms of syntax, as monsters upgrading.

"upgrades": { "half_life": 30, "into_group": "t_region_groundcover_forest_upgrade" },

Terrain/furniture groups are a bit weird as of writing, that might be a good motivation to get those properly fixed up, too.

The big fun will probably be optimization since we have much more potentially upgradable terrain/furniture than spawned monsters.

Describe alternatives you have considered.

No response

Additional context

No response

Guide contributeur