1
0

overwrites.ts 209 B

12345
  1. setup.Overwrite.varRegisterByPrefix(
  2. "npc_",
  3. ((varname,index)=>State.variables.npcs.get(index.toString(), varname)),
  4. ((varname,index,v)=>State.variables.npcs.set(index.toString(), varname, v)),
  5. );