mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Fixes some display issues with the next step on the surgical computer (#27972)
* Fixes some surgical computer issues * better naming
This commit is contained in:
@@ -500,15 +500,15 @@
|
||||
var/list/tools = list()
|
||||
for(var/tool in allowed_tools)
|
||||
// only list main surgery tools. you can figure out the improvised version by trying (or reading the wiki lul)
|
||||
if(tool in GLOB.surgery_tool_behaviors)
|
||||
if((tool in GLOB.surgery_tool_behaviors) || ((tool in GLOB.construction_tool_behaviors) && allowed_tools[tool] == 100))
|
||||
tools |= tool
|
||||
if(!length(tools))
|
||||
// if nothing else, just pick the first in the list.
|
||||
var/atom/tool = allowed_tools[1]
|
||||
tools |= tool.name
|
||||
tools |= (ispath(tool)) ? tool::name : "[tool]"
|
||||
|
||||
|
||||
return "[name] ([english_list(tools, and_text="or")])"
|
||||
return "[name] ([english_list(tools, and_text=" or ")])"
|
||||
|
||||
/**
|
||||
* Spread some nasty germs to an organ.
|
||||
|
||||
Reference in New Issue
Block a user