Skip to content

feat: cloning improvements, NPC clones#8249

Draft
shmakota wants to merge 2 commits intocataclysmbn:mainfrom
shmakota:cloning_improvements
Draft

feat: cloning improvements, NPC clones#8249
shmakota wants to merge 2 commits intocataclysmbn:mainfrom
shmakota:cloning_improvements

Conversation

@shmakota
Copy link
Collaborator

@shmakota shmakota commented Feb 26, 2026

Purpose of change (The Why)

You currently can't clone NPCs, but can clone everything else.
There's also some weird behavior with cloning-related content, this aims to mitigate some of that. Also cleans up some backend stuff related to cloning and extra item variables.

Describe the solution (The How)

Allows NPCs to be cloned. (to-do: require multiple samples or something, increase cloning time) Clones will copy gender, age, height, all traits that aren't specifically marked to be shed upon cloning or background traits, and physical stats at the time of cloning. Skills aren't copied as they are assumed to be learned, while stats are assumed to be physical improvements (maybe we can handwave it with some blob magic).

Swaps a few things over to use the requirements system, which makes using cloning vats with nearby items on the ground much cleaner and more straightforward.

Cloning stuff can be hard to understand for the survivor at the moment. Add some snippets and other hints towards it & how it functions in game. (to-do)

Describe alternatives you've considered

Not copying stats, or gender, etc. This can all be debated upon.

Testing

Do the generic cloning routine, but target an NPC or yourself. Confirm a clone pops out.

Additional context

Checklist

Mandatory

@github-actions github-actions bot added src changes related to source code. JSON related to game datas in JSON format. lua PRs and issues related to Lua scripting labels Feb 26, 2026
@DeinonychusDiscord
Copy link
Contributor

This is exciting stuff. Looking forward to seeing how this could play out in future mission lines!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JSON related to game datas in JSON format. lua PRs and issues related to Lua scripting src changes related to source code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants