it is working
This commit is contained in:
@@ -65,3 +65,20 @@ class Coin(Resource):
|
||||
color = np.array([229, 211, 82]) / 255.0
|
||||
collectible = False
|
||||
|
||||
@resource_registry.add
|
||||
class GemRaw(Resource):
|
||||
"""Raw Gem that can be processed further"""
|
||||
|
||||
name = "Gem_Raw"
|
||||
color = np.array([241, 233, 219]) / 255.0
|
||||
collectible = True
|
||||
|
||||
@resource_registry.add
|
||||
class Gem(Resource):
|
||||
"""Proccesed Gem. Craftable."""
|
||||
|
||||
name = "Gem"
|
||||
color = np.array([241, 233, 219]) / 255.0
|
||||
collectible = False
|
||||
craft_recp= {"Gem_Raw": 1}
|
||||
craft_labour_base= 1
|
||||
Reference in New Issue
Block a user