From c498761907c1932d3d994957972d847a057d8c5b Mon Sep 17 00:00:00 2001 From: Billy Bangles Date: Sun, 21 Jun 2020 18:46:16 -0400 Subject: [PATCH] Adds move descriptions to piece examine text and that cheeky lil' changelog --- code/game/objects/items/toys.dm | 12 +++++++++ html/changelogs/billybangles-chessboard.yml | 27 +++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 html/changelogs/billybangles-chessboard.yml diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 30cb313816..e06c9dbc00 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -1462,48 +1462,60 @@ /obj/item/toy/chess/pawn_white name = "blue pawn" desc = "A large pawn piece for playing chess. It's made of a blue-colored glass." + description_info = "Pawns can move forward one square, if that square is unoccupied. If the pawn has not yet moved, it has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. They can only capture an enemy piece on either of the two tiles diagonally in front of them, but not the tile directly in front of them." icon_state = "w-pawn" /obj/item/toy/chess/pawn_black name = "purple pawn" desc = "A large pawn piece for playing chess. It's made of a purple-colored glass." + description_info = "Pawns can move forward one square, if that square is unoccupied. If the pawn has not yet moved, it has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. They can only capture an enemy piece on either of the two tiles diagonally in front of them, but not the tile directly in front of them." icon_state = "b-pawn" /obj/item/toy/chess/rook_white name = "blue rook" desc = "A large rook piece for playing chess. It's made of a blue-colored glass." + description_info = "The Rook can move any number of vacant squares vertically or horizontally." icon_state = "w-rook" /obj/item/toy/chess/rook_black name = "purple rook" desc = "A large rook piece for playing chess. It's made of a purple-colored glass." + description_info = "The Rook can move any number of vacant squares vertically or horizontally." icon_state = "b-rook" /obj/item/toy/chess/knight_white name = "blue knight" desc = "A large knight piece for playing chess. It's made of a blue-colored glass. Sadly, you can't ride it." + description_info = "The Knight can either move two squares horizontally and one square vertically or two squares vertically and one square horizontally. The knight's movement can also be viewed as an 'L' laid out at any horizontal or vertical angle." icon_state = "w-knight" /obj/item/toy/chess/knight_black name = "purple knight" desc = "A large knight piece for playing chess. It's made of a purple-colored glass. 'Just a flesh wound.'" + description_info = "The Knight can either move two squares horizontally and one square vertically or two squares vertically and one square horizontally. The knight's movement can also be viewed as an 'L' laid out at any horizontal or vertical angle." icon_state = "b-knight" /obj/item/toy/chess/bishop_white name = "blue bishop" desc = "A large bishop piece for playing chess. It's made of a blue-colored glass." + description_info = "The Bishop can move any number of vacant squares in any diagonal direction." icon_state = "w-bishop" /obj/item/toy/chess/bishop_black name = "purple bishop" desc = "A large bishop piece for playing chess. It's made of a purple-colored glass." + description_info = "The Bishop can move any number of vacant squares in any diagonal direction." icon_state = "b-bishop" /obj/item/toy/chess/queen_white name = "blue queen" desc = "A large queen piece for playing chess. It's made of a blue-colored glass." + description_info = "The Queen can move any number of vacant squares diagonally, horizontally, or vertically." icon_state = "w-queen" /obj/item/toy/chess/queen_black name = "purple queen" desc = "A large queen piece for playing chess. It's made of a purple-colored glass." + description_info = "The Queen can move any number of vacant squares diagonally, horizontally, or vertically." icon_state = "b-queen" /obj/item/toy/chess/king_white name = "blue king" desc = "A large king piece for playing chess. It's made of a blue-colored glass." + description_info = "The King can move exactly one square horizontally, vertically, or diagonally. If your opponent captures this piece, you lose." icon_state = "w-king" /obj/item/toy/chess/king_black name = "purple king" desc = "A large king piece for playing chess. It's made of a purple-colored glass." + description_info = "The King can move exactly one square horizontally, vertically, or diagonally. If your opponent captures this piece, you lose." icon_state = "b-king" \ No newline at end of file diff --git a/html/changelogs/billybangles-chessboard.yml b/html/changelogs/billybangles-chessboard.yml new file mode 100644 index 0000000000..f51e69fc67 --- /dev/null +++ b/html/changelogs/billybangles-chessboard.yml @@ -0,0 +1,27 @@ +################################ +# 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 +################################# + +author: Billy Bangles +delete-after: True + - rscadd: "Adds a chessboard holodeck program and a set of chess pieces" + - imageadd: "Adds a set of small floor decals numbered 1 to 8 and letters A to H"