Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old October 17, 2013, 02:45   #1
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 1,646
Ingwe Ingweron is on a distinguished road
Do stores recharge items you sell to them?

It used to be that stores would recharge items you sold to them, even with the no-selling option. You'd get zero gold for the sale, but you could buy the item back recharged. That doesn't seem to be happening anymore. Was the change intentional?
Ingwe Ingweron is offline   Reply With Quote
Old October 17, 2013, 02:46   #2
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,859
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Ingwe Ingweron View Post
It used to be that stores would recharge items you sold to them, even with the no-selling option. You'd get zero gold for the sale, but you could buy the item back recharged. That doesn't seem to be happening anymore. Was the change intentional?
It only works with items the store itself would stock.
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old October 17, 2013, 04:31   #3
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 1,646
Ingwe Ingweron is on a distinguished road
Quote:
Originally Posted by takkaria View Post
It only works with items the store itself would stock.
Then it's not working in the latest version. Tried it with a wand of stone to mud and a staff of identify in the Magic Shop. No recharge. In the case of the stone to mud (0 charges) bought back with 0 charges. Then I tested it with Identify. In the case of the Staff of Identify, there were staves of identify already in the store. Instead of recharging, it split the charges across all the staves including the (0 charge) staff I just sold, thereby reducing the average charges. I'd have been better off not selling the identify, dropping it, and buying a new one.
Ingwe Ingweron is offline   Reply With Quote
Old October 17, 2013, 13:32   #4
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,407
PowerWyrm is on a distinguished road
Quote:
Originally Posted by Ingwe Ingweron View Post
Then it's not working in the latest version. Tried it with a wand of stone to mud and a staff of identify in the Magic Shop. No recharge. In the case of the stone to mud (0 charges) bought back with 0 charges. Then I tested it with Identify. In the case of the Staff of Identify, there were staves of identify already in the store. Instead of recharging, it split the charges across all the staves including the (0 charge) staff I just sold, thereby reducing the average charges. I'd have been better off not selling the identify, dropping it, and buying a new one.
I've just downloaded the latest build (angband-v3.5-dev-593-g3151e57) and I cannot reproduce this. I emptied a wand of magic missiles and sold it to the shop where there was a wand of magic missiles with 12 charges. The result was 2 wands of magic missiles with 21 charges. Tried with other devices and all recharged.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old October 18, 2013, 05:35   #5
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 1,646
Ingwe Ingweron is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
I've just downloaded the latest build (angband-v3.5-dev-593-g3151e57) and I cannot reproduce this. I emptied a wand of magic missiles and sold it to the shop where there was a wand of magic missiles with 12 charges. The result was 2 wands of magic missiles with 21 charges. Tried with other devices and all recharged.
I just tried again to reproduce it. The first case, where the store doesn't currently have the particular item - selling a zero charge item results in a zero charge item for sale in the store -- no recharge. But, the second case, where the store does currently have the particular item - selling a zero charge item results in a recharge. I couldn't reproduce the second case problem that I had earlier.
Ingwe Ingweron is offline   Reply With Quote
Old October 18, 2013, 13:10   #6
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,407
PowerWyrm is on a distinguished road
Quote:
Originally Posted by Ingwe Ingweron View Post
I just tried again to reproduce it. The first case, where the store doesn't currently have the particular item - selling a zero charge item results in a zero charge item for sale in the store -- no recharge. But, the second case, where the store does currently have the particular item - selling a zero charge item results in a recharge. I couldn't reproduce the second case problem that I had earlier.
Strange... I bought a wand of stinking cloud, drained it of all charges and sold it back and it recharged. Are you sure it was an item that is sold in the shop?
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old October 18, 2013, 23:06   #7
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 1,646
Ingwe Ingweron is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
Strange... I bought a wand of stinking cloud, drained it of all charges and sold it back and it recharged. Are you sure it was an item that is sold in the shop?
First I tried it with a wand of stone to mud and a staff of identify.
Second time I tried it with a wand of annihilation and a staff of mapping.
All in the magic shop.

No recharge if the item wasn't already currently in stock.
Ingwe Ingweron is offline   Reply With Quote
Old October 19, 2013, 02:58   #8
Philip
Knight
 
Join Date: Jul 2009
Location: Prague,Czech Republic
Posts: 861
Philip is on a distinguished road
Well, since the magic shop would never stock either a wand of stone to mud or a wand of annihilation, they are not capable of recharging one.
Philip is offline   Reply With Quote
Old October 19, 2013, 06:47   #9
Ingwe Ingweron
Veteran
 
Join Date: Jan 2009
Location: Manhattan Beach, CA
Posts: 1,646
Ingwe Ingweron is on a distinguished road
Quote:
Originally Posted by Philip View Post
Well, since the magic shop would never stock either a wand of stone to mud or a wand of annihilation, they are not capable of recharging one.
Ahh! Got it. I assumed since they were magic wands, that was the right place. Now I realize I needed to go to the Black Market. I will try that.
Ingwe Ingweron is offline   Reply With Quote
Old October 21, 2013, 14:06   #10
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,407
PowerWyrm is on a distinguished road
Quote:
Originally Posted by Ingwe Ingweron View Post
Ahh! Got it. I assumed since they were magic wands, that was the right place. Now I realize I needed to go to the Black Market. I will try that.
Won't work... because the BM doesn't sell any fixed item. The list of items that can be recharged can be found in store.txt, and only store 6 will be able to do so:

normal:wand:Slow Monster
normal:wand:Confuse Monster
normal:wand:Sleep Monster
normal:wand:Magic Missile
normal:wand:Stinking Cloud
normal:wand:Wonder
normal:staff:Teleportation
normal:staff:Identify
normal:staff:Light
normal:staff:Mapping
normal:staffetect Invisible
normal:staffetect Evil
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No-sell eMeM Vanilla 111 August 24, 2013 17:45
if you like to sell stuff PowerDiver Vanilla 4 July 4, 2011 07:19
No Sell - I am convinced Bahman Rabii Vanilla 168 July 1, 2011 11:09
Can't recharge Rods Pete Mack Vanilla 9 January 5, 2010 18:39
Jewel Recharge Problem leendy Vanilla 1 August 25, 2007 05:20


All times are GMT +1. The time now is 12:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.