Schwert (medieval_sword.glb) wird zur Laufzeit an mixamorig_RightHand gehängt. Modell erscheint/verschwindet beim Ausrüsten/Ablegen. Equipment-Ressource um model_scene Property erweitert. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
646 B
Text
22 lines
646 B
Text
[gd_resource type="Resource" script_class="Equipment" load_steps=4 format=3]
|
|
|
|
[ext_resource type="Script" path="res://equipment.gd" id="1_equipment"]
|
|
[ext_resource type="Texture2D" path="res://icons/steel_sword_icon.svg" id="2_icon"]
|
|
[ext_resource type="PackedScene" uid="uid://8klqbvdg43b3" path="res://assets/Weapons/medieval_sword.glb" id="3_model"]
|
|
|
|
[resource]
|
|
script = ExtResource("1_equipment")
|
|
item_name = "Stahlschwert"
|
|
slot = 5
|
|
rarity = 1
|
|
armor = 0
|
|
strength = 4
|
|
agility = 0
|
|
intelligence = 0
|
|
stamina = 0
|
|
min_damage = 5
|
|
max_damage = 9
|
|
attack_speed = 1.4
|
|
weapon_range = 3.0
|
|
model_scene = ExtResource("3_model")
|
|
icon = ExtResource("2_icon")
|