mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-24 09:14:17 +00:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -62,7 +62,6 @@
|
||||
var/obj/item/stack/cable_coil/C = used_atom
|
||||
if(C.amount<4)
|
||||
to_chat(user, ("There's not enough cable to finish the task."))
|
||||
|
||||
return 0
|
||||
else
|
||||
C.use(4)
|
||||
@@ -71,7 +70,6 @@
|
||||
var/obj/item/stack/S = used_atom
|
||||
if(S.amount < 5)
|
||||
to_chat(user, ("There's not enough material in this stack."))
|
||||
|
||||
return 0
|
||||
else
|
||||
S.use(5)
|
||||
@@ -114,7 +112,6 @@
|
||||
var/obj/item/stack/stack=used_atom
|
||||
if(stack.amount < amount)
|
||||
to_chat(user, "\red You don't have enough [stack]! You need at least [amount].")
|
||||
|
||||
return 0
|
||||
stack.use(amount)
|
||||
// CABLES
|
||||
@@ -122,7 +119,6 @@
|
||||
var/obj/item/stack/cable_coil/coil=used_atom
|
||||
if(coil.amount < amount)
|
||||
to_chat(user, "\red You don't have enough cable! You need at least [amount] coils.")
|
||||
|
||||
return 0
|
||||
coil.use(amount)
|
||||
// WELDER
|
||||
@@ -130,11 +126,9 @@
|
||||
var/obj/item/weapon/weldingtool/welder=used_atom
|
||||
if(!welder.isOn())
|
||||
to_chat(user, "\blue You tap the [src] with your unlit welder. [pick("Ding","Dong")].")
|
||||
|
||||
return 0
|
||||
if(!welder.remove_fuel(amount,user))
|
||||
to_chat(user, "\red You don't have enough fuel!")
|
||||
|
||||
return 0
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user