The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

Shopkeeper woes

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Building
View previous topic :: View next topic  
Author Message
Pixie



Joined: 16 Jan 2016
Posts: 56
Location: Pacific Northwest

PostPosted: Sun Jan 24, 2016 11:12 pm    Post subject: Shopkeeper woes Reply with quote

Hookay. Shopkeeper will not list it's items. I've gone through the forums, Darksun's OLC guide, helpfiles, etc. I can't find an established reason why it isn't working.

The mob:

Code:
Vnum: 1015    Level: 20    Area[7]: Lindon
Name: tavern wench test
Short description:  a pint-sized tavern wench
Default description: (description used if mob is in default position)
  A pint-sized tavern wench with a long, mousy brown braid tends the bar.
Default pos:   standing        Start pos: standing 
Race: Lindon   Size: medium    Sex: female   Material: unknown
Alliance: +0   Tendency: +0    Wealth:  0    Group: 0         Helpgroup: 0    xpmod: 100
Hitroll: 0     DamType: none  Damage dice: [ 2d8  +   5]  (avedam 14)
Note the DamType and Damage Dice are only used when the mob doesn't wield a weapon.
Hitpoints dice: [ 3d5  +  88]       Mana dice: [ 3d5  +  85]
Armor:         [pierce: -45  bash: -45  slash: -45  magic: -37]
Affected By:   [none]
Affected2 By:  [none]
Affected3 By:  [none]
Action:        [npc docile dont_wander sentinel indoors no_tame stay_area]
Action2:       [none]
Form:          [edible sentient biped mammal]
Parts:         [head arms legs heart brains guts hands feet fingers ear eye]
Immunities:    [summon]
Resistances:   [holy light silver]
Vulnerablities:[charm illusion]
Offensive:     [none]
Shop data for [ 1015]:
  Markup for purchaser: 2%
  Markdown for seller:  2%
  Hours: 0 to 23.
  Number Trades Type
  ------ -----------
  [   0] food
  [   1] drinkcontainer


The item:

Code:
Vnum: 1015    Type: drinkcontainer Level: 1          Area[7]: lindon.are
Cost: 4       Weight: 0.1 lbs Condition: 100    Material: drinkcontainer
Absolute size: 1      Relative size: 50   
Name: shot glass whiskey peat
Short desc: a darkened shot glass of Joymount Arms' peat-smoked whiskey
Short desc: `wa darkened shot glass of `YJ`yoymount Arm`Ys'`w peat-smoked whiskey
Long descr: A darkened shot glass of Joymount Arms' peat-smoked whiskey rests here.
Long descr: `wA darkened shot glass of `YJ`yoymount Arm`Ys'`w peat-smoked whiskey rests here.
There are no extended descriptions.
Wear Flags:    [take hold]
Extra Flags:   [none]
Extra2 Flags:  [none]
Class Allowances: all classes
[v0] Liquid Total: [5] (-1 = infinite)
[v1] Liquid Left:  [5] (-1 = infinite)
[v2] Liquid:       whisky
[v3] Poisoned:     No


The resets:

Code:
Resets: M = mobile, O = object, P = pet, S = shopkeeper
 No.  Loads    Description          Location      Vnum   Mx Mn Description
==== ======== =================== ============= ======== ===== ===========
[ 1] M[ 1015] a pint-sized tavern wench in room       R[ 1015]  1- 1 Joymount Arms I
[ 2] G[ 1015] a darkened shot glass of Joymount Arms' peat-smoked whiskey put in the inventory of S[ 1015]


Still getting:

Code:
list
You can't buy anything here.


Have purged, rpurged, resetroom. No bueno. I know I must be missing something obvious.


Back to top
View user's profile Send private message AIM Address
Pixie



Joined: 16 Jan 2016
Posts: 56
Location: Pacific Northwest

PostPosted: Sun Jan 24, 2016 11:18 pm    Post subject: Reply with quote

Got it working by setting shop markup and markdown to 100%. No idea why this worked, but it did.


Back to top
View user's profile Send private message AIM Address
Kerishai



Joined: 06 Nov 2013
Posts: 9

PostPosted: Mon Jan 25, 2016 3:29 am    Post subject: Reply with quote

If the cost was less than 1, it might have acted funny. The cost of the item was already low (4) so, to sell it at 100% would be (4), 50% would be 2, etc. I've found the shopkeeper won't show the item for sale if the price is less than 1 or marked 'nosell'.


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Building All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin