tmp commit
This commit is contained in:
@@ -208,6 +208,12 @@ func place_item(item: PackedScene):
|
||||
{
|
||||
"type": new_item.name,
|
||||
})
|
||||
|
||||
# Custom setup needed
|
||||
if item == EXTRACTOR_SCENE:
|
||||
new_item.setup(object_at_coords['value'])
|
||||
else:
|
||||
print("No custom setup for %s" % item)
|
||||
|
||||
func delete_item(target_pos: Vector2i):
|
||||
var targets = get_tree().get_nodes_in_group("Placed_objects")
|
||||
|
||||
Reference in New Issue
Block a user