Topic: Modded weapons and armours not appear in the menu  (Read 8315 times)


Plasmator94

« on: March 11, 2023, 10:17:19 AM »
As title say, I'm making some modded weapons and armours. The problem is that they don't appear in the menu.
About the weapon, if they have a basic item related (i.e. .Puukko. "Northen Knife") they will be showed on the menu (but I can't understand if only graphic and name changed, or also the weapon parameters that I've setted up), with no related vanilla item will just not show up on the submenu.
With armour I've tried lamellar cuirass and mail hauberk as vanilla item, but don't work.

here are the codes

WEAPON
Spoiler: show
.Baltic sword. [effort:3] [phys:arms,one-armed] *CARPENTERY*         /60/          %30%     |-1|      
[TILEGFX:balticsword]
[TYPE:weapon]
[WEIGHT:3]
[PRICE:1000]
[POINT_ATTACK:2]
[EDGE_ATTACK:7]
[BLUNT_ATTACK:5]
[AD_CLASS:3/3]
[SKILL:sword]

.Viking sword. [effort:3] [phys:arms,one-armed] *CARPENTERY*         /60/          %30%     |-1|      
[TILEGFX:vikingsword]
[TYPE:weapon]
[WEIGHT:3]
[PRICE:1000]
[POINT_ATTACK:4]
[EDGE_ATTACK:6]
[BLUNT_ATTACK:4]
[AD_CLASS:4/2]
[SKILL:sword]

.Rus saber. [effort:3] [phys:arms,one-armed] *CARPENTERY*         /60/          %30%     |-1|      
[TILEGFX:vikingsword]
[TYPE:weapon]
[WEIGHT:1.6]
[PRICE:500]
[POINT_ATTACK:1]
[EDGE_ATTACK:5]
[BLUNT_ATTACK:2]
[AD_CLASS:1/3]
[SKILL:sword]

.Roundshield. [effort:2] [phys:arms,one-armed] *CARPENTERY*         /60/          %30%     |-1|      
{Steel bar} (4) [remove]
{Board} (5) [remove]
{[NEARBY_TILE:Fireplace]} +'Heated fireplace for smelting'
{Hammer}
{Fire}               [noquality]
{Charcoal}       #20#    [remove] [noquality]   '+to keep hot the embers'

.Rus shield. "Roundshield" [effort:2] [phys:arms,one-armed] *CARPENTERY*         /60/          %30%     |-1|      
[TILEGFX:rushield]
[TYPE:weapon]
[WEIGHT:1.6]
[PRICE:500]
[POINT_ATTACK:1]
[EDGE_ATTACK:-]
[BLUNT_ATTACK:1]
[AD_CLASS:2/5]
[SKILL:shield]      #20#    [remove] [noquality]   '+to keep hot the embers'

.Braided wicker shield. "Roundshield" [effort:2] [phys:arms,one-armed] *CARPENTERY*         /60/          %30%     |-1|      
{* sapling} (5) [remove]
{tying equipment} =10= [remove]
[TILEGFX:branchshield]
[TYPE:weapon]
[WEIGHT:1.6]
[PRICE:500]
[POINT_ATTACK:-]
[EDGE_ATTACK:-]
[BLUNT_ATTACK:1]
[AD_CLASS:0/4]
[SKILL:shield]


ARMORS
Spoiler: show
 [SUBMENU_START:Armorsmith]
.Rus Lamellar. [effort:2] [phys:arms,one-armed] *COMMON*         /50/         %-30%     |-1|      
[NAME:Rus Lamellar]
[TILEGFX:lamellar]
[TYPE:armour]
[WEIGHT:15]
[PRICE:2000]
[ARMOUR_MATERIAL:iron]
[ARMOUR_COVERAGE:thorax abdomen hip groin]

.Lamellar with tassets.  [effort:2] [phys:arms,one-armed] *COMMON*         /50/         %-30%     |-1|      
[NAME:Lamellar with tassets]
[TILEGFX:longlamellar]
[TYPE:armour]
[WEIGHT:21]
[PRICE:2500]
[ARMOUR_MATERIAL:iron]
[ARMOUR_COVERAGE:thorax abdomen hip groin thigh knee shoulder]

.Lamellar with spaulders. [effort:2] [phys:arms,one-armed] *COMMON*         /50/         %-30%     |-1|      
[NAME:Lamellar with spaulders]
[TILEGFX:spaulderlamellar]
[TYPE:armour]
[WEIGHT:19]
[PRICE:2500]
[ARMOUR_MATERIAL:iron]
[ARMOUR_COVERAGE:thorax abdomen hip groin shoulder shoulder upper_arm]

.Lamellar spaulders.  [effort:2] [phys:arms,one-armed] *COMMON*         /50/         %-30%     |-1|      
[NAME:Lamellar spaulders]
[TILEGFX:spaulder]
[TYPE:armour]
[WEIGHT:4]
[PRICE:500]
[ARMOUR_MATERIAL:iron]
[ARMOUR_COVERAGE:shoulder upper_arm]

[SUBMENU_END:Armorsmith]



Thanks in advance for your help!

Tinker

« Reply #1 on: March 11, 2023, 11:35:34 AM »
Every item you want to add needs to be based on something that already exists, you can overide parameters to make your item different as in

.Bone spear. "Javelin" [effort:1] [phys:hands,one-armed] *CARPENTRY* %20% /60/ [patch:5] [assist:2]
{Wooden stake}      [remove] [patchwise]
{*bone} #1#   [remove] [patchwise] [noquality]   '+for tip'
{Knife}<Small knife>               '+for fitting the bone'
{Stone}               [noquality]   '+for grinding'
[BLUNT_ATTACK:4]
[POINT_ATTACK:6]
[MATERIAL:wood]
[TILEGFX:bc-bonespear]

or for armour

.Long Lamellar Hauberk. "Lamellar Hauberk" *HIDEWORKING* [effort:1] [phys:hands] %-30% /360/ |1|
{*Lamellar Piece} (190) [remove]
{*cord} #3.8# [remove]
{Knife}
[WEIGHT:38]
[ARMOUR_COVERAGE:long_hauberk]

Plasmator94

« Reply #2 on: March 11, 2023, 11:37:51 AM »
Every item you want to add needs to be based on something that already exists, you can overide parameters to make your item different as in

Thanks you. I remember that for other items you're not forced to base your item on vanilla as long as you set up all parameters. Good to know, thanks you