semi-idle-arpg/scripts/Globals.gd

53 lines
819 B
GDScript3
Raw Normal View History

# file containing type information to be referrenced by other classes
extends Node
class World:
2024-10-20 16:44:08 -06:00
enum Zone {
TUTORIAL,
}
2024-10-20 16:44:08 -06:00
enum AreaType {
PEACEFUL,
URBAN,
WILDS,
DEEP_WILDS,
DUNGEON,
}
2024-10-20 16:44:08 -06:00
enum Faction {
CREATURE,
MONSTER,
}
class Ability:
2024-10-20 16:44:08 -06:00
enum PDamageType {
SLICE,
PUNCTURE,
BASH,
HACK,
SHRED,
}
2024-10-20 16:44:08 -06:00
enum MDamageType {
BURN,
FREEZE,
SHOCK,
POISON,
LIFE,
MENTAL,
RADIANT,
ARCANE,
FORCE
}
2024-10-20 16:44:08 -06:00
enum StatusModType {
STUN,
SLOW,
ABSORB,
SHIELD,
2024-10-20 16:44:08 -06:00
DOT,
DOTB,
DOTE
}
func debug_print(value: String) -> void:
if OS.is_debug_build():
2024-10-21 13:09:51 -06:00
print(value)