death penalty coin loss please.
xbaxdark opened this issue · 8 comments
The only thing ecocreature has that otherdrops doesn't is a death penalty for when players die. I need to keep it so players lose % money when they die to keep inflation down. If otherdrops had this, I'd switch to otherdrops full time and never look back.
possible variables: (have different penalties for):
Player dies to player.
Player dies to mobs
Player dies from fall,suffocation or burns to death.
I think this can be done somewhat already, eg.
PLAYER: # indicates a player as a target, eg. dying
- tool: PLAYER
drop: MONEY@STEAL/20
Haven't tested that recently though and doesn't support percentages. I'm
working on %'s and other variables, will be in there eventually.
On Tue, Feb 19, 2013 at 8:36 AM, xbaxdark [email protected] wrote:
The only thing ecocreature has that otherdrops doesn't is a death penalty
for when players die. I need to keep it so players lose % money when they
die to keep inflation down. If otherdrops had this, I'd switch to
otherdrops full time and never look back.possible variables: (have different penalties for):
Player dies to player.
Player dies to mobs
Player dies from fall,suffocation or burns to death.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/128.
If I recall correctly though, this will result in the lost money going to the killer.
Very true. Will think about a MONEY@DECREASE option or something similar.
On Tue, Feb 19, 2013 at 10:44 AM, CelticMinstrel
[email protected]:
If I recall correctly though, this will result in the lost money going to
the killer.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/128#issuecomment-13751229.
Hrmm yes I need a straight up money loss to fight inflation otherwise the money is just changing hands.
Honestly if you could add a % death penalty it would mean so much to me and my server if you just let me know if/when it's been added I'd gladly paypal you 20 bucks or something. Just let me know and I'll be sure to keep my word.
Hmm, noticed I've already coded that feature in OtherDrops. Doesn't support a percentage yet though, just an amount using drop: MONEY@PENALTY/20 (lose $20) for example.
So, eg:
PLAYER:
- tool: PLAYER
drop: DEFAULT
flags: UNIQUE # override other drop sections
- tool: ANY # note: player overrides this above
drop: MONEY@PENALTY/20
Will look into allowing a %.
Fixed, next build will have drop: MONEY@PERCENTPENALY/20 (don't put a % sign... otherwise will be mistaken for a % chance to drop).
The format might change later to reduce the confusion not being about to use /20% will cause, but at least it's there for now.