spawn 10 transparent herbs
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.1 KiB |
BIN
data/images/entities/herb10.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.1 KiB |
BIN
data/images/entities/herb3.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
data/images/entities/herb4.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
data/images/entities/herb5.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
data/images/entities/herb6.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
data/images/entities/herb7.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
data/images/entities/herb8.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
data/images/entities/herb9.png
Normal file
After Width: | Height: | Size: 9.0 KiB |
@ -464,7 +464,7 @@
|
||||
"name" : "herb1",
|
||||
"position" : {
|
||||
"x": 12,
|
||||
"y": 12
|
||||
"y": 2
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
@ -477,9 +477,129 @@
|
||||
},
|
||||
{
|
||||
"name" : "herb2",
|
||||
"position" : {
|
||||
"x": 16,
|
||||
"y": 2
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb3",
|
||||
"position" : {
|
||||
"x": 17,
|
||||
"y": 5
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb4",
|
||||
"position" : {
|
||||
"x": 14,
|
||||
"y": 8
|
||||
"y": 7
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb5",
|
||||
"position" : {
|
||||
"x": 17,
|
||||
"y": 17
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb6",
|
||||
"position" : {
|
||||
"x": 13,
|
||||
"y": 17
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb7",
|
||||
"position" : {
|
||||
"x": 5,
|
||||
"y": 15
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb8",
|
||||
"position" : {
|
||||
"x": 2,
|
||||
"y": 9
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb9",
|
||||
"position" : {
|
||||
"x": 8,
|
||||
"y": 5
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
},
|
||||
"type" : "herb"
|
||||
},
|
||||
{
|
||||
"name" : "herb10",
|
||||
"position" : {
|
||||
"x": 11,
|
||||
"y": 10
|
||||
},
|
||||
"isPickupable": true,
|
||||
"effect" : {
|
||||
|
@ -44,7 +44,7 @@ class Interactable(Entity):
|
||||
Player.herbs += 1
|
||||
print(Player.herbs)
|
||||
|
||||
if Player.herbs == 2:
|
||||
if Player.herbs == 10:
|
||||
Player.statistics.set_hp(100)
|
||||
Player.statistics.set_stamina(100)
|
||||
Player.statistics.set_thirst(0)
|
||||
|