Repaired the use functionnality of the main item, as well as the load system for Armor items.

This commit is contained in:
eichhornchen
2021-01-06 11:13:17 +01:00
parent f3fe04e13a
commit a9aeb9ca3a
3 changed files with 15 additions and 10 deletions

View File

@ -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: