restoreEquipment
restoreEquipment(
entity,saved):void
Wears a save’s items on the entity, and puts their modifiers on its stats from what each item is now: every slot’s source is taken off first, so the modifiers a save’s stats hold count once, and a worn item the game no longer registers is dropped with its modifiers, with a warning in development. A slot the engine does not have is left out.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
saved |
SavedEquipment |
Returns
Section titled “Returns”void