- Consumable-System: Tränke (HP/Mana) mit Stacking, Rechtsklick-Benutzung, Aktionsleisten-Zuweisung - Klassen-Ressourcen: ResourceType (NONE/MANA/RAGE/ENERGY) pro Klasse statt universelles Mana - Hauptmenü: Einstellungen für Auflösung, Fenstermodus, VSync, MSAA - Item-Icons: SVG-Icons für alle Equipment-Items und Tränke - Character Panel: Icon-Grid mit Hover-Tooltips statt Textanzeige - HUD: Ressourcen-Leiste mit klassenabhängiger Farbe - Loot: Consumable-Support in LootTable/LootWindow - Dokumentation vollständig aktualisiert Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
396 B
Text
14 lines
396 B
Text
[gd_resource type="Resource" script_class="Consumable" load_steps=3 format=3]
|
|
|
|
[ext_resource type="Script" path="res://consumable.gd" id="1"]
|
|
[ext_resource type="Texture2D" path="res://icons/hp_potion_icon.svg" id="2_icon"]
|
|
|
|
[resource]
|
|
script = ExtResource("1")
|
|
item_name = "Kleiner Heiltrank"
|
|
effect_type = 0
|
|
amount = 50
|
|
cooldown = 1.0
|
|
icon = ExtResource("2_icon")
|
|
stack_size = 5
|
|
max_stack = 20
|