The Epic Construction Update (#5976)

How to build machine blueprints!

Use steel sheets like normal, then rotate the frame how you like it using the directional arrow. From here use a Multitool to finalize it and then wire it up like you would before.
This commit is contained in:
Lady Fowl
2019-09-10 22:07:46 +03:00
committed by Erki
parent abd926b14a
commit d6ff38ef96
164 changed files with 2571 additions and 1055 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
/obj/item/device/multitool/hacktool/attackby(var/obj/item/W, var/mob/user)
if(W.isscrewdriver())
in_hack_mode = !in_hack_mode
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(src.loc, W.usesound, 50, 1)
else
..()
@@ -160,7 +160,7 @@
user.visible_message(span("notice", "[user] starts welding the metal shell of [src]."), span("notice", "You start [hacked ? "repairing" : "welding open"] the metal covering of [src]."))
playsound(loc, 'sound/items/Welder.ogg', 50, 1)
add_overlay("overlay_welding")
if (do_after(user, 25))
if (do_after(user, 25/I.toolspeed))
to_chat(user, span("notice", "You are able to [hacked ? "repair" : "weld through"] the metal shell of [src]."))
if (hacked) locked = 1
else locked = 0
@@ -193,7 +193,7 @@
if (2)
if (I.isscrewdriver())
to_chat(user, span("notice", "You unscrew and remove the wiring cover from \the [src]."))
playsound(loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(loc, I.usesound, 50, 1)
setconstructionstate(3)
return
@@ -219,7 +219,7 @@
if (I.isscrewdriver())
to_chat(user, span("notice", "You replace and screw tight the wiring cover from \the [src]."))
playsound(loc, 'sound/items/Screwdriver.ogg', 50, 1)
playsound(loc, I.usesound, 50, 1)
setconstructionstate(2)
return
+42
View File
@@ -0,0 +1,42 @@
/obj/item/device/animaltagger
name = "animal tagger"
desc = "Used for tagging animals to be identified by a ear tag."
icon_state = "tagger0"
force = 5.0
w_class = 2.0
throwforce = 5.0
throw_range = 15
throw_speed = 3
var/animaltag = null
matter = list(DEFAULT_WALL_MATERIAL = 50,"glass" = 20)
origin_tech = list(TECH_MAGNET = 2, TECH_ENGINEERING = 1)
/obj/item/device/animaltagger/Destroy()
return ..()
/obj/item/device/animaltagger/attack()
return
/obj/item/device/animaltagger/afterattack(atom/A as mob|obj, mob/user as mob)
if(isanimal(A))
A.name = animaltag
to_chat(user,"<span class='notice'>You tag the animal as [animaltag].</span>")
else
to_chat(user, "<span class='notice'>You can't tag non animals.</span>")
return
/obj/item/device/animaltagger/attack_self(mob/user as mob)
var/inputtag = sanitizeSafe(input(user,"Label text?","Set label",""), MAX_NAME_LEN)
if(!inputtag || !length(inputtag))
to_chat(user, "<span class='notice'>Invalid tag line.</span>")
return
animaltag = inputtag