Singleton scene, containing instances of Weapons and Armor, under category Nodes.
Root script takes category, string name and returns a reference to that item.
On the side of the Actor, they can keep a simple script for the name of their current weapon/armor. get_weapon(), get_armor() or something will give us the data we want to work with.
needed for closing #39
Singleton scene, containing instances of Weapons and Armor, under category Nodes.
Root script takes
category
,string name
and returns a reference to that item.On the side of the Actor, they can keep a simple script for the name of their current weapon/armor.
get_weapon()
,get_armor()
or something will give us the data we want to work with.