1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-21 15:44:23 +00:00

Tweak collisions to not sacrifice dragged entities

This commit is contained in:
Steffo 2024-04-29 01:42:13 +02:00
parent 75c3096b31
commit 63c16c27fb
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ texture = ExtResource("2_rbklw")
[node name="StoneArea" type="Area2D" parent="."]
collision_layer = 8
collision_mask = 24
collision_mask = 0
monitoring = false
[node name="Shape" type="CollisionShape2D" parent="StoneArea"]
@ -31,7 +31,7 @@ debug_color = Color(1, 0, 0, 0.419608)
diet = &"Trap"
[node name="SacrificeTracker" parent="StoneArea" instance=ExtResource("2_6m7pn")]
collision_mask = 56
collision_mask = 8
[node name="Shape" type="CollisionShape2D" parent="StoneArea/SacrificeTracker"]
shape = SubResource("CircleShape2D_yv6hf")

View file

@ -297,6 +297,7 @@ enabled = false
alternative_priority = 45
[node name="TrackerTrap" parent="MovementTrap" instance=ExtResource("16_6h84f")]
collision_mask = 8
acceptable_diets = Array[StringName]([&"Trap"])
[node name="Shape" type="CollisionShape2D" parent="MovementTrap/TrackerTrap"]