mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-22 08:04:23 +00:00
Tweak collisions to not sacrifice dragged entities
This commit is contained in:
parent
75c3096b31
commit
63c16c27fb
2 changed files with 3 additions and 2 deletions
|
@ -19,7 +19,7 @@ texture = ExtResource("2_rbklw")
|
||||||
|
|
||||||
[node name="StoneArea" type="Area2D" parent="."]
|
[node name="StoneArea" type="Area2D" parent="."]
|
||||||
collision_layer = 8
|
collision_layer = 8
|
||||||
collision_mask = 24
|
collision_mask = 0
|
||||||
monitoring = false
|
monitoring = false
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="StoneArea"]
|
[node name="Shape" type="CollisionShape2D" parent="StoneArea"]
|
||||||
|
@ -31,7 +31,7 @@ debug_color = Color(1, 0, 0, 0.419608)
|
||||||
diet = &"Trap"
|
diet = &"Trap"
|
||||||
|
|
||||||
[node name="SacrificeTracker" parent="StoneArea" instance=ExtResource("2_6m7pn")]
|
[node name="SacrificeTracker" parent="StoneArea" instance=ExtResource("2_6m7pn")]
|
||||||
collision_mask = 56
|
collision_mask = 8
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="StoneArea/SacrificeTracker"]
|
[node name="Shape" type="CollisionShape2D" parent="StoneArea/SacrificeTracker"]
|
||||||
shape = SubResource("CircleShape2D_yv6hf")
|
shape = SubResource("CircleShape2D_yv6hf")
|
||||||
|
|
|
@ -297,6 +297,7 @@ enabled = false
|
||||||
alternative_priority = 45
|
alternative_priority = 45
|
||||||
|
|
||||||
[node name="TrackerTrap" parent="MovementTrap" instance=ExtResource("16_6h84f")]
|
[node name="TrackerTrap" parent="MovementTrap" instance=ExtResource("16_6h84f")]
|
||||||
|
collision_mask = 8
|
||||||
acceptable_diets = Array[StringName]([&"Trap"])
|
acceptable_diets = Array[StringName]([&"Trap"])
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="MovementTrap/TrackerTrap"]
|
[node name="Shape" type="CollisionShape2D" parent="MovementTrap/TrackerTrap"]
|
||||||
|
|
Loading…
Reference in a new issue