Adding death zone to pesticide
This commit is contained in:
parent
0127257d05
commit
e88b2248b3
13 changed files with 177 additions and 8 deletions
|
|
@ -55,7 +55,7 @@ _data = {
|
|||
[sub_resource type="CircleShape2D" id="CircleShape2D_86nxf"]
|
||||
radius = 22.0907
|
||||
|
||||
[node name="Bee" type="CharacterBody2D"]
|
||||
[node name="Bee" type="CharacterBody2D" groups=["bee"]]
|
||||
z_index = 99
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_pnu7x")
|
||||
|
|
|
|||
|
|
@ -62,6 +62,10 @@ func deposit_nectar():
|
|||
latest_target_director = 0
|
||||
just_gathering = false
|
||||
|
||||
func die():
|
||||
# Move to the death state
|
||||
# For now just remove the bee...
|
||||
queue_free()
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue