21 lines
		
	
	
		
			452 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			452 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| local Bonfire = {}
 | |
| local GamePlayUtils = require("GamePlay.Utils")
 | |
| local Utils = require("GamePlay.Utils")
 | |
| 
 | |
| local item_effect_health_tag = "Change.Role.Health"
 | |
| local item_effect_hunger_tag = "Change.Role.Health"
 | |
| 
 | |
| 
 | |
| function Bonfire:ctor()
 | |
| end
 | |
| 
 | |
| function Bonfire:ReceiveBeginPlay()
 | |
|     self.Inventory:SetInventoryCapacity(20)
 | |
| end
 | |
| 
 | |
| function Bonfire:StoreItem(item_id)
 | |
|     return self.Inventory:DepositItems(item_id, 1)
 | |
| end
 | |
| 
 | |
| 
 | |
| return Class(nil, nil, Bonfire) |