Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

better item-spawning documentation

Open dynst opened this issue 7 months ago • 1 comments

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

ITEM_SPAWN.md documents the "count" field, which sounds like it means the total count of individual items, but as implemented it might actually mean the number of full stacks of items?

MAP_GEN.md documents fields like "chance" and "repeat" but they aren't in the item-spawning docs.

Solution you would like.

Document the intended interaction between "count" and a spawned item's "stack_size". If you spawn polycarbonate_sheet or nail with "count": 3, will it technically spawn 60 sheets and 300 nails?

Document "chance" and how "repeat" interacts with item fields: if an item has a container-item, does the container repeat, or do more items get added to the container?

Describe alternatives you have considered.

No response

Additional context

No response

dynst avatar May 21 '25 01:05 dynst

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Jun 06 '25 07:06 github-actions[bot]