better logging, that also works

This commit is contained in:
Putnam
2020-01-16 19:09:13 -08:00
parent a4cc73f219
commit 5ace1df9af
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -202,6 +202,7 @@
if(O)
O.setDir(usr.dir)
use(R.req_amount * multiplier)
log_craft("[O] crafted by [usr] at [loc_name(O.loc)]")
//START: oh fuck i'm so sorry
if(istype(O, /obj/structure/windoor_assembly))
@@ -229,7 +230,6 @@
for (var/obj/item/I in O)
qdel(I)
//BubbleWrap END
log_craft("[O] crafted by [usr] at [get_turf(O)]")
/obj/item/stack/proc/building_checks(datum/stack_recipe/R, multiplier)
if (get_amount() < R.req_amount*multiplier)