NPC shop implimented

This commit is contained in:
2025-11-29 01:16:46 -06:00
parent 32af625d14
commit 8bd494a52f
17 changed files with 4265 additions and 17 deletions

View File

@@ -0,0 +1,246 @@
# Base Shield Templates for Procedural Generation
#
# These templates define the foundation that affixes attach to.
# Example: "Wooden Shield" + "Reinforced" prefix = "Reinforced Wooden Shield"
#
# Shield categories:
# - Light Shields: Low defense, high mobility (bucklers)
# - Medium Shields: Balanced defense/weight (round shields, kite shields)
# - Heavy Shields: High defense, reduced mobility (tower shields)
# - Magical Shields: Low physical defense, high resistance (arcane aegis)
#
# Template Structure:
# template_id: Unique identifier
# name: Base item name
# item_type: "armor" (shields use armor type)
# slot: "off_hand" (shields occupy off-hand slot)
# description: Flavor text
# base_defense: Physical damage reduction
# base_resistance: Magical damage reduction
# base_value: Gold value
# required_level: Min level to use/drop
# drop_weight: Higher = more common (1.0 = standard)
# min_rarity: Minimum rarity for this template
# block_chance: Chance to fully block an attack (optional)
shields:
# ==================== LIGHT SHIELDS (HIGH MOBILITY) ====================
buckler:
template_id: "buckler"
name: "Buckler"
item_type: "armor"
slot: "off_hand"
description: "A small, round shield strapped to the forearm. Offers minimal protection but doesn't hinder movement."
base_defense: 3
base_resistance: 0
base_value: 20
required_level: 1
drop_weight: 1.5
block_chance: 0.05
parrying_buckler:
template_id: "parrying_buckler"
name: "Parrying Buckler"
item_type: "armor"
slot: "off_hand"
description: "A lightweight buckler with a reinforced edge, designed for deflecting blows."
base_defense: 4
base_resistance: 0
base_value: 45
required_level: 3
drop_weight: 1.0
block_chance: 0.08
# ==================== MEDIUM SHIELDS (BALANCED) ====================
wooden_shield:
template_id: "wooden_shield"
name: "Wooden Shield"
item_type: "armor"
slot: "off_hand"
description: "A basic shield carved from sturdy oak. Reliable protection for new adventurers."
base_defense: 5
base_resistance: 1
base_value: 35
required_level: 1
drop_weight: 1.3
round_shield:
template_id: "round_shield"
name: "Round Shield"
item_type: "armor"
slot: "off_hand"
description: "A circular shield with an iron boss. Popular among infantry and mercenaries."
base_defense: 7
base_resistance: 1
base_value: 50
required_level: 2
drop_weight: 1.2
iron_shield:
template_id: "iron_shield"
name: "Iron Shield"
item_type: "armor"
slot: "off_hand"
description: "A solid iron shield. Heavy but dependable."
base_defense: 9
base_resistance: 1
base_value: 70
required_level: 3
drop_weight: 1.0
kite_shield:
template_id: "kite_shield"
name: "Kite Shield"
item_type: "armor"
slot: "off_hand"
description: "A tall, tapered shield that protects the entire body. Favored by knights."
base_defense: 10
base_resistance: 2
base_value: 80
required_level: 3
drop_weight: 1.0
heater_shield:
template_id: "heater_shield"
name: "Heater Shield"
item_type: "armor"
slot: "off_hand"
description: "A classic triangular shield with excellent balance of protection and mobility."
base_defense: 12
base_resistance: 2
base_value: 100
required_level: 4
drop_weight: 0.9
steel_shield:
template_id: "steel_shield"
name: "Steel Shield"
item_type: "armor"
slot: "off_hand"
description: "A finely crafted steel shield. Durable and well-balanced."
base_defense: 14
base_resistance: 2
base_value: 125
required_level: 5
drop_weight: 0.8
min_rarity: "uncommon"
# ==================== HEAVY SHIELDS (MAXIMUM DEFENSE) ====================
tower_shield:
template_id: "tower_shield"
name: "Tower Shield"
item_type: "armor"
slot: "off_hand"
description: "A massive shield that covers the entire body. Extremely heavy but offers unparalleled protection."
base_defense: 18
base_resistance: 3
base_value: 175
required_level: 6
drop_weight: 0.6
min_rarity: "uncommon"
block_chance: 0.12
fortified_tower_shield:
template_id: "fortified_tower_shield"
name: "Fortified Tower Shield"
item_type: "armor"
slot: "off_hand"
description: "A reinforced tower shield with iron plating. A mobile wall on the battlefield."
base_defense: 22
base_resistance: 4
base_value: 250
required_level: 7
drop_weight: 0.4
min_rarity: "rare"
block_chance: 0.15
# ==================== MAGICAL SHIELDS (HIGH RESISTANCE) ====================
enchanted_buckler:
template_id: "enchanted_buckler"
name: "Enchanted Buckler"
item_type: "armor"
slot: "off_hand"
description: "A small shield inscribed with protective runes. Weak against physical attacks but excellent against magic."
base_defense: 2
base_resistance: 6
base_value: 80
required_level: 3
drop_weight: 0.8
warded_shield:
template_id: "warded_shield"
name: "Warded Shield"
item_type: "armor"
slot: "off_hand"
description: "A shield covered in magical wards that deflect spells."
base_defense: 4
base_resistance: 8
base_value: 110
required_level: 4
drop_weight: 0.7
magical_aegis:
template_id: "magical_aegis"
name: "Magical Aegis"
item_type: "armor"
slot: "off_hand"
description: "An arcane shield that shimmers with protective energy. Prized by battle mages."
base_defense: 8
base_resistance: 10
base_value: 150
required_level: 5
drop_weight: 0.6
min_rarity: "uncommon"
spellguard:
template_id: "spellguard"
name: "Spellguard"
item_type: "armor"
slot: "off_hand"
description: "A crystalline shield forged from condensed magical energy. Near-impervious to spells."
base_defense: 6
base_resistance: 14
base_value: 200
required_level: 6
drop_weight: 0.5
min_rarity: "rare"
# ==================== SPECIALIZED SHIELDS ====================
spiked_shield:
template_id: "spiked_shield"
name: "Spiked Shield"
item_type: "armor"
slot: "off_hand"
description: "A shield with iron spikes. Can be used offensively in close combat."
base_defense: 8
base_resistance: 1
base_value: 90
required_level: 4
drop_weight: 0.8
base_damage: 5
lantern_shield:
template_id: "lantern_shield"
name: "Lantern Shield"
item_type: "armor"
slot: "off_hand"
description: "A peculiar shield with an attached lantern. Useful for dungeon exploration."
base_defense: 6
base_resistance: 1
base_value: 75
required_level: 3
drop_weight: 0.7
provides_light: true
pavise:
template_id: "pavise"
name: "Pavise"
item_type: "armor"
slot: "off_hand"
description: "A large rectangular shield that can be planted in the ground for cover. Favored by crossbowmen."
base_defense: 15
base_resistance: 2
base_value: 130
required_level: 5
drop_weight: 0.6
deployable: true