53 lines
817 B
GDScript
53 lines
817 B
GDScript
# file containing type information to be referrenced by other classes
|
|
extends Node
|
|
|
|
|
|
class World:
|
|
enum Zone {
|
|
TUTORIAL,
|
|
}
|
|
enum AreaType {
|
|
PEACEFUL,
|
|
URBAN,
|
|
WILDS,
|
|
DEEP_WILDS,
|
|
DUNGEON,
|
|
}
|
|
enum Faction {
|
|
CREATURE,
|
|
MONSTER,
|
|
}
|
|
|
|
class Ability:
|
|
enum PDamageType {
|
|
SLICE,
|
|
PUNCTURE,
|
|
BASH,
|
|
HACK,
|
|
SHRED,
|
|
}
|
|
enum MDamageType {
|
|
BURN,
|
|
FREEZE,
|
|
SHOCK,
|
|
POISON,
|
|
LIFE,
|
|
MENTAL,
|
|
RADIANT,
|
|
ARCANE,
|
|
FORCE
|
|
}
|
|
enum StatusModType {
|
|
STUN,
|
|
SLOW,
|
|
ABSORB,
|
|
SHIELD,
|
|
DOT,
|
|
DOTB,
|
|
DOTE
|
|
}
|
|
|
|
func debug_print(value) -> void:
|
|
if OS.is_debug_build():
|
|
debug_print(value)
|