Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You cant put nothing else than uranium in to reactor so no need to check if item located in a reactor is indeed an uranium ingot.
Remove if(...) at line 334
Thanks!
DISCLAIMER: I'm 99% ALL of my scripts are broken as of right now. They were written on an older version of the game's in-game scripting so they will more than likely not work correctly.
any help would be great if you have the time.
batteries are a very tricky animal in one sense... that stored power has to be acounted for because some of the stuff i have my AI controling do not have reactors.... and it needs to manage the power outputs to keep all batteries in a simi balence to wait out the end of the night cycle on planets or moon bases.... if you want ill keep you posteded, i just wanted reach out because i liked yor do to measue power of conveyers on a grid... it was a nice way toteach people how to look at SE code... it shoudl be upted because thhe new functions they change will likely cause it too crash when a world starts up after a save....
Just be sure to account for all reactors, batteries, & solar panels when you total your outputs & remember to factor in that batteries can be in recharge so output can be 0. I think that should get you past the undetectable blocks like conveyors.
A project like that, sounds like something that can be as simple or complex as you'd like, from this simple display script to micro managing all kinds of things. You're best bet is to work on each pocket of functionality until you get it where you want, then move to a different function.
At least that's how I'd break it down lol. Hope that helps. :)
If you want to probe around my Jump Drive script. It's written to be language neutral.
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=495341698
I also wrote a script similar to yours, but it appears we have the same problem. Do you have any idea, of how to make the script work in different languages? My game is set to english, but today I played on a private world where the hosts game was set to german.
The DetailedInfo returned by reactors, batteries and solar panels was also german on that world. Now I am wondering, if there is any possibility to get the DetailedInfo in english there too.
Do you have any idea of how to do it?
As for the codes on the workshop, I have a couple more from that series to add I just haven't had the time yet. :)
You have to make a manual calculation?