diff options
Diffstat (limited to 'client/scripts/tiles/floor.gd')
| -rw-r--r-- | client/scripts/tiles/floor.gd | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/client/scripts/tiles/floor.gd b/client/scripts/tiles/floor.gd index 0c4af8a0..380f3d6d 100644 --- a/client/scripts/tiles/floor.gd +++ b/client/scripts/tiles/floor.gd @@ -41,6 +41,14 @@ static func interact_target() -> Vector3:  func interact():  	pass +func progress(p: float, warn: bool): +	if item != null: +		item.progress(p, warn) + +func finish(warn: bool): +	if item != null: +		item.finish(warn) +  func put_item(i: Item):  	if item != null:  		push_error("already holding an item")  |