Skip to content

Commit

Permalink
yappee
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraBarax committed Feb 8, 2024
1 parent 655ffc6 commit c903ac6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions code/game/objects/structures/plasticflaps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@
if (prob(5))
qdel(src)

/obj/structure/plasticflaps/attackby(obj/item/O, mob/user)
if(isWrench(O))
if(do_after(user, 30, src))
new /obj/item/stack/material/plastic(loc, 5)
qdel(src)

. = ..()

/obj/structure/plasticflaps/mining //A specific type for mining that doesn't allow airflow because of them damn crates
name = "airtight plastic flaps"
desc = "Heavy duty, airtight, plastic flaps."
Expand Down
2 changes: 1 addition & 1 deletion code/modules/materials/material_recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
recipes += new /datum/stack_recipe("freezer floor tile", /obj/item/stack/tile/floor_freezer, 1, 4, 20)
recipes += new /datum/stack_recipe("hazard cone", /obj/item/caution/cone, 2, on_floor = 1)
recipes += new /datum/stack_recipe("small knife grip", /obj/item/material/shivgrip/plastic, 2, time = 20, one_per_turf = 0, on_floor = 1, supplied_material = "[name]")

recipes += new /datum/stack_recipe("plastic flaps", /obj/structure/plasticflaps, 5, time = 30, one_per_turf = 1, on_floor = 1)

/material/wood/generate_recipes()
..()
Expand Down

0 comments on commit c903ac6

Please sign in to comment.