mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
tgui core 4.3.1 (#17874)
* tgui core 4.2.3 * small panel update * sort it * some minor things * also that * 4.3.0 * . * . * 4.3.1
This commit is contained in:
@@ -686,7 +686,14 @@
|
||||
return autotransfer_data
|
||||
|
||||
/datum/vore_look/proc/compile_liquid_interact_data(obj/belly/selected)
|
||||
var/list/liq_interacts = list()
|
||||
var/list/liquid_composition = list()
|
||||
for(var/datum/reagent/reagent in selected.reagents.reagent_list)
|
||||
UNTYPED_LIST_ADD(liquid_composition, list("name" = reagent.name, "volume" = reagent.volume))
|
||||
|
||||
var/list/liq_interacts = list(
|
||||
"current_reagents" = liquid_composition,
|
||||
"total_volume" = selected.reagents.total_volume
|
||||
)
|
||||
if(selected.show_liquids)
|
||||
var/list/liquid_addon_list = list()
|
||||
for(var/flag_name in selected.reagent_mode_flag_list)
|
||||
|
||||
@@ -115,6 +115,8 @@
|
||||
"%hot" = GLOB.vore_words_hot,
|
||||
"%snake" = GLOB.vore_words_snake,
|
||||
)
|
||||
data["min_belly_name"] = BELLIES_NAME_MIN
|
||||
data["max_belly_name"] = BELLIES_NAME_MAX
|
||||
|
||||
return data
|
||||
|
||||
@@ -245,7 +247,7 @@
|
||||
if(host.vore_organs.len >= BELLIES_MAX)
|
||||
return FALSE
|
||||
|
||||
var/new_name = html_encode(tgui_input_text(ui.user,"New belly's name:","New Belly"))
|
||||
var/new_name = sanitize(params["val"], BELLIES_NAME_MAX, FALSE, TRUE, FALSE)
|
||||
|
||||
if(!new_name)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user