add goblin vs goblin fights, ooze combining and female goblin sprites
This commit is contained in:
@@ -35,3 +35,16 @@ func _on_Hitbox_area_entered(_area):
|
||||
rootnode.add_child(instance)
|
||||
queue_free()
|
||||
|
||||
|
||||
|
||||
func _on_Romance_area_entered(area):
|
||||
if immunity == 0:
|
||||
# Ooze with smaller ID creates bigger ooze
|
||||
if get_instance_id() < area.get_parent().get_instance_id() :
|
||||
yield(get_tree().create_timer(2.0),"timeout")
|
||||
var ooze = load("res://NPCs/ooze.tscn")
|
||||
var instance = ooze.instance()
|
||||
instance.position = position
|
||||
rootnode.add_child(instance)
|
||||
queue_free()
|
||||
|
||||
|
Reference in New Issue
Block a user