Custom NPC Framework [Beta]
A zero-permission foundational framework for creating custom store customers, multi-day branching storylines, and world integrations in Probably Stolen.
Please download from the original page.
Prerequisites
The current package's manifest.xml lists no required mods.
This framework offers a zero-reference SDK that lets you build custom NPC add-on mods by dropping a single SDK file into your project. It includes 5-phase customer generation and priority queueing with VeryEarly to VeryLate scheduling, day windows, cooldowns, once-per-save flags, arrest blacklists, and global spawn rate multipliers. A per-save storyline state machine persists namespaced (cnpcf_) key/value data via PlayerStore.ModData(). It covers 18 customer subsystems, including regular buying/selling, wholesale bundles, barter offers, multi-day procurement contracts, custom gunsmith orders, defect checks, counterfeit expose presets, realtime scale/counter callbacks, handwritten notes, terminal request bounties, holophone contacts, morning newspaper headlines, and afterhour events. Automatic portrait injection and a developer debug panel are also provided. Please refer to the original author's Workshop page for details.

Comments
0Loading comments…