Hotfixes Some Reagent Containers' Ordering (#76013)

## About The Pull Request

Droppers will now properly go to 1u on attackself.
Beakers will now properly go to 15u on attackself.

Caused by the ordering of the volumes transferred, it thought it was
starting at 1u when it should have been starting at 5.
## Why It's Good For The Game

Was a bug someone posted about in OOC
## Changelog
🆑 Cobby
fix: Droppers/Beakers will now go to 1u/15u on the FIRST leftclick.
/🆑
This commit is contained in:
Aki Ito
2023-06-14 14:58:32 -04:00
committed by GitHub
parent e7ed949380
commit e817ee30ca
3 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
icon = 'icons/obj/medical/chemical.dmi'
icon_state = null
w_class = WEIGHT_CLASS_TINY
/// The maximum amount of reagents per transfer that will be moved out of this reagent container
/// The maximum amount of reagents per transfer that will be moved out of this reagent container. This value's position in possible_transfer_amounts should be reflected in amount_list_position.
var/amount_per_transfer_from_this = 5
/// The different possible amounts of reagent to transfer out of the container
var/list/possible_transfer_amounts = list(5,10,15,20,25,30)
/// Where we are in the possible transfer amount list.
/// Where we are in the possible transfer amount list. Number should match the position in possible_transfer_amounts corresponding to amount_per_transfer_from_this.
var/amount_list_position = 1
/// The maximum amount of reagents this container can hold
var/volume = 30
@@ -2,6 +2,7 @@
name = "open container"
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(5, 10, 15, 20, 25, 30, 50)
amount_list_position = 2
volume = 50
reagent_flags = OPENCONTAINER | DUNKABLE
spillable = TRUE
@@ -6,6 +6,7 @@
inhand_icon_state = "dropper"
worn_icon_state = "pen"
amount_per_transfer_from_this = 5
amount_list_position = 5
possible_transfer_amounts = list(1, 2, 3, 4, 5)
volume = 5
reagent_flags = TRANSPARENT