安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题









So IC10 really doesn't have a concept of "Strings". So in Slang if you want to use a string you generally are going to want to use the `hash("SomeString")` function. As of _now_ LogicTypes and other things _are_ handled as strings in Slang.
Such as:
[code]
const solarPanels = hash("StructureSolarPanelDual");
lbn(solarPanels, "Charge", "Sum");
[/code]
In the future I will be strongly typing the structure names, logic types, and batch modes so that autocomplete works as intended and misuse will cause compiler errors in game :)
i think you mention it somewhere in the stationpedia where functions don't quite work as intended and i'm noticing that as well (various issues with scope-awareness and variable usage). i'm really excited for when this fully implemented!
i also couldn't figure out if there was a way to set strings or really use strings at all yet? looking forward to the feature parity for IC10.
thanks so much for making this and i hope you continue to work on it!