adding weapon gen

This commit is contained in:
2025-11-02 19:46:47 -06:00
parent 31aa0000cc
commit 6efd3b3aa8
15 changed files with 424 additions and 491 deletions

View File

@@ -0,0 +1,47 @@
# Prefixes and suffixes. Add tags_required/tags_forbidden if desired.
affixes:
prefixes:
- id: flaming
name: Flaming
effects:
- stat: fire_damage_flat
min: 1
max: 4
per_level: 0.15
- id: keen
name: Keen
effects:
- stat: crit_chance_pct
min: 2
max: 6
per_level: 0.08
- id: vicious
name: Vicious
effects:
- stat: flat_damage
min: 1
max: 3
per_level: 0.20
suffixes:
- id: of_strength
name: of Strength
effects:
- stat: str
min: 1
max: 2
per_level: 0.06
- id: of_speed
name: of Speed
effects:
- stat: dex
min: 1
max: 2
per_level: 0.06
- id: of_the_owl
name: of the Owl
effects:
- stat: int
min: 1
max: 2
per_level: 0.06

View File

@@ -0,0 +1,20 @@
# Base weapon templates (scaled by item_level & rarity)
bases:
- id: dagger
name: Dagger
min_dmg: 2
max_dmg: 6
speed: 1.20
tags: [light, blade]
- id: sword
name: Sword
min_dmg: 4
max_dmg: 10
speed: 1.00
tags: [blade]
- id: mace
name: Mace
min_dmg: 6
max_dmg: 12
speed: 0.90
tags: [blunt]

View File

@@ -0,0 +1,29 @@
# Flavorful name grammar
grammar:
patterns:
- weight: 40
template: "{rarity_title_opt}{prefix_primary_opt}{base_name}{suffix_primary_opt}"
- weight: 25
template: "{rarity_title_opt}{base_name} of the {mythic_noun}"
- weight: 20
template: "{prefix_primary_opt}{base_name}, {crafted_by}"
- weight: 15
template: "{prefix_primary_opt}{base_name} — {epithet}"
lists:
crafted_by:
- "Forged by the Vale"
- "Tempered in Night"
- "Hewn by Old Kings"
- "Wrought in Emberforge"
mythic_noun:
- Phoenix
- Tempest
- First Dawn
- Last King
- Black Sun
epithet:
- "The Ashmaker"
- "Whisper of Steel"
- "Oathbreaker"
- "Heartpiercer"

View File

@@ -0,0 +1,22 @@
# Optional auto-added mods for higher rarities
implicits:
exalted:
- id: exalted_shard
name: Exalted
effects:
- stat: flat_damage
min: 3
max: 6
per_level: 0.25
legendary:
- id: legendary_core
name: Legendary
effects:
- stat: flat_damage
min: 4
max: 8
per_level: 0.35
- stat: crit_chance_pct
min: 3
max: 8
per_level: 0.10

View File

@@ -0,0 +1,37 @@
# Rarity definitions & slot budgets
rarities:
common:
weight: 60
title: ""
dmg_multiplier: 1.00
prefix_slots: 0
suffix_slots: 0
value_multiplier: 1.0
magic:
weight: 25
title: ""
dmg_multiplier: 1.05
prefix_slots: 1
suffix_slots: 0
value_multiplier: 1.2
rare:
weight: 10
title: ""
dmg_multiplier: 1.12
prefix_slots: 1
suffix_slots: 1
value_multiplier: 1.5
exalted:
weight: 4
title: "Exalted"
dmg_multiplier: 1.25
prefix_slots: 2
suffix_slots: 1
value_multiplier: 2.2
legendary:
weight: 1
title: "Legendary"
dmg_multiplier: 1.40
prefix_slots: 2
suffix_slots: 2
value_multiplier: 3.0

View File

@@ -0,0 +1,12 @@
# Level scaling and economy knobs
balance:
base_damage_growth_per_level: 0.035
item_level_offset:
min: -3
max: +2
min_item_level: 1
economy:
min_sell_floor: 8
overlevel_bonus_pct: 0.10
underlevel_elasticity: 1.35