21/10/23 Bugfixes (#17648)

This commit is contained in:
Wowzewow (Wezzy)
2023-10-22 12:36:19 +00:00
committed by GitHub
parent 4354159d25
commit 8332ab1343
6 changed files with 50 additions and 8 deletions
@@ -21,7 +21,7 @@
if(!held_item || use_check_and_message(usr) || buckled || (anchored && padding_material)) // Make sure held_item = null if you don't want it to get picked up.
return
usr.visible_message(SPAN_NOTICE("[usr] [withdraw_verb]s \the [src.name]."), SPAN_NOTICE("You [withdraw_verb] \the [src.name]."))
var/obj/item/material/stool/S = new held_item(src.loc, material.name, padding_material ? padding_material.name : null, painted_colour) // Handles all the material code so you don't have to.
var/obj/item/material/stool/S = new held_item(src.loc, material.name, padding_material?.name, painted_colour) // Handles all the material code so you don't have to.
TransferComponents(S)
if(material_alteration & MATERIAL_ALTERATION_COLOR) // For snowflakes like wood chairs.
S.color = material.icon_colour
@@ -254,7 +254,7 @@
user.visible_message(SPAN_NOTICE("[user] [deploy_verb]s \the [src.name]."), SPAN_NOTICE("You [deploy_verb] \the [name]."))
// playsound(src, deploy_sound ? deploy_sound : drop_sound, DROP_SOUND_VOLUME)
user.drop_from_inventory(src)
var/obj/structure/bed/stool/S = new origin_type(get_turf(loc), material.name, padding_material ? padding_material.name : null, painted_colour) // Fuck me.
var/obj/structure/bed/stool/S = new origin_type(get_turf(loc), material?.name, padding_material?.name, painted_colour) // Fuck me.
TransferComponents(S)
S.dir = user.dir // Plant it where the user's facing
if(blood_DNA)
@@ -308,10 +308,10 @@
base_icon = "bar_stool"
origin_type = /obj/structure/bed/stool/bar
/obj/item/material/stool/bar/New(var/newloc, new_material)
/obj/item/material/stool/bar/New(var/newloc, new_material, new_padding_material, new_painted_colour)
if(!new_material)
new_material = MATERIAL_STEEL
..(newloc, new_material)
..(newloc, new_material, new_padding_material, new_painted_colour)
/obj/item/material/stool/hover
icon_state = "hover_stool_item"
@@ -319,10 +319,10 @@
base_icon = "hover_stool"
origin_type = /obj/structure/bed/stool/hover
/obj/item/material/stool/hover/New(var/newloc, new_material)
/obj/item/material/stool/hover/New(var/newloc, new_material, new_padding_material, new_painted_colour)
if(!new_material)
new_material = MATERIAL_SHUTTLE_SKRELL
..(newloc, new_material)
..(newloc, new_material, new_padding_material, new_painted_colour)
/obj/item/material/stool/bamboo
icon_state = "bamboo_stool_item"
@@ -330,10 +330,10 @@
base_icon = "bamboo_stool"
origin_type = /obj/structure/bed/stool/bamboo
/obj/item/material/stool/bamboo/New(var/newloc, new_material)
/obj/item/material/stool/bamboo/New(var/newloc, new_material, new_padding_material, new_painted_colour)
if(!new_material)
new_material = MATERIAL_BAMBOO
..(newloc, new_material)
..(newloc, new_material, new_padding_material, new_painted_colour)
/obj/structure/flora/log_bench
name = "log bench"
+42
View File
@@ -0,0 +1,42 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
# balance
# admin
# backend
# security
# refactor
#################################
# Your name.
author: Wowzewow (Wezzy)
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- bugfix: "Fixes padding issue with bar stools."
- bugfix: "Fixes invisible NKA pin and Grilled Carp Slice sprites."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 212 KiB