Skip to content

Commit

Permalink
Redo of orb plants
Browse files Browse the repository at this point in the history
  • Loading branch information
666Savior committed Apr 26, 2021
1 parent 7614a54 commit 6a7ca44
Show file tree
Hide file tree
Showing 14 changed files with 253 additions and 92 deletions.
3 changes: 3 additions & 0 deletions character/PlayerCharacter.gd
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ func _input(event: InputEvent) -> void:
if !inventory.has(current_lootable.loot2):
inventory[current_lootable.loot2] = 0
inventory[current_lootable.loot2] += current_lootable.loot2_amount
if !inventory.has(current_lootable.loot3):
inventory[current_lootable.loot3] = 0
inventory[current_lootable.loot3] += current_lootable.loot3_amount
# print("%s (%d)" % [Item.type_str(current_lootable.loot1), current_lootable.loot1_amount])
# print("%s (%d)" % [Item.type_str(current_lootable.loot2), current_lootable.loot2_amount])
current_lootable.queue_free()
Expand Down
3 changes: 3 additions & 0 deletions environment/Tree2.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ extents = Vector2( 22, 24 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -67.005 )
texture = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true
}

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -3.005 )
Expand Down
Binary file removed environment/orbflower_Top.png
Binary file not shown.
34 changes: 0 additions & 34 deletions environment/orbflower_Top.png.import

This file was deleted.

Binary file removed environment/orbflower_base.png
Binary file not shown.
34 changes: 0 additions & 34 deletions environment/orbflower_base.png.import

This file was deleted.

1 change: 1 addition & 0 deletions level/Item.gd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ enum ItemType {
NONE,
FLOWER1,
FLOWER2,
FLOWER3,
}

static func type_str(item_type):
Expand Down
Loading

0 comments on commit 6a7ca44

Please sign in to comment.