-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
64 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,21 +14,21 @@ const EFFECTED_AREA2D = "EffectedArea2D" | |
const EFFECTED_AREA3D = "EffectedArea3D" | ||
const STOP_EFFECT_IF0_RESOURCE_NAME = "StopEffectIfAttributeIs0" | ||
|
||
const attribute_spec_script = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/objects/attribute_spec.gd") | ||
const ability_container_resource = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/nodes/ability_container.gd") | ||
const activation_event_script = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/objects/activation_event.gd") | ||
const attributes_table_resource = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/resources/attribute_table.gd") | ||
const attribute_resource = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/resources/attribute.gd") | ||
const attribute_effect_resource = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/resources/attribute_effect.gd") | ||
const attribute_effect_condition_resource = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/resources/attribute_effect_condition.gd") | ||
const effected_area2d = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/nodes/effected_area2d.gd") | ||
const effected_area3d = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/nodes/effected_area3d.gd") | ||
const gameplay_effect = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/nodes/gameplay_effect.gd") | ||
const gameplay_attribute_map = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/nodes/gameplay_attribute_map.gd") | ||
const stop_effect_if0_resource = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/resources/stop_effect_if_0.gd") | ||
const attribute_spec_script = preload("./objects/attribute_spec.gd") | ||
const ability_container_resource = preload("./nodes/ability_container.gd") | ||
const activation_event_script = preload("./objects/activation_event.gd") | ||
const attributes_table_resource = preload("./resources/attribute_table.gd") | ||
const attribute_resource = preload("./resources/attribute.gd") | ||
const attribute_effect_resource = preload("./resources/attribute_effect.gd") | ||
const attribute_effect_condition_resource = preload("./resources/attribute_effect_condition.gd") | ||
const effected_area2d = preload("./nodes/effected_area2d.gd") | ||
const effected_area3d = preload("./nodes/effected_area3d.gd") | ||
const gameplay_effect = preload("./nodes/gameplay_effect.gd") | ||
const gameplay_attribute_map = preload("./nodes/gameplay_attribute_map.gd") | ||
const stop_effect_if0_resource = preload("./resources/stop_effect_if_0.gd") | ||
|
||
const attribute_inspector_plugin_script = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/inspector/gameplay_attribute_map_inspector_plugin.gd") | ||
const effect_inspector_plugin_script = preload("res://addons/godot_gameplay_systems/attributes_and_abilities/inspector/gameplay_effect_inspector_plugin.gd") | ||
const attribute_inspector_plugin_script = preload("./inspector/gameplay_attribute_map_inspector_plugin.gd") | ||
const effect_inspector_plugin_script = preload("./inspector/gameplay_effect_inspector_plugin.gd") | ||
|
||
|
||
var attribute_inspector_plugin: EditorInspectorPlugin | ||
|
@@ -39,17 +39,17 @@ func _enter_tree(): | |
add_custom_type(ACTIVATION_EVENT_NAME, "RefCounted", activation_event_script, null) | ||
add_custom_type(ATTRIBUTE_SPEC_NAME, "RefCounted", attribute_spec_script, null) | ||
|
||
add_custom_type(ATTRIBUTE_RESOURCE_NAME, "Resource", attribute_resource, preload("res://addons/godot_gameplay_systems/attributes_and_abilities/assets/[email protected]")) | ||
add_custom_type(ATTRIBUTE_TABLE_RESOURCE_NAME, "Resource", attributes_table_resource, preload("res://addons/godot_gameplay_systems/attributes_and_abilities/assets/[email protected]")) | ||
add_custom_type(ATTRIBUTE_EFFECT_RESOURCE_NAME, "Resource", attribute_effect_resource, preload("res://addons/godot_gameplay_systems/attributes_and_abilities/assets/[email protected]")) | ||
add_custom_type(ATTRIBUTE_RESOURCE_NAME, "Resource", attribute_resource, preload("./assets/[email protected]")) | ||
add_custom_type(ATTRIBUTE_TABLE_RESOURCE_NAME, "Resource", attributes_table_resource, preload("./assets/[email protected]")) | ||
add_custom_type(ATTRIBUTE_EFFECT_RESOURCE_NAME, "Resource", attribute_effect_resource, preload("./assets/[email protected]")) | ||
add_custom_type(ATTRIBUTE_EFFECT_CONDITION_RESOURCE_NAME, "Resource", attribute_effect_condition_resource, null) | ||
add_custom_type(GAMEPLAY_ATTRIBUTE_MAP_NAME, "Node", gameplay_attribute_map, preload("res://addons/godot_gameplay_systems/attributes_and_abilities/assets/[email protected]")) | ||
add_custom_type(GAMEPLAY_EFFECT_NAME, "Node", gameplay_effect, preload("res://addons/godot_gameplay_systems/attributes_and_abilities/assets/[email protected]")) | ||
add_custom_type(GAMEPLAY_ATTRIBUTE_MAP_NAME, "Node", gameplay_attribute_map, preload("./assets/[email protected]")) | ||
add_custom_type(GAMEPLAY_EFFECT_NAME, "Node", gameplay_effect, preload("./assets/[email protected]")) | ||
add_custom_type(EFFECTED_AREA2D, "Area2D", effected_area2d, null) | ||
add_custom_type(EFFECTED_AREA3D, "Area3D", effected_area3d, null) | ||
add_custom_type(STOP_EFFECT_IF0_RESOURCE_NAME, ATTRIBUTE_EFFECT_CONDITION_RESOURCE_NAME, stop_effect_if0_resource, null) | ||
|
||
add_custom_type(ABILITY_CONTAINER_NAME, "Node", ability_container_resource, preload("res://addons/godot_gameplay_systems/attributes_and_abilities/assets/[email protected]")) | ||
add_custom_type(ABILITY_CONTAINER_NAME, "Node", ability_container_resource, preload("./assets/[email protected]")) | ||
|
||
attribute_inspector_plugin = attribute_inspector_plugin_script.new() | ||
effect_inspector_plugin = effect_inspector_plugin_script.new() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters