mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Merge remote-tracking branch 'tgstation/master' into upstream-2025-11-29
# Conflicts: # _maps/RandomRuins/SpaceRuins/derelict_sulaco.dmm # _maps/RandomRuins/SpaceRuins/garbagetruck2.dmm # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # _maps/map_files/tramstation/tramstation.dmm # code/_onclick/hud/new_player.dm # code/datums/components/squashable.dm # code/datums/diseases/advance/symptoms/heal.dm # code/datums/diseases/chronic_illness.dm # code/datums/status_effects/buffs.dm # code/datums/status_effects/debuffs/drunk.dm # code/datums/status_effects/debuffs/stamcrit.dm # code/game/machinery/computer/crew.dm # code/game/objects/items/devices/scanners/health_analyzer.dm # code/game/objects/items/wall_mounted.dm # code/game/turfs/closed/indestructible.dm # code/modules/admin/view_variables/filterrific.dm # code/modules/antagonists/heretic/influences.dm # code/modules/cargo/orderconsole.dm # code/modules/client/preferences.dm # code/modules/events/space_vines/vine_mutations.dm # code/modules/mob/dead/new_player/new_player.dm # code/modules/mob/living/carbon/human/death.dm # code/modules/mob/living/carbon/human/species_types/jellypeople.dm # code/modules/mob/living/damage_procs.dm # code/modules/mob/living/living.dm # code/modules/mob_spawn/ghost_roles/mining_roles.dm # code/modules/mob_spawn/mob_spawn.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/projectiles/guns/ballistic/launchers.dm # code/modules/projectiles/guns/energy/laser.dm # code/modules/reagents/chemistry/machinery/chem_dispenser.dm # code/modules/reagents/chemistry/reagents/cat2_medicine_reagents.dm # code/modules/reagents/chemistry/reagents/drinks/alcohol_reagents.dm # code/modules/reagents/chemistry/reagents/medicine_reagents.dm # code/modules/surgery/healing.dm # code/modules/unit_tests/designs.dm # icons/mob/inhands/items_lefthand.dmi # icons/mob/inhands/items_righthand.dmi # tgui/packages/tgui/interfaces/ChemDispenser.tsx
This commit is contained in:
@@ -212,6 +212,7 @@
|
||||
name = "x-large beaker"
|
||||
desc = "An extra-large beaker. Can hold up to 120 units."
|
||||
icon_state = "beakerwhite"
|
||||
inhand_icon_state = "beaker_white"
|
||||
custom_materials = list(/datum/material/glass=SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plastic=SHEET_MATERIAL_AMOUNT * 1.5)
|
||||
volume = 120
|
||||
amount_per_transfer_from_this = 10
|
||||
@@ -222,6 +223,7 @@
|
||||
name = "metamaterial beaker"
|
||||
desc = "A large beaker. Can hold up to 180 units."
|
||||
icon_state = "beakergold"
|
||||
inhand_icon_state = "beaker_gold"
|
||||
custom_materials = list(/datum/material/glass=SHEET_MATERIAL_AMOUNT*1.25, /datum/material/plastic=SHEET_MATERIAL_AMOUNT * 1.5, /datum/material/gold=HALF_SHEET_MATERIAL_AMOUNT, /datum/material/titanium=HALF_SHEET_MATERIAL_AMOUNT)
|
||||
volume = 180
|
||||
amount_per_transfer_from_this = 10
|
||||
@@ -233,6 +235,7 @@
|
||||
desc = "A cryostasis beaker that allows for chemical storage without \
|
||||
reactions. Can hold up to 50 units."
|
||||
icon_state = "beakernoreact"
|
||||
inhand_icon_state = "beaker_cryo"
|
||||
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT * 1.5)
|
||||
initial_reagent_flags = OPENCONTAINER | NO_REACT
|
||||
volume = 50
|
||||
@@ -244,6 +247,7 @@
|
||||
and Element Cuban combined with the Compound Pete. Can hold up to \
|
||||
300 units."
|
||||
icon_state = "beakerbluespace"
|
||||
inhand_icon_state = "beaker_bluespace"
|
||||
custom_materials = list(/datum/material/glass =SHEET_MATERIAL_AMOUNT * 2.5, /datum/material/plasma =SHEET_MATERIAL_AMOUNT * 1.5, /datum/material/diamond =HALF_SHEET_MATERIAL_AMOUNT, /datum/material/bluespace =HALF_SHEET_MATERIAL_AMOUNT)
|
||||
volume = 300
|
||||
amount_per_transfer_from_this = 10
|
||||
@@ -447,7 +451,7 @@
|
||||
if(!grinded)
|
||||
to_chat(user, span_warning("There is nothing to grind!"))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
if(user.getStaminaLoss() > 50)
|
||||
if(user.get_stamina_loss() > 50)
|
||||
to_chat(user, span_warning("You are too tired to work!"))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
var/list/choose_options = list(
|
||||
@@ -460,7 +464,7 @@
|
||||
to_chat(user, span_notice("You start grinding..."))
|
||||
if(!do_after(user, 2.5 SECONDS, target = src))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
user.adjustStaminaLoss(40)
|
||||
user.adjust_stamina_loss(40)
|
||||
switch(picked_option)
|
||||
if("Juice")
|
||||
return juice_item(grinded, user) ? ITEM_INTERACT_BLOCKING : ITEM_INTERACT_SUCCESS
|
||||
|
||||
@@ -548,7 +548,8 @@
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
var/transfer_amount = round(reagents.trans_to(tool, amount_per_transfer_from_this, transferred_by = user), CHEMICAL_VOLUME_ROUNDING)
|
||||
balloon_alert(user, "transferred [transfer_amount] unit\s")
|
||||
if(transfer_amount)
|
||||
balloon_alert(user, "transferred [transfer_amount] unit\s")
|
||||
flick("syrup_anim",src)
|
||||
tool.update_appearance()
|
||||
update_appearance()
|
||||
|
||||
Reference in New Issue
Block a user