Grate cost tweak (#8559)

This commit is contained in:
AveryThePanda
2020-04-08 12:25:06 +02:00
committed by GitHub
parent ca2578c926
commit 615fb11051
3 changed files with 49 additions and 3 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
var/global/list/datum/stack_recipe/rod_recipes = list(
new /datum/stack_recipe("grille", /obj/structure/grille, 2, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("floor-mounted catwalk", /obj/structure/lattice/catwalk/indoor, 4, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("grate, dark", /obj/structure/lattice/catwalk/indoor/grate, 4, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("grate, light", /obj/structure/lattice/catwalk/indoor/grate/light, 4, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("grate, dark", /obj/structure/lattice/catwalk/indoor/grate, 1, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("grate, light", /obj/structure/lattice/catwalk/indoor/grate/light, 1, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("mine track", /obj/structure/track, 3, time = 10, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("cane", /obj/item/cane, 1, time = 6),
new /datum/stack_recipe("crowbar", /obj/item/crowbar, 1, time = 6),
+6 -1
View File
@@ -66,6 +66,7 @@
icon_state = "catwalk"
smooth = TRUE
canSmoothWith = null
var/return_amount = 3
// Special catwalk that can be placed on regular flooring.
/obj/structure/lattice/catwalk/indoor
@@ -80,7 +81,9 @@
if (do_after(user, 5/C.toolspeed, act_target = src) && WT.remove_fuel(1, user))
to_chat(user, "<span class='notice'>You slice apart [src].</span>")
playsound(src, 'sound/items/Welder.ogg', 50, 1)
new /obj/item/stack/rods{amount = 3}(loc)
var/obj/item/stack/rods/R = new /obj/item/stack/rods(get_turf(src))
R.amount = return_amount
R.update_icon()
qdel(src)
/obj/structure/lattice/catwalk/indoor/attackby(obj/item/C, mob/user)
@@ -104,6 +107,7 @@
desc = "A metal grate."
icon = 'icons/obj/grate.dmi'
icon_state = "grate_dark"
return_amount = 1
smooth = null
var/base_icon_state = "grate_dark"
var/damaged = FALSE
@@ -122,6 +126,7 @@
/obj/structure/lattice/catwalk/indoor/grate/light
icon_state = "grate_light"
base_icon_state = "grate_light"
return_amount = 1
/obj/structure/lattice/catwalk/indoor/grate/light/old
icon_state = "grate_light_old"