Revert "[SHOULD BE DONE BUT LETS TESTMERGE FIRST] TG SYNC"

This commit is contained in:
LetterJay
2017-12-16 13:08:50 -06:00
committed by GitHub
parent 715960b324
commit 7af461539f
756 changed files with 10062 additions and 11368 deletions
+2 -2
View File
@@ -73,7 +73,7 @@
if(href_list["pen"])
if(haspen)
haspen.forceMove(usr.loc)
haspen.loc = usr.loc
usr.put_in_hands(haspen)
haspen = null
@@ -96,7 +96,7 @@
if(href_list["remove"])
var/obj/item/P = locate(href_list["remove"])
if(istype(P) && P.loc == src)
P.forceMove(usr.loc)
P.loc = usr.loc
usr.put_in_hands(P)
if(P == toppaper)
toppaper = null
+3 -3
View File
@@ -187,6 +187,7 @@ GLOBAL_LIST_EMPTY(employmentCabinets)
/obj/structure/filingcabinet/employment/Initialize()
. = ..()
GLOB.employmentCabinets += src
return ..()
/obj/structure/filingcabinet/employment/Destroy()
GLOB.employmentCabinets -= src
@@ -198,9 +199,8 @@ GLOBAL_LIST_EMPTY(employmentCabinets)
var/datum/data/record/G = record
if(!G)
continue
var/datum/mind/M = G.fields["mindref"]
if(M && ishuman(M.current))
addFile(M.current)
if(G.fields["reference"])
addFile(G.fields["reference"])
/obj/structure/filingcabinet/employment/proc/addFile(mob/living/carbon/human/employee)
+1 -1
View File
@@ -62,7 +62,7 @@
if(href_list["remove"])
var/obj/item/I = locate(href_list["remove"])
if(istype(I) && I.loc == src)
I.forceMove(usr.loc)
I.loc = usr.loc
usr.put_in_hands(I)
if(href_list["read"])
+1
View File
@@ -374,3 +374,4 @@
/obj/item/paper/crumpled/bloody
icon_state = "scrap_bloodied"
+4 -4
View File
@@ -12,8 +12,8 @@
pass_flags = PASSTABLE
/obj/item/papercutter/Initialize()
. = ..()
/obj/item/papercutter/New()
..()
storedcutter = new /obj/item/hatchet/cutterblade(src)
update_icon()
@@ -111,8 +111,8 @@
resistance_flags = FLAMMABLE
max_integrity = 50
/obj/item/paperslip/Initialize()
. = ..()
/obj/item/paperslip/New()
..()
pixel_x = rand(-5, 5)
pixel_y = rand(-5, 5)
File diff suppressed because one or more lines are too long
+2 -3
View File
@@ -23,7 +23,6 @@
throw_range = 7
materials = list(MAT_METAL=10)
pressure_resistance = 2
grind_results = list("iron" = 2, "iodine" = 1)
var/colour = "black" //what colour the ink is!
var/traitor_unlock_degrees = 0
var/degrees = 0
@@ -175,12 +174,12 @@
reagents.trans_to(M, reagents.total_volume)
/obj/item/pen/sleepy/Initialize()
. = ..()
/obj/item/pen/sleepy/New()
create_reagents(45)
reagents.add_reagent("chloralhydrate2", 20)
reagents.add_reagent("mutetoxin", 15)
reagents.add_reagent("tirizene", 10)
..()
/*
* (Alan) Edaggers
+5 -6
View File
@@ -247,10 +247,10 @@
/obj/machinery/photocopier/proc/remove_photocopy(obj/item/O, mob/user)
if(!issilicon(user)) //surprised this check didn't exist before, putting stuff in AI's hand is bad
O.forceMove(user.loc)
O.loc = user.loc
user.put_in_hands(O)
else
O.forceMove(drop_location())
O.loc = src.loc
to_chat(user, "<span class='notice'>You take [O] out of [src].</span>")
/obj/machinery/photocopier/attackby(obj/item/O, mob/user, params)
@@ -338,16 +338,16 @@
else
user.visible_message("<span class='warning'>[user] puts [target] onto the photocopier!</span>", "<span class='notice'>You put [target] onto the photocopier.</span>")
target.forceMove(drop_location())
target.loc = get_turf(src)
ass = target
if(photocopy)
photocopy.forceMove(drop_location())
photocopy.loc = src.loc
visible_message("<span class='warning'>[photocopy] is shoved out of the way by [ass]!</span>")
photocopy = null
else if(copy)
copy.forceMove(drop_location())
copy.loc = src.loc
visible_message("<span class='warning'>[copy] is shoved out of the way by [ass]!</span>")
copy = null
updateUsrDialog()
@@ -391,6 +391,5 @@
/obj/item/device/toner
name = "toner cartridge"
icon_state = "tonercartridge"
grind_results = list("iodine" = 40, "iron" = 10)
var/charges = 5
var/max_charges = 5
-1
View File
@@ -33,7 +33,6 @@
w_class = WEIGHT_CLASS_TINY
resistance_flags = FLAMMABLE
max_integrity = 50
grind_results = list("iodine" = 4)
var/icon/img //Big photo image
var/scribble //Scribble on the back.
var/blueprints = 0 //Does it include the blueprints?