Skip to content

Commit

Permalink
fixes some poorly named paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxilmaniac committed Jun 29, 2024
1 parent de80b61 commit 09d2bda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions code/modules/fantasystation_content/crafting/walls.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/turf/closed/wall/fanasystation
/turf/closed/wall/fantasystation
name = "wall"
desc = "A huge chunk of { SPACE INTENTIONALLY LEFT BLANK } used to separate rooms."
icon = 'icons/obj/fantasystation_obj/walls/swamp_log.dmi'
Expand All @@ -18,10 +18,10 @@
/// What sound the wall makes when dismantled
var/dismantle_sound = SFX_TREE_CHOP

/turf/closed/wall/fanasystation/deconstruction_hints(mob/user)
/turf/closed/wall/fantasystation/deconstruction_hints(mob/user)
return span_notice("The logs could probably be <b>hacked apart</b> with an <b>axe</b>.")

/turf/closed/wall/fanasystation/dismantle_wall(devastated = FALSE, explode = FALSE)
/turf/closed/wall/fantasystation/dismantle_wall(devastated = FALSE, explode = FALSE)
if(devastated)
devastate_wall()
else
Expand All @@ -40,7 +40,7 @@
ScrapeAway()
QUEUE_SMOOTH_NEIGHBORS(src)

/turf/closed/wall/fanasystation/try_decon(obj/item/attacking_item, mob/user)
/turf/closed/wall/fantasystation/try_decon(obj/item/attacking_item, mob/user)
if(attacking_item.tool_behaviour != TOOL_AXE)
return FALSE
if(!attacking_item.tool_start_check(user, amount=round(slicing_duration / 50)))
Expand All @@ -57,15 +57,15 @@

/// Now for the actual walls, starting with logs

/turf/closed/wall/fanasystation/log
/turf/closed/wall/fantasystation/log
name = "log wall"
desc = "A stack of logs set in the ground to keep the outside out, and the inside in."
icon = 'icons/obj/fantasystation_obj/walls/log.dmi'
icon_state = "log-0"
base_icon_state = "log"
sheet_type = /obj/item/stack/fantasy_logs

/turf/closed/wall/fanasystation/log/swamp
/turf/closed/wall/fantasystation/log/swamp
name = "swamp log wall"
icon = 'icons/obj/fantasystation_obj/walls/swamp_log.dmi'
icon_state = "swamp_log-0"
Expand Down
4 changes: 2 additions & 2 deletions code/modules/fantasystation_content/crafting/wood.dm
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
GLOBAL_LIST_INIT(log_recipes, list(
new/datum/stack_recipe("palisade", /obj/structure/railing/fantasy_palisade, 2, time = 3 SECONDS, crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_CHECK_DIRECTION | CRAFT_ON_SOLID_GROUND, category = CAT_STRUCTURE),
new/datum/stack_recipe("wall", /turf/closed/wall/fanasystation/log, 3, time = 5 SECONDS, crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_ON_SOLID_GROUND, category = CAT_STRUCTURE),
new/datum/stack_recipe("wall", /turf/closed/wall/fantasystation/log, 3, time = 5 SECONDS, crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_ON_SOLID_GROUND, category = CAT_STRUCTURE),
))

GLOBAL_LIST_INIT(swamp_log_recipes, list(
new/datum/stack_recipe("palisade", /obj/structure/railing/fantasy_palisade/swamp, 2, time = 3 SECONDS, crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_CHECK_DIRECTION | CRAFT_ON_SOLID_GROUND, category = CAT_STRUCTURE),
new/datum/stack_recipe("wall", /turf/closed/wall/fanasystation/log/swamp, 3, time = 5 SECONDS, crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_ON_SOLID_GROUND, category = CAT_STRUCTURE),
new/datum/stack_recipe("wall", /turf/closed/wall/fantasystation/log/swamp, 3, time = 5 SECONDS, crafting_flags = CRAFT_CHECK_DENSITY | CRAFT_ON_SOLID_GROUND, category = CAT_STRUCTURE),
))

/obj/item/stack/fantasy_logs
Expand Down

0 comments on commit 09d2bda

Please sign in to comment.