[FIX] Better slices (#27807)

* Slices have a base class /food/slice

* Refactor

* Small fix

* Adds default reagent for empy slices

* Looks good

* adds_list_reagents

* "Reverted snake_case_remap files to state from original commit

* I don't know how to resolve merge conflicts :)

---------

Signed-off-by: Drsmail <60036448+Drsmail@users.noreply.github.com>
This commit is contained in:
Drsmail
2025-01-25 22:36:04 +03:00
committed by GitHub
parent 99d18c8513
commit 754a868650
40 changed files with 431 additions and 356 deletions
@@ -235,7 +235,7 @@
butcher_results = list(
/obj/item/organ/internal/brain = 1,
/obj/item/organ/internal/heart = 1,
/obj/item/food/birthdaycakeslice = 3,
/obj/item/food/sliced/birthday_cake = 3,
/obj/item/food/meat/slab = 2
)
response_harm = "takes a bite out of"
@@ -100,7 +100,7 @@
..()
/mob/living/simple_animal/mouse/start_pulling(atom/movable/AM, state, force = pull_force, show_message = FALSE)//Prevents mouse from pulling things
if(istype(AM, /obj/item/food/cheesewedge))
if(istype(AM, /obj/item/food/sliced/cheesewedge))
return ..() // Get dem
if(show_message)
to_chat(src, "<span class='warning'>You are too small to pull anything except cheese.</span>")