[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Area Editor
. -> [Folder]  General
. . -> [Subject]  Item level in shops
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Item level in shops

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Zanoff   (6 posts)  [Biography] bio
Date Sat 01 Dec 2001 06:47 AM (UTC)
Message
Is there a way to set the level of the items in the shops. I wanted to make a newbie shop for newbie items that people level 1 could buy, but instead my items are displayed as lvl 5+ and people can't buy them.

Thanks,
Zanoff
[Go to top] top

Posted by Zanoff   (6 posts)  [Biography] bio
Date Reply #1 on Sat 01 Dec 2001 08:55 AM (UTC)
Message
Btw, Im using the updated 1.4a with the save fix. And there is no src folder with those cpp files to modify. I read on the SMAUG board about a solution, but I don't see how I can do that with the verison I have now.

Zanoff
[Go to top] top

Posted by Zanoff   (6 posts)  [Biography] bio
Date Reply #2 on Sat 01 Dec 2001 09:10 AM (UTC)
Message
Also, once again :)

If there isnt a way to fix this, how would I be able to give each player a set of armor and a weapon to last them to lvl 5 upon creation of thier character.

Therefore they can use those items they were "born" with till they are high enough level to buy other items.

Zanoff
[Go to top] top

Posted by Nick Gammon   Australia  (21,493 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sat 01 Dec 2001 09:17 AM (UTC)
Message
I think newbies are equipped with the stuff given to them in function do_newbieset in act_wiz.c.

You could modify that to equip them with more items.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Mademoiselle   Australia  (35 posts)  [Biography] bio
Date Reply #4 on Sun 02 Dec 2001 08:28 AM (UTC)
Message
If I recall correctly, the level of items in shops is determined by the stats on those items. Lower the stats, and lower players should be able to buy them.
[Go to top] top

Posted by Zanoff   (6 posts)  [Biography] bio
Date Reply #5 on Mon 03 Dec 2001 (UTC)
Message
I could have a item such as a sword, doing 1d2 damage, its condition practically worthless, cost at 1gp. Yet, the item is still listed as a lvl 5 sword. What other stats can I change?


Zanoff
[Go to top] top

Posted by Zanoff   (6 posts)  [Biography] bio
Date Reply #6 on Mon 03 Dec 2001 04:27 AM (UTC)
Message
After many hours of reading and researching. I came to a solution to solve my problem with newbie items starting at level 5.

I have found out that if you declare the item as a weapon, no matter what the stats are, the item will be at the lowest level 5. So to fix that all I did was not declare the item type. (Using area editor it would be Type: (none), and manually it would be 0). This sets the item level to 0.

This was the easiest solution for me, since Im not much of the programmer, yet.


Zanoff
[Go to top] top

Posted by GenmaC   (22 posts)  [Biography] bio
Date Reply #7 on Wed 20 Feb 2002 10:53 PM (UTC)
Message
I found a fix (more like a shortcut) and posted it here:
http://dualtranslations.org/smaug/shopitem_fix.html
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,650 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]