mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 19:41:56 +00:00
* Recolors and fixes holodeck chess board, fixes error on white king's description (#73886) ## About The Pull Request In a chess board, the white pieces occupy the 1-2 squares, while the black pieces occupy the 7-8 squares. This was reversed in space chess, with the white pieces being on black's position and vice versa. I changed the colors of the board as well, to make it nicer to the eye (and also occupying full tiles since the old version used the regular 4 square tiles). This accompanied by switching the carpet to wood for a more aesthetically pleasing view (esp since carpets look ugly in that shape). I made the names of the chess pieces lowercase to make it consistent ("That's a Black Pawn." -> "That's a black pawn.") and fixed the white king's description. All in all, the chess board looks like this now.  ## Why It's Good For The Game     ## Changelog 🆑 qol: Holodeck space chess board is more pleasing to look at. fix: Fixes holodeck space chess pieces being reversed. spellcheck: Fixed white king's description saying it moves any tile in one direction. /🆑 * Recolors and fixes holodeck chess board, fixes error on white king's description --------- Co-authored-by: SgtHunk <68669754+SgtHunk@users.noreply.github.com>
108 lines
3.9 KiB
Plaintext
108 lines
3.9 KiB
Plaintext
/obj/structure/chess
|
|
anchored = FALSE
|
|
density = FALSE
|
|
icon = 'icons/obj/chess.dmi'
|
|
icon_state = "white_pawn"
|
|
name = "\improper Probably a White Pawn"
|
|
desc = "This is weird. Please inform administration on how you managed to get the parent chess piece. Thanks!"
|
|
max_integrity = 100
|
|
|
|
/obj/structure/chess/wrench_act(mob/user, obj/item/tool)
|
|
if(flags_1 & HOLOGRAM_1)
|
|
balloon_alert(user, "it goes right through!")
|
|
return TRUE
|
|
to_chat(user, span_notice("You start to take apart the chess piece."))
|
|
if(!do_after(user, 0.5 SECONDS, target = src))
|
|
return TRUE
|
|
var/obj/item/stack/sheet/iron/metal_sheets = new (drop_location(), 2)
|
|
if (!QDELETED(metal_sheets))
|
|
metal_sheets.add_fingerprint(user)
|
|
tool.play_tool_sound(src)
|
|
qdel(src)
|
|
return TRUE
|
|
|
|
/obj/structure/chess/whitepawn
|
|
name = "\improper white pawn"
|
|
desc = "A white pawn chess piece. Get accused of cheating when executing a sick En Passant."
|
|
icon_state = "white_pawn"
|
|
|
|
/obj/structure/chess/whiterook
|
|
name = "\improper white rook"
|
|
desc = "A white rook chess piece. Also known as a castle. Can move any number of tiles in a straight line. It has a special move called castling."
|
|
icon_state = "white_rook"
|
|
|
|
/obj/structure/chess/whiteknight
|
|
name = "\improper white knight"
|
|
desc = "A white knight chess piece. It can hop over other pieces, moving in L shapes. A white kni- oh. Hah!"
|
|
icon_state = "white_knight"
|
|
|
|
/obj/structure/chess/whitebishop
|
|
name = "\improper white bishop"
|
|
desc = "A white bishop chess piece. It can move any number of tiles in a diagonal line."
|
|
icon_state = "white_bishop"
|
|
|
|
/obj/structure/chess/whitequeen
|
|
name = "\improper white queen"
|
|
desc = "A white queen chess piece. It can move any number of tiles in diagonal and straight lines."
|
|
icon_state = "white_queen"
|
|
|
|
/obj/structure/chess/whiteking
|
|
name = "\improper white king"
|
|
desc = "A white king chess piece. It can move one tile in any direction."
|
|
icon_state = "white_king"
|
|
|
|
/obj/structure/chess/blackpawn
|
|
name = "\improper black pawn"
|
|
desc = "A black pawn chess piece. Get accused of cheating when executing a sick En Passant."
|
|
icon_state = "black_pawn"
|
|
|
|
/obj/structure/chess/blackrook
|
|
name = "\improper black rook"
|
|
desc = "A black rook chess piece. Also known as a castle. Can move any number of tiles in a straight line. It has a special move called castling."
|
|
icon_state = "black_rook"
|
|
|
|
/obj/structure/chess/blackknight
|
|
name = "\improper black knight"
|
|
desc = "A black knight chess piece. It can hop over other pieces, moving in L shapes."
|
|
icon_state = "black_knight"
|
|
|
|
/obj/structure/chess/blackbishop
|
|
name = "\improper black bishop"
|
|
desc = "A black bishop chess piece. It can move any number of tiles in a diagonal line."
|
|
icon_state = "black_bishop"
|
|
|
|
/obj/structure/chess/blackqueen
|
|
name = "\improper black queen"
|
|
desc = "A black queen chess piece. It can move any number of tiles in diagonal and straight lines."
|
|
icon_state = "black_queen"
|
|
|
|
/obj/structure/chess/blackking
|
|
name = "\improper black king"
|
|
desc = "A black king chess piece. It can move one tile in any direction."
|
|
icon_state = "black_king"
|
|
|
|
/obj/structure/chess/checker
|
|
icon_state = "white_checker_man"
|
|
name = "\improper Probably a White Checker"
|
|
desc = "This is weird. Please inform administration on how you managed to get the parent checker piece. Thanks!"
|
|
|
|
/obj/structure/chess/checker/whiteman
|
|
name = "\improper White Checker Man"
|
|
desc = "A white checker piece. Looks suspiciously like a flattened chess pawn."
|
|
icon_state = "white_checker_man"
|
|
|
|
/obj/structure/chess/checker/whiteking
|
|
name = "\improper White Checker Man"
|
|
desc = "A white checker piece. It's stacked!"
|
|
icon_state = "white_checker_king"
|
|
|
|
/obj/structure/chess/checker/blackman
|
|
name = "\improper Black Checker Man"
|
|
desc = "A black checker piece. Looks suspiciously like a flattened chess pawn."
|
|
icon_state = "black_checker_man"
|
|
|
|
/obj/structure/chess/checker/blackking
|
|
name = "\improper Black Checker King"
|
|
desc = "A black checker piece. It's stacked!"
|
|
icon_state = "black_checker_king"
|