added rock as a non-pickupable entity
This commit is contained in:
parent
2af94a27e9
commit
c7793f5c43
BIN
data/images/entities/rock.jpg
Normal file
BIN
data/images/entities/rock.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
@ -26,5 +26,19 @@
|
||||
"thirst" : 2,
|
||||
"hunger" : 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "rock",
|
||||
"position" : {
|
||||
"x": 13,
|
||||
"y": 1
|
||||
},
|
||||
"isPickupable" : false,
|
||||
"effect" : {
|
||||
"hp" : 0,
|
||||
"stamina" : 0,
|
||||
"thirst" : 0,
|
||||
"hunger" : 0
|
||||
}
|
||||
}
|
||||
]
|
@ -30,6 +30,7 @@ class Player(Entity):
|
||||
if self.rotation == Rotations.NORTH:
|
||||
return (0, -1)
|
||||
elif self.rotation == Rotations.SOUTH:
|
||||
pass
|
||||
|
||||
# Returns given statistic
|
||||
def getStatistic(self, stat):
|
||||
|
Loading…
Reference in New Issue
Block a user