Skip to content

Commit

Permalink
wood
Browse files Browse the repository at this point in the history
  • Loading branch information
cornercube committed Nov 14, 2024
1 parent f9a05c8 commit 582d862
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion code/modules/roguetown/roguecrafting/turfs.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


/datum/crafting_recipe/roguetown/turfs/woodfloor
name = "wooden floor"
name = "rough wooden floor"
result = /turf/open/floor/rogue/ruinedwood
reqs = list(/obj/item/grown/log/tree/small = 1)
skillcraft = /datum/skill/craft/carpentry
Expand All @@ -16,6 +16,38 @@
return
return TRUE

/datum/crafting_recipe/roguetown/turfs/woodfloorplank
name = "wooden floor"
result = /turf/open/floor/rogue/ruinedwood/spiral
reqs = list(/obj/item/natural/plank = 1)
skillcraft = /datum/skill/craft/carpentry
craftdiff = 1

/datum/crafting_recipe/roguetown/turfs/woodfloorplank/TurfCheck(mob/user, turf/T)
if(isclosedturf(T))
return
if(!istype(T, /turf/open/floor/rogue/dirt))
if(!istype(T, /turf/open/transparent/openspace))
if(!istype(T, /turf/open/floor/rogue/grass))
return
return TRUE

/datum/crafting_recipe/roguetown/turfs/woodfloorchevron
name = "patterned wooden floor"
result = /turf/open/floor/rogue/ruinedwood/spiral
reqs = list(/obj/item/natural/plankshort = 2)
skillcraft = /datum/skill/craft/carpentry
craftdiff = 1

/datum/crafting_recipe/roguetown/turfs/woodfloorchevron/TurfCheck(mob/user, turf/T)
if(isclosedturf(T))
return
if(!istype(T, /turf/open/floor/rogue/dirt))
if(!istype(T, /turf/open/transparent/openspace))
if(!istype(T, /turf/open/floor/rogue/grass))
return
return TRUE

/datum/crafting_recipe/roguetown/turfs/woodwall
name = "wooden wall"
result = /turf/closed/wall/mineral/rogue/wood
Expand Down

0 comments on commit 582d862

Please sign in to comment.