Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - idgarad

#1
We really need a queue manager where I can queue crafting jobs and set a max number of active jobs.

In the scenario I have between crafting robots, smokeleaf industry, etc. I'd be easier to have a central global queue that I can order on priority that will either add jobs to workstations with a limit, say 2 jobs active then as those jobs are completed then remove them or move them down to the bottom of the stack. This way if I have 2 crafters I can set the active job limit to 2. 3 crafters, 3.


e.g. (Assuming 1 crafter, with 1 job limit):


Cut Stone
Cut Smokeleaf
Make Robot Parts
Make Medicine
Smelt Slag

So in this queue, once Cut Stone is complete, either suspend or remove the job then create\unsuspend the Cut Smokeleaf job. Rinse until the last one Smelt Slag is complete. Then go back and readd or unsuspend the Cut Stone.


Proggy Stuff.

The simplest way I can see is index all the workstations that have jobs requiring Crafting and are not "Do Forever" jobs. (In short the list is built by adding bills at workstations rather then add them centrally. Either would work).

  • Build a list of all the bills they have.
  • In the workflow manager automatically suspend all the jobs.
  • Build a list of jobs with an associated priority value.
  • GUI reorder global list of jobs to adjust their GLOBAL_PRIORITY_VALUE
  • periodically based on MAX_CONCURRENT_JOBS unsuspend the highest priority jobs until they are paused that have the materials available
  • periodically check if an active job no longer has available materials, if so suspend it and move on to the next job
  • IF the job is a do forever job, based on a config suspend the job periodically time-wise to free up work for the next job in the queue
  • Once paused set a GLOBAL_JOBS_COMPLETE flag to prevent unsuspending and skip.
  • Once the last GLOBAL_JOB is completed (e.g. all entries have GLOBAL_JOBS_COMPLETE=TRUE) in the list is finished clear all the GLOBAL_JOBS_COMPLETE flags to restart the list.
  • GUI Allow manual untick of GLOBAL_JOBS_COMPLETE to force a re-queue of a job on the stack.

This brings is a bit closer to DF's method of queuing jobs independent of the workshop with some priority ordering.
#2
Ideas / Milk Boomalopes for Chemfuel
November 13, 2017, 09:55:06 AM
High risk livestock should have a product.
#3
More DF inspiring stuff but two functionalities I miss is linking a workshop to a stockpile explicitly (rather then the range deal we have now) and patrol and guard options. Also carts for hauling would be nice. (aka DF's wheelbarrows done correctly.) More triggers for equipment loadouts would be nice (seasonal, heatwave, coldsnap, etc.)

Another thing, if you get around to carts, they could be pulled by animals allowing things like cooler carts to haul food for caravans, and APC carts that colonists can shoot out of like a bunker.
#4
Ideas / Suggestion: Spectators to Joy Activities
November 10, 2017, 04:42:59 PM
Imagine a pool table. Two colonists start playing a match, other's watch. This goes the same for chess, the poker table (mod), or even horse shoes. The idea is, lets say I throw some chairs near the pool table, other colonists might watch the game being played. It could scale up to something as substantial as a basketball game (assuming we make a court).  Add in the ability for colonists to throw tournaments for particular joy activities then you could get visitors that are there for the tournament including normally hostiles that are temporarily at peace for the tournament. Imagine building 4 chess tables and having an 8 man tournament with dozens of spectators from various colonies watching and cheering. Hell make 3 man basketball, even tennis, darts, etc.

Prog:

Every joy activity would have:

Tournament Capable
Spectators Allowed
Spectate Range
Spectator Exclusion Range
Minimum Participants to Warrant Spectator
Objects within Spectator Range Available

Tournament Data
----------------------------
Tournament Duration
Tournament Participants
Per Participant Score
First Prize in Silver


Imagine running a fighting pit of gladiators in a deathmatch tournament with participants from all over the planet.