mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-19 21:33:15 +02:00
Started converting EntityTypes to customizable. (I had to test PoolStringArrays in ProjectSettings, will be finished later.)
This commit is contained in:
parent
fa33d5d57e
commit
9eefc4a551
@ -550,6 +550,9 @@ ESS::ESS() {
|
||||
|
||||
equip_slot_set_string(GLOBAL_DEF("ess/enums/equip_slots", "Head,Neck,Shoulder,Chest,Gloves,Belt,Legs,Feet,Ring_1,Ring_2,Trinket_1,Trinket_2,Main_Hand,Off_Hand"));
|
||||
|
||||
_entity_types = GLOBAL_DEF("ess/enums/entity_types", "None,Creature,Totem,Idol,Humanoid,Mechanical,Beast,Dragonkin,Elemental,Ghost,Energy,Anomaly,Demon,Object");
|
||||
_entity_type_skeletons = GLOBAL_DEF("ess/enums/entity_type_skeletons", PoolStringArray());
|
||||
|
||||
if (!Engine::get_singleton()->is_editor_hint() && _automatic_load) {
|
||||
call_deferred("load_all");
|
||||
}
|
||||
|
@ -187,6 +187,10 @@ private:
|
||||
HashMap<StringName, int> _equip_slot_property_to_id;
|
||||
|
||||
String _equip_slot_enum_string;
|
||||
|
||||
//Entity Types
|
||||
String _entity_types;
|
||||
PoolStringArray _entity_type_skeletons;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user