mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Kitchen rework part 1: machines and recipes. (#28277)
* Kitchen rework part 1: machines and recipes. * update oldstation * update updatepaths script number * fix blank icon test * remove old deep fryer completely * fix duped recipes and recipe datum names * add chef PDA cart to chefdrobe * nerf grill wood consumption rate * multiply food for cooking machine rating * fix runtime * add cookware to syndie base and oldstation * remove dupe burger recipe, update syndie/oldstation setups * nerf potency quality award * buff burn/ignite times, remove pointless on_fire flag * more grill woodburn nerf * meh * try and unfuck timing issues * more fixes and icon updates * more fixes * more review changes * fix linter * disable pcwj debug * fix grill and deep fryer overlays * fix timers with no containers * attempt to fix reagent adding issues * more cleanups * allow rped usage * grammar, null checks, reagent display * PDA updates, map updates * fix mats values * new panel sprites * recipe fixes, add prep bowl * revert unused icon file changes * move this to mesh with smith TM * remove food quality for now * New sprites, autochef. * fix examine text * reduce oven cook times * lots of fixes * fix autochef recipes that start with reagents * prevent shenanigans * megapatch 1 * block ingredients behind oven door * PDA app improvements * remove unused proc * fixes for cookbook, descontructions, completed steps * allow empty containers with a tracker to be claimed * allow reclaiming * autochef reliability fixes * autochef reliability fixes * fix quality product count * update updatepaths script * better stack handling * more fixes for stacks and reagents * timers no longer turn off burners automatically * autochef turn offs and make sure we can see output storage * add microwave recipe for roundremoving player brains * Apply suggestions from code review Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: warriorstar-orion <orion@snowfrost.garden> * burza review 1 * Apply suggestions from code review Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: warriorstar-orion <orion@snowfrost.garden> * fix berry muffin name while i'm here * grill -> microwave in new tests * grill -> microwave in new tests, but actually for realsies * i definitely know what i'm doing * redundant attack chain setting * add examine text about clearing buffer * remove unused vars and start improving docs --------- Signed-off-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
co-authored by
Burzah
parent
9a3ce4e549
commit
f9ade844c9
@@ -675,6 +675,9 @@
|
||||
var/amt = list_reagents[r_id]
|
||||
add_reagent(r_id, amt, data)
|
||||
|
||||
/datum/reagents/proc/get_free_space()
|
||||
return maximum_volume - total_volume
|
||||
|
||||
/**
|
||||
* Attempts to add X of the matching reagent to the holder.
|
||||
*
|
||||
@@ -783,6 +786,9 @@
|
||||
return FALSE
|
||||
return FALSE
|
||||
|
||||
/datum/reagents/proc/is_empty()
|
||||
return length(reagent_list) == 0
|
||||
|
||||
/**
|
||||
* Returns the amount of the matching reagent inside the holder.
|
||||
*
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
if(!length(possible_transfer_amounts))
|
||||
// Nothing to configure.
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/item/reagent_containers/proc/is_valid_interaction(mob/user)
|
||||
if(isrobot(user) && src.loc == user)
|
||||
// Borgs can configure their modules.
|
||||
return TRUE
|
||||
@@ -49,6 +52,7 @@
|
||||
// I guess there's, like, a switch or a dial or something?
|
||||
// Whatever, you need to use your hands for this.
|
||||
return FALSE
|
||||
|
||||
return TRUE
|
||||
|
||||
/obj/item/reagent_containers/AltClick(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user