added initial item class
fixed formatting in globals added itemtype enum into globals reworked in_inventory logicmaster
parent
835be4dff3
commit
b519724aaf
@ -1,8 +1,14 @@
|
||||
extends Node
|
||||
|
||||
enum Directions {
|
||||
N = 1,
|
||||
S = 2,
|
||||
E = 4,
|
||||
W = 8
|
||||
N = 1,
|
||||
S = 2,
|
||||
E = 4,
|
||||
W = 8
|
||||
}
|
||||
|
||||
enum ItemType {
|
||||
WEAPON,
|
||||
AMMO,
|
||||
HEALTH
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
var name = ""
|
||||
var description = ""
|
||||
var type = null # Globals.ItemType
|
Loading…
Reference in New Issue