Remove plugins/revspace_bounties
Replaced by 3 lines in revbank.products: BOUNTY1 -10.00@-expenses/bounties Bedankt voor het vegen/stofzuigen BOUNTY2 -10.00@-expenses/bounties Bedankt voor het afvoeren van het afval BOUNTY3 -25.00@-expenses/bounties Bedankt voor het dweilen
This commit is contained in:
parent
a444512bf1
commit
7d5018a5ef
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
#!perl
|
|
||||||
|
|
||||||
my %bounties = (
|
|
||||||
1 => [ 10, "Bedankt voor het vegen/stofzuigen" ],
|
|
||||||
2 => [ 10, "Bedankt voor het afvoeren van het afval" ],
|
|
||||||
3 => [ 25, "Bedankt voor het dweilen" ],
|
|
||||||
4 => [ 15, "Bedankt voor 't poetsen van alle tafels" ],
|
|
||||||
);
|
|
||||||
|
|
||||||
sub command :Tab(BOUNTY1,BOUNTY2,BOUNTY3,BOUNTY4) ($self, $cart, $command, @) {
|
|
||||||
if ($command =~ /BOUNTY(\d+)/) {
|
|
||||||
$cart
|
|
||||||
->add(+$bounties{$1}[0], $bounties{$1}[1])
|
|
||||||
->add_contra("-expenses/bounties", -$bounties{$1}[0], "$command by \$you");
|
|
||||||
return ACCEPT;
|
|
||||||
}
|
|
||||||
|
|
||||||
return NEXT;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue