Merge pull request #3494 from Tastyfish/buckets

Buckets and set transfer amount improvement
This commit is contained in:
Fox McCloud
2016-02-03 22:24:33 -05:00
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -12,9 +12,13 @@
set name = "Set transfer amount"
set category = "Object"
set src in range(0)
if(usr.stat || !usr.canmove || usr.restrained())
return
var/N = input("Amount per transfer from this:","[src]") as null|anything in possible_transfer_amounts
var/default = null
if(amount_per_transfer_from_this in possible_transfer_amounts)
default = amount_per_transfer_from_this
var/N = input("Amount per transfer from this:", "[src]", default) as null|anything in possible_transfer_amounts
if (N)
amount_per_transfer_from_this = N
@@ -336,7 +336,7 @@
materials = list(MAT_METAL=200)
w_class = 3.0
amount_per_transfer_from_this = 20
possible_transfer_amounts = list(5,10,15,25,30,50,80,100,120)
possible_transfer_amounts = list(5,10,15,20,25,30,50,80,100,120)
volume = 120
flags = OPENCONTAINER