Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

anderium

6
Posts
8
Following
A member registered Dec 11, 2017 · View creator page →

Recent community posts

If you click the Buy Now button, there should be an option with "I already paid for this," that links you to an explanation to download it again

This is gonna be awesome!!!


Love the work you guys've done so far! Very excited to hear that it's so close now!!!

Hahahaha, funny how you say that. Cause you already say yourself that this post can't be used to tell whether there'll be a new post of Denki.

They said ±47 days ago, there would be a new "update" soon, the last update came ±45 days ago, so 2 days after they said there would be a new update soon. So where's the nonsense? They posted an update 2 days after saying there would be one soon, isn't that quick enoudh for you?

Just an idea, try to make your own game rather than critique others who are doing so. It's a lot of trouble I tell you.

Cool a fellow Lua coder!

But you don't necessarily have to use tostring() here, the following should work as well.

text = ""
for i = 0,2 do
    text = text.."\n"..i..": "
    for i = 0,1 do
        text = text..i.." "
    end
end
print(text)

Lua always tries to convert the i here into a string when possible. I think nil wouldn't get converted, and obviously lists can't get converted.

The same should be possible when adding a string that only contains numbers to an integer, the string gets converted to a number automatically.

local ans = 12+"012"
print(ans)

The 12+"012" returns 24 as a result, and so this prints in the next line.
The "012" get's converted to 12 as if you would do tonumber("012").
This usually saves some time when coding for me, so just a tip (I'm way to happy to see other people using lua XD)

(1 edit)

You can also do the following

Repeat [forever]
|   Repeat [until inventory full]
|   |   Move to Log Storage
|   |   Take from Log Storage
|   |   Stow held item
|   |__
|   Repeat [until inventory empty]
|   |   Find nearest unwound Workerbot
|   |   Move to Basic Workerbot
|   |   Recharge Workerbot
|   |__
|__

This way it will start by taking enough logs to work for a long time, and when it's got no Logs left in it's inventory, meaning it just used up the last log available, it will fill its inventory again.

Instead of using the first in the following code, you can choose the bot to take different amounts. If you don't want the bot to take out so many logs at once, set it to only take 3 for example. This way it has three logs in it's inventory and takes another three after they are all burned up 

(1)    Repeat [until inventory full]
(2)    Repeat [times] [3]

"Version 57"

This is insane! Thanks so much for putting all this work into this game! It is incredible what you guys have done. I am so excited for the release, and I don't mind at all we have to wait still