Merge pull request #16618 from ShadowLarkens/ui

Kitchen UI Update
This commit is contained in:
Heroman3003
2024-11-30 14:41:27 +10:00
committed by GitHub
10 changed files with 256 additions and 49 deletions
+1 -8
View File
@@ -209,14 +209,7 @@ var/global/list/ore_reagents = list( //have a number of reageents divisible by R
if(length(holdingitems))
options["grind"] = radial_grind
var/choice
if(length(options) < 1)
return
if(length(options) == 1)
for(var/key in options)
choice = key
else
choice = show_radial_menu(user, src, options, require_near = !issilicon(user))
var/choice = show_radial_menu(user, src, options, require_near = !issilicon(user), autopick_single_option = FALSE)
// post choice verification
if(inuse || (isAI(user) && stat & NOPOWER) || user.incapacitated())