mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
/obj/item/weaponcrafting/receiver/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(istype(W,/obj/item/pipe))
|
||||
to_chat(user, "You attach the shotgun barrel to the receiver. The pins seem loose.")
|
||||
|
||||
var/obj/item/weaponcrafting/ishotgunconstruction/I = new /obj/item/weaponcrafting/ishotgunconstruction
|
||||
user.unEquip(src)
|
||||
user.put_in_hands(I)
|
||||
@@ -44,7 +43,6 @@
|
||||
user.unEquip(src)
|
||||
user.put_in_hands(C)
|
||||
to_chat(user, "<span class='notice'>You screw the pins into place, securing the pipe to the receiver.</span>")
|
||||
|
||||
qdel(src)
|
||||
|
||||
/obj/item/weaponcrafting/ishotgunconstruction2
|
||||
@@ -56,7 +54,6 @@
|
||||
/obj/item/weaponcrafting/ishotgunconstruction2/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(istype(W,/obj/item/weaponcrafting/stock))
|
||||
to_chat(user, "You attach the stock to the receiver-barrel assembly.")
|
||||
|
||||
var/obj/item/weaponcrafting/ishotgunconstruction3/I = new /obj/item/weaponcrafting/ishotgunconstruction3
|
||||
user.unEquip(src)
|
||||
user.put_in_hands(I)
|
||||
@@ -79,10 +76,8 @@
|
||||
user.unEquip(src)
|
||||
user.put_in_hands(W)
|
||||
to_chat(user, "<span class='notice'>You tie the wrapping paper around the stock and the barrel to secure it.</span>")
|
||||
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You need at least five feet of wrapping paper to secure the stock.</span>")
|
||||
|
||||
return
|
||||
|
||||
|
||||
@@ -204,17 +204,14 @@
|
||||
if(href_list["make"])
|
||||
if(!check_table_space())
|
||||
to_chat(usr, "<span class ='warning'>The table is too crowded.</span>")
|
||||
|
||||
return
|
||||
var/datum/table_recipe/TR = locate(href_list["make"])
|
||||
busy = 1
|
||||
interact(usr)
|
||||
if(construct_item(usr, TR))
|
||||
to_chat(usr, "<span class='notice'>[TR.name] constructed.</span>")
|
||||
|
||||
else
|
||||
to_chat(usr, "<span class ='warning'>Construction failed.</span>")
|
||||
|
||||
busy = 0
|
||||
interact(usr)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user