mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Fix cutting meat to be consistent with itself and cutting other food items (#18092)
* make scalple work to cut cutlets into bacon * Fix displayed messages to work with scalpel, and brought formating in line with everywhere else in the game. * brings messaging for cutting meat in line with messages for other actions in the game. * removed the extra 'the's from the the messages * Add space between arguments in function call Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,10 @@
|
||||
new /obj/item/reagent_containers/food/snacks/rawcutlet(src)
|
||||
new /obj/item/reagent_containers/food/snacks/rawcutlet(src)
|
||||
new /obj/item/reagent_containers/food/snacks/rawcutlet(src)
|
||||
to_chat(user, "You cut the meat in thin strips.")
|
||||
user.visible_message( \
|
||||
"<span class ='notice'>[user] cuts [src] with [W]!</span>", \
|
||||
"<span class ='notice'>You cut [src] with [W]!</span>" \
|
||||
)
|
||||
qdel(src)
|
||||
else
|
||||
..()
|
||||
@@ -69,10 +72,10 @@
|
||||
list_reagents = list("protein" = 1)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/rawcutlet/attackby(obj/item/W, mob/user, params)
|
||||
if(istype(W,/obj/item/kitchen/knife))
|
||||
if(istype(W, /obj/item/kitchen/knife) || istype(W, /obj/item/scalpel))
|
||||
user.visible_message( \
|
||||
"[user] cuts the raw cutlet with the knife!", \
|
||||
"<span class ='notice'>You cut the raw cutlet with your knife!</span>" \
|
||||
"<span class ='notice'>[user] cuts the raw cutlet with [W]!</span>", \
|
||||
"<span class ='notice'>You cut the raw cutlet with [W]!</span>" \
|
||||
)
|
||||
new /obj/item/reagent_containers/food/snacks/raw_bacon(loc)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user