Fix #18370 Crayon bedsheets colors are correct now (#19279)

* correct color for washing machine bedsheet

* var name tweak
This commit is contained in:
Henri215
2022-10-16 13:05:11 +02:00
committed by GitHub
parent 7be863bb77
commit 2280de0b7b
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -72,6 +72,7 @@
var/new_shoe_name = ""
var/new_sheet_icon_state = ""
var/new_sheet_name = ""
var/new_sheet_item_state = ""
var/new_softcap_icon_state = ""
var/new_softcap_name = ""
var/new_desc = "The colors are a bit dodgy."
@@ -115,6 +116,7 @@
if(wash_color == B.item_color)
new_sheet_icon_state = B.icon_state
new_sheet_name = B.name
new_sheet_item_state = B.item_state
qdel(B)
break
qdel(B)
@@ -170,6 +172,7 @@
for(var/obj/item/bedsheet/B in contents)
B.icon_state = new_sheet_icon_state
B.item_color = wash_color
B.item_state = new_sheet_item_state
B.name = new_sheet_name
B.desc = new_desc
if(new_softcap_icon_state && new_softcap_name)
+1 -1
View File
@@ -108,7 +108,7 @@ LINEN BINS
/obj/item/bedsheet/black
icon_state = "sheetblack"
item_state = "bedsheetblack"
item_color = "sheetblack"
item_color = "black"
dream_messages = list("black")
nightmare_messages = list("the void of space")