AddPersistenceToCharacters object
Object table AddPersistenceToCharacters in plugin/migrations/20261009100500_add_persistence_to_characters.lua
Part of Characters System
Migration that adds the data, ammo, armor and banned columns to the characters
table and drops the ammunitions table.
data holds the generic data of a character and ammo its reserve ammo, both as serialized
tables; armor is saved next to the existing health, and banned marks a character that
may not be loaded. The ammunitions table is replaced by ammo.
Summary
Methods
change()shared
Adds the data, ammo, armor and banned columns to characters and drops the ammunitions table.
Methods
AddPersistenceToCharacters:change()
shared plugins/characters/plugin/migrations/20261009100500_add_persistence_to_characters.lua:11Adds the data, ammo, armor and banned columns to characters and drops the ammunitions table.