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