MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / UpdateItem

Method UpdateItem

internal/scripting/actor_func.go:402–404  ·  view source on GitHub ↗
(itm ScriptItem)

Source from the content-addressed store, hash-verified

400}
401
402func (a ScriptActor) UpdateItem(itm ScriptItem) {
403 a.userRecord.Character.UpdateItem(itm.originalItem, *itm.itemRecord)
404}
405
406func (a ScriptActor) AddEventLog(category string, message string) {
407 if a.userRecord != nil {

Callers 2

TryItemScriptEventFunction · 0.45
TryItemCommandFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected