Prize Counter and Toy Fixes

Prize counters now spend your tickets when you purchase something
- Had removed the ticket spending during my testing, forgot to re-add it
before submit

Toy Crossbows now properly display the name of their user when they
"start scrounging for ammo"

Water balloons can now be filled from sinks, ANY reagent dispenser
structure (not just watertanks), and drinking glasses in addition to
beakers and buckets.
- Watch out for security hurling pepper-spray balloons!
This commit is contained in:
FalseIncarnate
2016-02-27 11:06:42 -05:00
parent 59339e8cf5
commit d66624e7bd
2 changed files with 12 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ var/global/datum/prizes/global_prizes = new
return 0
if(prize_counter.tickets >= item.cost)
new item.typepath(prize_counter.loc)
prize_counter.tickets -= item.cost
prize_counter.visible_message("<span class='notice'>Enjoy your prize!</span>")
return 1
else