DungeonCrawler/loot_tables/goblin_loot.tres
Andre 12b70c7498 Overworld, Dungeon-System, Goblin-Modell, NavMesh-Pathfinding, Kamera-Kollision
- Overworld: Gras-Terrain mit Noise-Shader, Berg, Dungeon-Tor, Felsen, Bäume
- Dungeon: Prozedurale Generierung (Grid, Räume, L-Gänge), Multi-Ebenen mit Persistenz
- Portal-System: Blau (zurück/raus), Rot (tiefer), Auswahl-UI ab Ebene 2+
- Gegner: Goblin-Modell + Animationen statt Warrior, Capsule angepasst
- NavMesh: Manuell gebautes NavigationMesh im Dungeon mit Wand-Margin und shared Vertices
- Pathfinding: Gegner nutzen NavigationAgent3D, laufen um Wände herum
- Leash-System: Gegner verlieren Aggro ab 30 Einheiten vom Spawn
- Kamera-Kollision: Raycast verhindert Durchsehen durch Wände, ignoriert Gegner
- Respawn-Timer auf 60s, Death-Timer auf 10s erhöht
- Dokumentation aktualisiert (Dungeon, NavMesh, Goblin, Kamera)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 01:51:07 +01:00

39 lines
1.5 KiB
Text

[gd_resource type="Resource" script_class="LootTable" format=3 uid="uid://83hg0vwdovn8"]
[ext_resource type="Script" uid="uid://dej1tpamsi71r" path="res://loot_table.gd" id="1"]
[ext_resource type="Script" uid="uid://cx2w8nkuoylv5" path="res://loot_entry.gd" id="2"]
[ext_resource type="Resource" uid="uid://vprfv2phlcbc" path="res://equipment/iron_sword.tres" id="3"]
[ext_resource type="Resource" uid="uid://cnijhxsjmepss" path="res://equipment/leather_chest.tres" id="4"]
[ext_resource type="Resource" uid="uid://d54jjc24pj3t" path="res://equipment/iron_helm.tres" id="5"]
[ext_resource type="Resource" path="res://consumables/small_hp_potion.tres" id="6"]
[ext_resource type="Resource" path="res://consumables/small_mana_potion.tres" id="7"]
[sub_resource type="Resource" id="entry_1"]
script = ExtResource("2")
item = ExtResource("3")
drop_chance = 0.05
[sub_resource type="Resource" id="entry_2"]
script = ExtResource("2")
item = ExtResource("4")
drop_chance = 0.05
[sub_resource type="Resource" id="entry_3"]
script = ExtResource("2")
item = ExtResource("5")
drop_chance = 0.05
[sub_resource type="Resource" id="entry_4"]
script = ExtResource("2")
item = ExtResource("6")
drop_chance = 0.15
[sub_resource type="Resource" id="entry_5"]
script = ExtResource("2")
item = ExtResource("7")
[resource]
script = ExtResource("1")
min_gold = 2
max_gold = 8
possible_drops = Array[ExtResource("2")]([SubResource("entry_1"), SubResource("entry_2"), SubResource("entry_3"), SubResource("entry_4"), SubResource("entry_5")])