Alexandrite Posted December 25, 2023 Group: Members Topic Count: 21 Topics Per Day: 0.01 Content Count: 54 Reputation: 0 Joined: 02/19/14 Last Seen: September 10, 2024 Share Posted December 25, 2023 Like a Red Potion is 50z if you write selling npc as 501:-1 NPC would sell it at 50z but i would like NPC to sell it at 25z what code should I write? without directly put 25 Or do I need to Source Mod? Quote Link to comment Share on other sites More sharing options...
0 Gidz Cross Posted December 25, 2023 Group: Members Topic Count: 133 Topics Per Day: 0.03 Content Count: 679 Reputation: 88 Joined: 04/07/14 Last Seen: 14 hours ago Share Posted December 25, 2023 -1 means the value set in the database. If you want to sell it less the original value is to declare it manually. But there are workaround with this. check the discount skill as an idea. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted December 29, 2023 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2364 Joined: 10/28/11 Last Seen: Saturday at 07:02 PM Share Posted December 29, 2023 perhaps you shall check your item_db info ########################################################################### # Item Database ########################################################################### # - Id Item ID. # Buy Buying price. When not specified, becomes double the sell price. (Default: 0) # Sell Selling price. When not specified, becomes half the buy price. (Default: 0) Quote Link to comment Share on other sites More sharing options...
Question
Alexandrite
Like a Red Potion is 50z
if you write selling npc as 501:-1
NPC would sell it at 50z
but i would like NPC to sell it at 25z
what code should I write? without directly put 25
Or do I need to Source Mod?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.