♻️REFACTOR: Mejoras en la viabilidad para desarrollo
This commit is contained in:
1 parent
5aba6c7b47
commit
fd0118d964
98 files changed
+5985
-3024
No files matched your search
+15
-5
@@ -1,18 +1,28 @@
|
||||
@tool
|
||||
extends Resource
|
||||
class_name PickupData
|
||||
|
||||
@export_category("Identity")
|
||||
@export var id: StringName = &"pickup"
|
||||
@export var display_name: String = "Item"
|
||||
@export var display_name: String = "Item":
|
||||
set(value):
|
||||
display_name = value
|
||||
emit_changed()
|
||||
@export_multiline var description: String = ""
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var icon: Texture2D
|
||||
@export var color: Color = Color(1.0, 0.7, 0.2)
|
||||
@export var icon: Texture2D:
|
||||
set(value):
|
||||
icon = value
|
||||
emit_changed()
|
||||
@export var color: Color = Color(1.0, 0.7, 0.2):
|
||||
set(value):
|
||||
color = value
|
||||
emit_changed()
|
||||
|
||||
@export_category("Effect")
|
||||
## heal and special_charge are instant; shield absorbs one hit; others expire.
|
||||
## value is an absolute amount for heal/charge, a fractional bonus for timed buffs.
|
||||
## heal y special_charge son instantaneos; shield absorbe golpes; las demas mejoras caducan.
|
||||
## Value expresa cantidad absoluta para vida/carga y fraccion adicional para mejoras temporales.
|
||||
@export_enum("heal", "speed_boost", "damage_boost", "special_charge", "shield", "damage_reduction", "jump_boost", "air_damage_boost") var effect_type: String = "heal"
|
||||
@export var value: float = 0.0
|
||||
@export var duration: float = 0.0
|
||||
Reference in new issue
Block a user