mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 03:26:31 +01:00
Corrects not being able to sit on all stools (#94310)
Corrects not being able to sit on all stools Since it's a chair Also fixes a mob's offset when sitting on a stool - if the chair is facing north, the mob should be behind the chair sprite. ## Why It's Good For The Game Stools are chairs People sit on chairs RP level 100 ## Changelog 🆑 ArchBTW fix: Fix sitting on stools (it's a chair) fix: Fix offset when sitting on a stool /🆑 --------- Co-authored-by: glue0000 <230859540+glue0000@users.noreply.github.com>
This commit is contained in:
@@ -324,11 +324,17 @@
|
||||
name = "stool"
|
||||
desc = "Apply butt."
|
||||
icon_state = "stool"
|
||||
can_buckle = FALSE
|
||||
buildstackamount = 1
|
||||
item_chair = /obj/item/chair/stool
|
||||
max_integrity = 300
|
||||
|
||||
/obj/structure/chair/stool/post_buckle_mob(mob/living/Mob)
|
||||
Mob.add_offsets(type, z_add = 4)
|
||||
. = ..()
|
||||
|
||||
/obj/structure/chair/stool/post_unbuckle_mob(mob/living/Mob)
|
||||
Mob.remove_offsets(type)
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/chair/stool, 0)
|
||||
|
||||
/obj/structure/chair/stool/narsie_act()
|
||||
@@ -360,13 +366,10 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/chair/stool, 0)
|
||||
desc = "It has some unsavory stains on it..."
|
||||
icon_state = "bar"
|
||||
item_chair = /obj/item/chair/stool/bar
|
||||
can_buckle = TRUE
|
||||
|
||||
/obj/structure/chair/stool/bar/post_buckle_mob(mob/living/M)
|
||||
M.pixel_y += 4
|
||||
|
||||
/obj/structure/chair/stool/bar/post_unbuckle_mob(mob/living/M)
|
||||
M.pixel_y -= 4
|
||||
/obj/structure/chair/stool/bar/post_buckle_mob(mob/living/Mob)
|
||||
. = ..()
|
||||
Mob.add_offsets(type, z_add = 7)
|
||||
|
||||
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/chair/stool/bar, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user