Skip to content

Commit

Permalink
Merge pull request #18 from ARF-SS13/fenwork
Browse files Browse the repository at this point in the history
Fixes the bar piano
  • Loading branch information
Tk420634 committed Jul 16, 2024
2 parents 1087dad + 8261dce commit 454e885
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
8 changes: 4 additions & 4 deletions _maps/map_files/coyote_bayou/foxybar.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -4508,7 +4508,6 @@
/obj/structure/sign/poster/contraband/pinup_bed{
pixel_x = -32
},
/obj/structure/piano/fancy,
/obj/effect/turf_decal/siding/wood{
dir = 8;
color = "#3B2B1A"
Expand All @@ -4517,13 +4516,14 @@
dir = 1;
color = "#3B2B1A"
},
/obj/effect/turf_decal/siding/wood{
color = "#3B2B1A"
},
/obj/structure/musician/piano,
/obj/effect/overlay/fog/fog2{
plane = -2;
alpha = 175
},
/obj/effect/turf_decal/siding/wood{
color = "#3B2B1A"
},
/turf/open/floor/wood_fancy{
color = "#779999"
},
Expand Down
15 changes: 2 additions & 13 deletions code/modules/instruments/instruments/stationary.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,13 @@
/obj/structure/musician/piano
name = "minimoog"
icon = 'icons/obj/musician.dmi'
icon_state = "minimoog"
icon_state = "piano"
anchored = TRUE
density = TRUE
density = FALSE

/obj/structure/musician/piano/unanchored
anchored = FALSE

/obj/structure/musician/piano/Initialize(mapload)
. = ..()
if(prob(50) && icon_state == initial(icon_state))
name = "minimoog"
desc = "This is a minimoog, like a piano, but more futuristic!"
icon_state = "minimoog"
else
name = "piano"
desc = "This old piano can barely hold a tune. Too bad all the piano tuners are dead, more or less."
icon_state = "piano"

/obj/structure/piano/fancy
name = "piano"
icon = 'icons/obj/musician.dmi'
Expand Down

0 comments on commit 454e885

Please sign in to comment.