From 142957f5452d1e54a59493cf58bc2279037b0b1d Mon Sep 17 00:00:00 2001 From: server Date: Thu, 16 Apr 2026 21:08:13 +0200 Subject: [PATCH] issue-9: add sash item proto template --- sql/issue_9_sashes.sql | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sql/issue_9_sashes.sql diff --git a/sql/issue_9_sashes.sql b/sql/issue_9_sashes.sql new file mode 100644 index 0000000..132cc58 --- /dev/null +++ b/sql/issue_9_sashes.sql @@ -0,0 +1,35 @@ +-- Issue #9: classic sash support +-- value0 = absorb percent +-- subtype = COSTUME_SASH +-- wearflag can stay 0 for ITEM_COSTUME, but WEARABLE_COSTUME_SASH is available if you want parity in tools + +-- Sample classic tiers +-- Adjust icon/model names and vnums to your asset pack. + +INSERT INTO item_proto + (vnum, name, locale_name, type, subtype, size, antiflag, flag, wearflag, immuneflag, gold, shop_buy_price, + limittype0, limitvalue0, limittype1, limitvalue1, + applytype0, applyvalue0, applytype1, applyvalue1, applytype2, applyvalue2, + value0, value1, value2, value3, value4, value5, + socket0, socket1, socket2, refined_vnum, refine_set, magic_pct, specular, socket_pct) +VALUES + (85000, 'sash_common', 'Common Sash', 28, 2, 2, 0, 0, 0, 0, 0, 0, + 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, + 5, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0), + (85010, 'sash_rare', 'Rare Sash', 28, 2, 2, 0, 0, 0, 0, 0, 0, + 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, + 10, 1, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0), + (85020, 'sash_epic', 'Epic Sash', 28, 2, 2, 0, 0, 0, 0, 0, 0, + 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, + 15, 2, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0), + (85030, 'sash_legendary', 'Legendary Sash', 28, 2, 2, 0, 0, 0, 0, 0, 0, + 1, 1, 0, 0, + 0, 0, 0, 0, 0, 0, + 20, 3, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0);