mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
You can now attach a string to coins using cable coil (remove with wirecutters). With a string attached you have a chance to recover the coin when buying an item from a vending machine that requires a coin.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2212 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -245,7 +245,17 @@
|
||||
return
|
||||
|
||||
if (R in coin_records)
|
||||
del(coin)
|
||||
if(!coin)
|
||||
usr << "\blue You need to insert a coin to get this item."
|
||||
return
|
||||
if(coin.string_attached)
|
||||
if(prob(50))
|
||||
usr << "\blue You successfully pull the coin out before the [src] could swallow it."
|
||||
else
|
||||
usr << "\blue You weren't able to pull the coin out fast enough, the machine ate it, string and all."
|
||||
del(coin)
|
||||
else
|
||||
del(coin)
|
||||
|
||||
R.amount--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user