mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Dish Incubator v2
Adheres to pointers laid out by Ginja.
This commit is contained in:
@@ -128,7 +128,7 @@
|
|||||||
nanomanager.update_uis(src)
|
nanomanager.update_uis(src)
|
||||||
|
|
||||||
if(beaker)
|
if(beaker)
|
||||||
if(beaker.reagents.remove_reagent("virusfood",5) && foodsupply < 100)
|
if(foodsupply < 100 && beaker.reagents.remove_reagent("virusfood",5))
|
||||||
if(foodsupply + 10 <= 100)
|
if(foodsupply + 10 <= 100)
|
||||||
foodsupply += 10
|
foodsupply += 10
|
||||||
else
|
else
|
||||||
@@ -177,10 +177,7 @@
|
|||||||
return 1
|
return 1
|
||||||
|
|
||||||
if (href_list["rad"])
|
if (href_list["rad"])
|
||||||
if(radiation + 10 > 100)
|
radiation = min(100, radiation + 10)
|
||||||
radiation = 100
|
|
||||||
else
|
|
||||||
radiation += 10
|
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
if (href_list["flush"])
|
if (href_list["flush"])
|
||||||
|
|||||||
Reference in New Issue
Block a user