()
| 192 | } |
| 193 | |
| 194 | func (c ScriptContainer) Unlock() { |
| 195 | if container, ok := c.roomRecord.Containers[c.name]; ok { |
| 196 | container.Lock.SetUnlocked() |
| 197 | c.roomRecord.Containers[c.name] = container |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | func (c ScriptContainer) GetItems() []ScriptItem { |
| 202 | if container, ok := c.roomRecord.Containers[c.name]; ok { |