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

Method StoreItem

internal/scripting/pet_func.go:224–229  ·  view source on GitHub ↗
(itm ScriptItem)

Source from the content-addressed store, hash-verified

222}
223
224func (p ScriptPet) StoreItem(itm ScriptItem) bool {
225 if p.petRecord == nil || itm.itemRecord == nil {
226 return false
227 }
228 return p.petRecord.StoreItem(*itm.itemRecord)
229}
230
231func (p ScriptPet) RemoveItem(itm ScriptItem) bool {
232 if p.petRecord == nil || itm.itemRecord == nil {

Callers 1

GiveItemMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected