mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-02 05:32:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user