This mod is sort of like creative for factorio it adds stupid fast furnaces, mining drills and inserters at the moment but soon every thing will be super fast just like a creative sort of thing so if you just wanna build cool factorys quickly this is what u need.
I will upload when im done.
The iron ore tracks are seperate because of how quick the inserters and furnaces are.
[WIP]Creative Mod
Re: [WIP]Creative Mod
I would keep it vanilla and add stuff back to hotbar when you build. Something like this.
edit: wow it actually worked on first go. I'm amazed by myself
remember to add end contion playerwon=false if glob.creative is not nil
Code: Select all
function creativemod() --activate from console
if glob.creative == nil then
glob.creative = true
else
glob.creative = not glob.creative
end
end
...
if event.name == "onbuiltentity" then
if glob.creative then
stack = {name = event.createdentity.name, count = 1}
hotbar = game.getplayer().getinventory(defines.inventory.playerquickbar)
inv = game.getplayer().getinventory(defines.inventory.playermain)
if hotbar.caninsert(stack) then
hotbar.insert(stack)
elseif inv.caninsert(stack) then
inv.insert(stack)
end
end
end
remember to add end contion playerwon=false if glob.creative is not nil
Last edited by rk84 on Tue Mar 12, 2013 10:17 am, edited 1 time in total.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
- Lukasecicek
- Inserter
- Posts: 26
- Joined: Mon Mar 11, 2013 9:42 am
- Contact:
Re: [WIP]Creative Mod
IMHO mining and building times are going to be set (and actually some ARE set) to somehow balance the factories. By getting everything awfuly fast, you are going to lose one of the fun aspects in the game - balancing
Re: [WIP]Creative Mod
That's exactly the purpose of "creative mode"Lukasecicek wrote:IMHO mining and building times are going to be set (and actually some ARE set) to somehow balance the factories. By getting everything awfuly fast, you are going to lose one of the fun aspects in the game - balancing
- Lukasecicek
- Inserter
- Posts: 26
- Joined: Mon Mar 11, 2013 9:42 am
- Contact:
Re: [WIP]Creative Mod
My vision of creative mode is having every item unlimited in my inventory. That way when I click on a particular item, I can drop it everywhere i want. In this mode you can build factories in no time without thinking what to research or craft first, pure building. (maybe turning off creepers would help alot aswell)
I can imagine people wanting mod with extra fast belts/miners/etc..., but I dont think its the way a "creative" mode should go
I can imagine people wanting mod with extra fast belts/miners/etc..., but I dont think its the way a "creative" mode should go