From 543101d2f1e6acda595cc7c9d229e664aaae9501 Mon Sep 17 00:00:00 2001 From: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Date: Mon, 4 Mar 2024 10:15:51 +0100 Subject: [PATCH] sdfasd (#18589) --- code/game/objects/items.dm | 8 ++++ code/game/objects/items/weapons/tools.dm | 3 ++ .../fluffyghost-fixrescueaxechopping.yml | 41 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 html/changelogs/fluffyghost-fixrescueaxechopping.yml diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 2041dc064b4..929f40adf32 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -1223,7 +1223,15 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out. /obj/item/proc/throw_fail_consequences(var/mob/living/carbon/C) return +/** + * Determines if the item can be used to cut down wood (trees and the likes) + * + * Return `TRUE` if it can, `FALSE` otherwise + */ /obj/item/proc/can_woodcut() + SHOULD_BE_PURE(TRUE) + SHOULD_NOT_SLEEP(TRUE) + return FALSE /obj/item/proc/is_shovel() diff --git a/code/game/objects/items/weapons/tools.dm b/code/game/objects/items/weapons/tools.dm index ef7de9c01f0..1866d36e517 100644 --- a/code/game/objects/items/weapons/tools.dm +++ b/code/game/objects/items/weapons/tools.dm @@ -737,6 +737,9 @@ return TRUE +/obj/item/crowbar/rescue_axe/can_woodcut() + return TRUE + /obj/item/crowbar/rescue_axe/red icon_state = "rescue_axe_red" item_state = "rescue_axe_red" diff --git a/html/changelogs/fluffyghost-fixrescueaxechopping.yml b/html/changelogs/fluffyghost-fixrescueaxechopping.yml new file mode 100644 index 00000000000..fce34502db0 --- /dev/null +++ b/html/changelogs/fluffyghost-fixrescueaxechopping.yml @@ -0,0 +1,41 @@ +################################ +# 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: FluffyGhost + +# 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: "Fixed rescue axe ability to chop down trees."