[WIP]Creative Mod

Topics and discussion about specific mods
Post Reply
tompinn23
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Feb 25, 2013 7:33 pm
Contact:

[WIP]Creative Mod

Post by tompinn23 »

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.
Image

I will upload when im done.
The iron ore tracks are seperate because of how quick the inserters and furnaces are.

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [WIP]Creative Mod

Post by rk84 »

I would keep it vanilla and add stuff back to hotbar when you build. Something like this.

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
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 :twisted:
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

User avatar
Lukasecicek
Inserter
Inserter
Posts: 26
Joined: Mon Mar 11, 2013 9:42 am
Contact:

Re: [WIP]Creative Mod

Post by Lukasecicek »

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 :)

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: [WIP]Creative Mod

Post by MF- »

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 :)
That's exactly the purpose of "creative mode"

User avatar
Lukasecicek
Inserter
Inserter
Posts: 26
Joined: Mon Mar 11, 2013 9:42 am
Contact:

Re: [WIP]Creative Mod

Post by Lukasecicek »

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 :-)

Post Reply

Return to “Mods”