Hello,
I am curious, is it possible to utilize the “snippets-infrastructure” on furniture as well?
Specifically, I was thinking about a graveyard with tombstones, which should have “random” descriptions on them.
Hello,
I am curious, is it possible to utilize the “snippets-infrastructure” on furniture as well?
Specifically, I was thinking about a graveyard with tombstones, which should have “random” descriptions on them.
I am curious, is it possible to utilize the "snippets-infrastructure" on furniture as well?No. snippets is item stuff, and applies only to items.
However, you could use the signage / cosmetics infrastructure for this. See the initial PR [DONE - REVIEW] Signs by jeremyosborne · Pull Request #7952 · CleverRaven/Cataclysm-DDA · GitHub - it probably needs some further special cases for other furniture, it currently checks the [tt]f_sign[/tt].
Hm, will it be enough to change only the iexamine thingy to also work on tombstones?
I also see a specific reference to signs in the mapgen.cpp, I’m afraid.
Thanks a lot for posting the PR though, BevapDin!