mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
to_chat(user, "There are [src.amount] [src.singular_name]\s in the stack.")
|
||||
|
||||
|
||||
|
||||
/obj/item/stack/attack_self(mob/user as mob)
|
||||
list_recipes(user)
|
||||
|
||||
@@ -120,22 +119,17 @@
|
||||
if (src.amount < R.req_amount*multiplier)
|
||||
if (R.req_amount*multiplier>1)
|
||||
to_chat(usr, "\red You haven't got enough [src] to build \the [R.req_amount*multiplier] [R.title]\s!")
|
||||
|
||||
else
|
||||
to_chat(usr, "\red You haven't got enough [src] to build \the [R.title]!")
|
||||
|
||||
return
|
||||
if (R.one_per_turf && (locate(R.result_type) in usr.loc))
|
||||
to_chat(usr, "\red There is another [R.title] here!")
|
||||
|
||||
return
|
||||
if (R.on_floor && !istype(usr.loc, /turf/simulated))
|
||||
to_chat(usr, "\red \The [R.title] must be constructed on the floor!")
|
||||
|
||||
return
|
||||
if (R.time)
|
||||
to_chat(usr, "\blue Building [R.title] ...")
|
||||
|
||||
if (!do_after(usr, R.time, target = src))
|
||||
return
|
||||
if (src.amount < R.req_amount*multiplier)
|
||||
@@ -190,7 +184,6 @@
|
||||
continue
|
||||
oldsrc.attackby(item, usr)
|
||||
to_chat(usr, "You add new [item.singular_name] to the stack. It now contains [item.amount] [item.singular_name]\s.")
|
||||
|
||||
if(oldsrc.amount <= 0)
|
||||
break
|
||||
oldsrc.update_icon()
|
||||
|
||||
Reference in New Issue
Block a user