Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Non-vendable for all magic items?
Author Message
Capes
Journeyman
*

Posts: 57
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2018
Reputation: 0



Post: #1
Non-vendable for all magic items?
0.56d
(default scripts)
- Curious... I just noticed that vendors that sell/buy magic items such as weapons & armor produce tons of non-vendable console errors.

I checked the default scripts and everything looks ok. Does anyone know what causes this error? Or how I can fix it?

I read a forum post about cost/weight/SKILLMAKE causing this but the item defs for magic items are derived from base items already so they should inherit the base cost & weight etc...

Here's a copy/paste from sphere_item_magic_weapon.scp

[ITEMDEF i_scimitar_ruin]
ID=i_scimitar
NAME=Scimitar of Ruin
RESOURCES=10 i_ingot_iron, i_scimitar
//INCREASEDAM=15

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Magic Scimitars
DESCRIPTION=Scimitar of Ruin

ON=@Create
MOREY=1.0
ATTR=attr_magic
HITPOINTS={31 90}
COLOR=color_magic_weap

The ID property is set to ID=i_scimitar, but this throws a non-vendable error....

Do I have to manually add cost/weight/SKILLMAKE to every magic weapon & armor?


Thanks
Capes
04-13-2018 04:50 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 127
Likes Given: 4
Likes Received: 17 in 15 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: Non-vendable for all magic items?
you need to add cost for buy and sell also u need to add it to vendors template. If its dont have cost then how can sphere know what will be the price. ID means for sphere just picture of it. Like u are saying to sphere to use same picture for i_scimitar_ruin
(This post was last modified: 04-14-2018 03:14 AM by azmanomer.)
04-14-2018 03:13 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.