Skip to content

Commit

Permalink
Merge pull request #22 from bearrrrrrrr/beds
Browse files Browse the repository at this point in the history
roguetown beds
  • Loading branch information
Tk420634 authored Jun 26, 2024
2 parents 00ba5fc + 4891818 commit 8030e0b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/items/stacks/sheets/sheet_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ GLOBAL_LIST_INIT(wood_recipes, list ( \
new/datum/stack_recipe("wooden chair", /obj/structure/chair/wood/wings, 3, time = 10, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("deckchair", /obj/structure/chair/comfy/plywood, 4, time = 10, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("table frame", /obj/structure/table_frame/wood, 2, time = 10), \
new/datum/stack_recipe("bed", /obj/structure/bed/wooden, 2, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("bed", /obj/structure/bed/oldalt, 2, one_per_turf = TRUE, on_floor = TRUE), \
)), \
null, \
new/datum/stack_recipe_list("primitive industry & agriculture", list( \
Expand Down
40 changes: 24 additions & 16 deletions code/game/objects/structures/beds_chairs/bed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
/obj/structure/bed
name = "bed"
desc = "This is used to lie in, sleep in or strap on."
icon_state = "bed"
icon = 'icons/fallout/objects/furniture/chairs_and_beds.dmi'
icon_state = "shitbed"
icon = 'modular_roguetown/misc/structure.dmi'
anchored = TRUE
can_buckle = TRUE
buckle_lying = TRUE
Expand Down Expand Up @@ -76,30 +76,37 @@
* Wooden beds and old beds - Use wood for low tech like Oasis and Legion. Old for ruins.
*/

/obj/structure/bed/old
name = "wool bed"
desc = "Wood, wool. Not clean; but restable."
buildstacktype = /obj/item/stack/sheet/mineral/wood
icon_state = "woolbed"
max_integrity = 80

/obj/structure/bed/wooden
name = "wooden bed"
desc = "Wooden frame with a mattress"
name = "wood bed"
desc = "Wood bed. Not clean; but restable."
buildstacktype = /obj/item/stack/sheet/mineral/wood
icon_state = "bed_wood"
icon_state = "woolbed"
max_integrity = 80

/obj/structure/bed/old
name = "ancient bed"
desc = "Filthy beyond belief."
icon_state = "bed_dirty"
/obj/structure/bed/oldalt
name = "hay bed"
desc = "A hay bed; the cornerstone of all peasant bedhouses."
icon_state = "haybed"
max_integrity = 50

/obj/structure/bed/club
/obj/structure/bed/inn
name = "bed"
desc = "A vibrant pink and purple mattress cast in a thick metal frame."
icon_state = "bed_club"
desc = "A clean inn bed."
icon_state = "innbed"
max_integrity = 150

// Obsolete
/obj/structure/bed/oldalt
name = "ancient bed"
desc = "Filthy beyond belief."
icon_state = "bed_dirty"
/obj/structure/bed/alt
name = "old bed"
desc = "Rickety old bed. Is it safe to sleep in this...?"
icon_state = "shitbed2"
max_integrity = 50

/*
Expand Down Expand Up @@ -292,3 +299,4 @@
icon = 'icons/obj/rollerbed.dmi'
icon_state = "bedrollrolled"
w_class = WEIGHT_CLASS_SMALL // So you don't have to struggle with it! Besides, bedrolls can get pretty small.

Binary file modified modular_roguetown/misc/structure.dmi
Binary file not shown.

0 comments on commit 8030e0b

Please sign in to comment.