Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. Aminimouse
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Aminimouse

    @Aminimouse

    2
    Posts
    857
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Aminimouse Follow

    Posts made by Aminimouse

    • RE: What does RESOURCE_POWER refer to?

      Ah, thanks, I didn't know "Power" was a thing that actually existed. Thanks for clarifying. I kind of assumed power was the sum already (and realized it wasn't when it wasn't working) Thanks for the pointers.

      posted in Help
      Aminimouse
    • What does RESOURCE_POWER refer to?

      title. Trying to make it so my harvesters and such will ignore a Storage unit if it is full. I know it's a long shot, because I just started the game, and 'lol when will you have 1m energy?' But I'd like to anyway. Have a simulation going and can't figure it out. This is what I have so far, but if the storage unit is full with a mixture of energy and something else, it still tries to go for the storage unit because energy < capacity.

      structure.structureType == STRUCTURE_STORAGE &&
      ((structure.store[WHAT_DO_I_PUT_HERE?] + structure.store[OR_HERE?]) < structure.storeCapacity)

      posted in Help
      Aminimouse