mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 20:23:47 +00:00
Fixed healing stations
This commit is contained in:
parent
d4b420052e
commit
f1ddee18c4
9 changed files with 84 additions and 30 deletions
|
|
@ -74,8 +74,8 @@ animation = &"Default"
|
|||
z_index = 2
|
||||
emitting = false
|
||||
amount = 50
|
||||
process_material = SubResource("ParticleProcessMaterial_we5sc")
|
||||
lifetime = 0.8
|
||||
process_material = SubResource("ParticleProcessMaterial_we5sc")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
||||
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="." to="." method="_on_area_Exited"]
|
||||
|
|
|
|||
|
|
@ -252,11 +252,13 @@ shape = SubResource("CircleShape2D_7n10g")
|
|||
[node name="Error" type="AudioStreamPlayer2D" parent="InteractionProvider"]
|
||||
stream = ExtResource("24_5tmtw")
|
||||
|
||||
[node name="InteractionController" type="Area2D" parent="."]
|
||||
[node name="InteractionController" type="Area2D" parent="." node_paths=PackedStringArray("Health", "Shield")]
|
||||
visible = false
|
||||
collision_layer = 2
|
||||
collision_mask = 0
|
||||
script = ExtResource("27_vwjki")
|
||||
Health = NodePath("../DamageReceiver/HealthProvider")
|
||||
Shield = NodePath("../DamageReceiver/ShieldProvider")
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="InteractionController"]
|
||||
shape = SubResource("CircleShape2D_g3wua")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue