Download Game! Currently 68 players and visitors. Last logged in:JosimZxfEmailArcanaut

BatMUD Forums > Ideas-wanted > Re: Coffers

 
 
#1
20 Apr 2005 16:57
 
 
put money in coffer could work as it works with purses? or no? why? what?

 
 
 
Goa
160d, 0h, 51m, 19s old
Level:
51
 
 
#2
20 Apr 2005 17:16
 
 
Goa wrote:
put money in coffer could work as it works with purses? or no? why? what?
'put all coins in coffer' seems to work, assuming that is what you wanted to
do

 
 
 
Marvin
357d, 13h, 43m, 19s old
Level:
53
 
 
#3
20 Apr 2005 20:29
 
 
Marvin wrote:
Goa wrote:
put money in coffer could work as it works with purses? or no? why? what?
'put all coins in coffer' seems to work, assuming that is what you wanted to
do
That is because purses have overridden 'drop' command (or give, put, whatever)
for the person that carries it, whereas coffers utilize the standard (real)
give command that does not support 'money' it seems. The fix should be in give
command and not in coffers. I might fix it when I have time.

P.S. I'm not completely sure this is how it works, but almost.

 
Rating:
1
Votes:
1
 
 
Malar
W i z a r d
2y, 211d, 19h, 10m, 55s old
Level:
50 [Wizard]
 
 
#4
20 Apr 2005 20:54
 
 
Malar wrote:
Marvin wrote:
Goa wrote:
put money in coffer could work as it works with purses? or no? why? what?
'put all coins in coffer' seems to work, assuming that is what you wanted to
do
That is because purses have overridden 'drop' command (or give, put, whatever)
for the person that carries it, whereas coffers utilize the standard (real)
give command that does not support 'money' it seems. The fix should be in give
command and not in coffers. I might fix it when I have time.

P.S. I'm not completely sure this is how it works, but almost.
I looked at the code. It takes 'all money' and 'all coins'. I won't change it
because it's clearer this way. No newbies will accidentally give all their
cash to some mob either.

 
Rating:
2
Votes:
2
 
 
Malar
W i z a r d
2y, 211d, 19h, 10m, 55s old
Level:
50 [Wizard]