More work on pickups, started to implement the UI for data keys, swapped trap selections, FIRST PASS OF MULTIPLAYER CHECKS, title screen swapped.
This commit is contained in:
@@ -150,6 +150,7 @@ func activate() -> void:
|
||||
body.fling(direction, 5.0)
|
||||
Type.PURGE:
|
||||
var expl = purge_explosion_template.instantiate()
|
||||
expl.one_shot = true
|
||||
Game.level.add_vfx(expl, square)
|
||||
explode = true
|
||||
Type.TRIGGER:
|
||||
@@ -157,7 +158,9 @@ func activate() -> void:
|
||||
Game.level.add_vfx(expl, square)
|
||||
explode = true
|
||||
Type.DESTROY:
|
||||
|
||||
var expl = destroy_explosion_template.instantiate()
|
||||
expl.one_shot = true
|
||||
Game.level.add_vfx(expl, square)
|
||||
explode = true
|
||||
Type.INFECT:
|
||||
@@ -199,7 +202,7 @@ func delay_trigger() -> void:
|
||||
|
||||
|
||||
func _on_body_entered(body: Node3D) -> void:
|
||||
if type == Type.INFECT or type == Type.DESTROY:
|
||||
if type == Type.TRIGGER or type == Type.INFECT or type == Type.DESTROY:
|
||||
return
|
||||
|
||||
if body.id == hack_owner:
|
||||
|
||||
Reference in New Issue
Block a user