Repaired the use functionnality of the main item, as well as the load system for Armor items.
This commit is contained in:
@ -374,7 +374,7 @@ class Entity:
|
||||
TeddyBear, GiantSeaEagle
|
||||
from squirrelbattle.entities.friendly import Merchant, Sunflower
|
||||
from squirrelbattle.entities.items import BodySnatchPotion, Bomb, \
|
||||
Heart, Sword
|
||||
Heart, Sword, Shield, Chestplate, Helmet
|
||||
return {
|
||||
"Tiger": Tiger,
|
||||
"Bomb": Bomb,
|
||||
@ -388,6 +388,9 @@ class Entity:
|
||||
"Sunflower": Sunflower,
|
||||
"Sword": Sword,
|
||||
"Eagle": GiantSeaEagle,
|
||||
"Shield": Shield,
|
||||
"Chestplate": Chestplate,
|
||||
"Helmet": Helmet,
|
||||
}
|
||||
|
||||
def save_state(self) -> dict:
|
||||
|
Reference in New Issue
Block a user