Steam Avatar
You aren't signed in

RP Content - Items Cost Money

1 KB, 14 years ago, submitted by DarkLight

This will make it so it will cost money to spawn an item.

McTwist
I have to say that some of the code wont work. Please check it again and update.
Also, that makes that I cannot approve this extension...
DarkLight
Oh, I see what I did wrong.
McTwist
Pretty fast edit, huh?
DarkLight
Updated the file.
McTwist
*hint* parent::setItem *hint*
DarkLight
-snip- Haha, i see xD
McTwist
You like to edit, I see...

The code is a little bit messy, but I don't mind...
DarkLight
Ok, I updated. RTB won't let me edit the change log though, I don't know why.
McTwist
It is a thing that Ephi will add later. I mentioned it to him earlier...
Zloff
You gotta make this that doesn't need the content, only then, will it be a win :3 (if it's possible).

EDIT: well i was thinking for the cashmod, but I now know that it would be a stupid idea O_o it IS a win!

P.S. Also, this should be limited to only shopkeepers, when the mod comes out.
McTwist
You cannot go without it! Where do you get the money from? :3

Oh, that reminds me... You need to check if RP Money is activated. Else, it wont work...
DarkLight
Done.
Zloff
I just found out that it costs $200 to spawn any item, which is annoying. There should be something in RTB server preferences to set the cost for certain items.

EDIT: I didn't know he edited it, what did he edit?
McTwist
I don't think that he saw that edit...
DarkLight
I am no longer updating this add-on. I'm busy coding my own RP.
AWSOME YOU DIDNT TELL US HOW TO GOOD JOB
Jorgur
This is pretty pointless since RP_money does this by default.
CameronOwnz
Can you make this work on cashmod? That'd be great :)
blocula
How do I change an item's cost?