mirror of
https://github.com/Relintai/godot_data_editor.git
synced 2025-02-19 07:44:19 +01:00
15 lines
473 B
GDScript
15 lines
473 B
GDScript
extends "res://addons/godot_data_editor/data_item.gd"
|
|
|
|
export(String) var name = ""
|
|
export(String, MULTILINE) var description = ""
|
|
export(String, "water", "fire", "wind", "earth") var element = "water"
|
|
export(Texture) var icon = null
|
|
export(int, 0, 9999) var base_damage = 0
|
|
export(String, "One Enemy", "All Enemies", "One Player", "All Players") var target = "One Enemy"
|
|
export(PackedScene) var effect = null
|
|
export(Sample) var sound = null
|
|
|
|
func _init(id).(id):
|
|
pass
|
|
|