mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
@@ -230,6 +230,7 @@
|
|||||||
beaker = null
|
beaker = null
|
||||||
update_icon()
|
update_icon()
|
||||||
. = TRUE
|
. = TRUE
|
||||||
|
/* yogs - removes chem recipes
|
||||||
if("dispense_recipe")
|
if("dispense_recipe")
|
||||||
if(!is_operational() || QDELETED(cell))
|
if(!is_operational() || QDELETED(cell))
|
||||||
return
|
return
|
||||||
@@ -283,6 +284,7 @@
|
|||||||
if (resmismatch && alert("[src] is not yet capable of replicating this recipe with the precision it needs, do you want to save it anyway?",, "Yes","No") == "No")
|
if (resmismatch && alert("[src] is not yet capable of replicating this recipe with the precision it needs, do you want to save it anyway?",, "Yes","No") == "No")
|
||||||
return
|
return
|
||||||
saved_recipes += list(list("recipe_name" = name, "contents" = recipe))
|
saved_recipes += list(list("recipe_name" = name, "contents" = recipe))
|
||||||
|
yogs - removed chem recipes */
|
||||||
|
|
||||||
/obj/machinery/chem_dispenser/attackby(obj/item/I, mob/user, params)
|
/obj/machinery/chem_dispenser/attackby(obj/item/I, mob/user, params)
|
||||||
if(default_unfasten_wrench(user, I))
|
if(default_unfasten_wrench(user, I))
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -3,15 +3,6 @@
|
|||||||
<ui-bar min='0' max='{{data.maxEnergy}}' value='{{data.energy}}'>{{Math.fixed(adata.energy)}} Units</ui-bar>
|
<ui-bar min='0' max='{{data.maxEnergy}}' value='{{data.energy}}'>{{Math.fixed(adata.energy)}} Units</ui-bar>
|
||||||
</ui-section>
|
</ui-section>
|
||||||
</ui-display>
|
</ui-display>
|
||||||
<ui-display title='Saved Recipes' button>
|
|
||||||
<ui-section>
|
|
||||||
<ui-button icon='plus' action='add_recipe'>Add Recipe</ui-button>
|
|
||||||
<ui-button icon='minus' action='clear_recipes'>Clear Recipes</ui-button>
|
|
||||||
{{#each data.recipes}}
|
|
||||||
<ui-button grid icon='tint' action='dispense_recipe' params='{"recipe": "{{contents}}"}'>{{recipe_name}}</ui-button>
|
|
||||||
{{/each}}
|
|
||||||
</ui-section>
|
|
||||||
</ui-display>
|
|
||||||
<ui-display title='Dispense' button>
|
<ui-display title='Dispense' button>
|
||||||
{{#partial button}}
|
{{#partial button}}
|
||||||
{{#each data.beakerTransferAmounts}}
|
{{#each data.beakerTransferAmounts}}
|
||||||
|
|||||||
Reference in New Issue
Block a user