Bugfix Shotgun 3: The Revengeance (#10737)

This commit is contained in:
Wildkins
2020-12-08 11:45:05 +01:00
committed by GitHub
parent 7d849c4e18
commit 3d9543e877
9 changed files with 52 additions and 6 deletions
+9 -1
View File
@@ -14,6 +14,7 @@
build_amt = 2
var/material/reinf_material
var/reinforcing = 0
var/plating = FALSE
/obj/structure/girder/examine(mob/user, distance, infix, suffix)
. = ..()
@@ -213,11 +214,18 @@
to_chat(user, "<span class='notice'>This material is too soft for use in wall construction.</span>")
return 0
to_chat(user, "<span class='notice'>You begin adding the plating...</span>")
if(!plating)
to_chat(user, "<span class='notice'>You begin adding the plating...</span>")
plating = TRUE
else
return TRUE
if(!do_after(user,40) || !S.use(2))
plating = FALSE
return 1 //once we've gotten this far don't call parent attackby()
plating = FALSE
if(anchored)
to_chat(user, "<span class='notice'>You added the plating!</span>")
else
@@ -454,6 +454,9 @@
// Filling/emptying open reagent containers
var/obj/item/reagent_containers/RG = O
if (istype(RG, /obj/item/reagent_containers/glass/rag))
return
if (istype(RG) && RG.is_open_container())
var/atype = alert(usr, "Do you want to fill or empty \the [RG] at \the [src]?", "Fill or Empty", "Fill", "Empty", "Cancel")