mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01: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
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
// Returns: null
|
||||
proc/fireEvent()
|
||||
// to_chat(world, "Events in [args[1]] called")
|
||||
|
||||
var/list/event = listgetindex(events,args[1])
|
||||
if(istype(event))
|
||||
spawn(-1)
|
||||
@@ -62,7 +61,6 @@
|
||||
|
||||
proc/Fire()
|
||||
// to_chat(world, "Event fired")
|
||||
|
||||
if(listener)
|
||||
call(listener,proc_name)(arglist(args))
|
||||
return 1
|
||||
|
||||
@@ -140,7 +140,6 @@ Data storage vars:
|
||||
return 1
|
||||
else
|
||||
// to_chat(world, "\red Invalid arguments supplied for [src.type], ref = \ref[src]")
|
||||
|
||||
return 0
|
||||
|
||||
proc/toggle_null_checks()
|
||||
|
||||
@@ -167,5 +167,4 @@
|
||||
if(istype(teleatom, /mob/living))
|
||||
var/mob/living/MM = teleatom
|
||||
to_chat(MM, "<span class='warning'>The bluespace interface on your bag of holding interferes with the teleport!</span>")
|
||||
|
||||
return 1
|
||||
Reference in New Issue
Block a user