Global refactor

This commit is contained in:
Rendo 2025-12-09 11:53:52 +05:00
commit 0589ca4e23
180 changed files with 249 additions and 401 deletions

View file

@ -1,12 +0,0 @@
extends RigidBody3D
var contacts: int = 0
func _on_body_entered(body: Node) -> void:
contacts += 1
if contacts > 2:
var grenade = load("res://scenes/projectiles/molikman/molikman_molotov_fire.tscn").instantiate()
Session.dynamic_objects_spawner.get_parent().add_child(grenade)
grenade.global_position = global_position
queue_free()