Skip to content

Commit

Permalink
Fixes condiment bottle inconsistencies (vgstation-coders#35926)
Browse files Browse the repository at this point in the history
* fixes inconsistency

* fixes inconsistencies

* ???
  • Loading branch information
Eneocho authored Feb 13, 2024
1 parent ddebadd commit 4efe527
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion code/modules/reagents/machinery/chem_master.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ var/global/list/pillIcon2Name = list("oblong purple-pink", "oblong green-white",
manipcount += SP.rating-1
if(istype(SP, /obj/item/weapon/stock_parts/micro_laser))
lasercount += SP.rating-1
max_bottle_size = initial(max_bottle_size) + lasercount*5
if(!condi) //everything except the condimaster
max_bottle_size = initial(max_bottle_size) + lasercount*5
else
max_bottle_size = initial(max_bottle_size) + lasercount*12.5
max_pill_count = initial(max_pill_count) + manipcount*5
max_pill_size = initial(max_pill_size) + manipcount*25

Expand Down Expand Up @@ -813,6 +816,7 @@ var/global/list/pillIcon2Name = list("oblong purple-pink", "oblong green-white",
chem_board = /obj/item/weapon/circuitboard/condimaster
windowtype = "condi_master"
moody_state = "overlay_condimaster"
max_bottle_size = 50

/obj/machinery/chem_master/electrolytic
name = "\improper Electrolytic ChemMaster"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/reagents/reagent_containers/food/condiment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@

/obj/item/weapon/reagent_containers/food/condiment/exotic/New()
..()
reagents.add_reagent(pickweight(possible_exotic_condiments), 30)
reagents.add_reagent(pickweight(possible_exotic_condiments), 50)

/obj/item/weapon/reagent_containers/food/condiment/coco
name = "cocoa powder"
Expand Down

0 comments on commit 4efe527

Please sign in to comment.