(itemName string)
| 953 | } |
| 954 | |
| 955 | func (a ScriptActor) FindInBackpack(itemName string) *ScriptItem { |
| 956 | itm, found := a.characterRecord.FindInBackpack(itemName) |
| 957 | if !found { |
| 958 | return nil |
| 959 | } |
| 960 | si := newScriptItem(itm) |
| 961 | return &si |
| 962 | } |
| 963 | |
| 964 | func (a ScriptActor) FindOnBody(itemName string) *ScriptItem { |
| 965 | itm, found := a.characterRecord.FindOnBody(itemName) |
nothing calls this directly
no test coverage detected