Jump to content
Stray Fawn Community

An event generator??


lizardcake

Recommended Posts

I've been working on it for some time, it's for a challenge.

(text document and quote if text doc doesn't work)

generator2.txt

Quote


title
  Niche - a genetics survival game event generator

output
  Your tribe's hunters brought back [foodnumber]<br><br>[event]<br><br>[spiritevent]
 
foodnumber
  some food. + 10 food ^5
  little food. It is enough to feed a few members but it's not very much. +5 food ^2
  very little food. It's only a few bites. +2 food
  no food! 0 food ^0.2
  a lot of food! +15 food ^2
  SO MUCH FOOD! Can you believe it?! +20 food ^0.5
event
  It's a peaceful day, your nichelings can rest. ^10
  A hunter fell from a tree while hunting! [hunterfellfromtree]
  Some food from your storage has gone bad. -{1-5} food
  A drought has occured! It lasts {2-5} days. During that time you receive only half of the food the hunters have brought, rounding down and starting from this day. (can't occur if severe drought, frost or severe frost is in play or it rains, if it rains while it is in play the drought will end starting from that day)
  A severe drought has occured! It lasts {3-6} days. {0-3} nichelings have died. During that time you receive only half of the food the hunters have brought, rounding down and starting from this day. (can't occur if drought, frost or severe frost is in play or it rains, if it rains while it is in play the drought will end starting from that day) ^0.5
  A frost has occured! It lasts {2-5} days. {0-3} nichelings without cold resistance got a common cold. Starts from this day. (can't occur if drought, severe drought, or severe frost is in play)
  A severe frost has occured! It lasts {3-6} days. {0-3} nichelings without at least 2 in cold resistance got a common cold, {0-2} died. Starts from this day. (can't occur if drought, severe drought or frost is in play) ^0.5
  One of your nichelings got common cold! [severity]
  {2-5} nichelings got common cold!
  One of your nichelings got sleep sickness! [severity]
  An asteroid hit your island!!!! rUn FoR yOuR lIvEs! game over ^1/100
  One of your hunters broke their {left|right} leg! [severity2] [brokenleg]
  The {healer|leader} has a prophetic dream. [propheticdream]
  The healer has ran out of herbs! They go on a journey to find some, for that time someone has to cover for them. The journey ends as soon as the healer finds a healing fruit and picks from it. (alternate sources: twig bush, toxic berry bush, bare berry bush, stinky fruit, carnivorous plant)
  The healer and leader must speak with the Spirits.
 
hunterfellfromtree
  They are okay. They fell on cozy moss. no additional effect
  They broke a leg! [severity2]
  They died :( ^0.5

severity
  It's mild, they just have to stay in the healer den for {2-5} days. inflict {1-3} damage
  It's moderately severe, they have to stay in the healer den for {3-5} days. inflict {2-4} damage ^2
  It's severe, they have to stay in the healer den for {4-6} days. inflict {3-5} damage ^0.1
  They die :( ^0.5

severity2
  It's mild, they just have to stay in the healer den for {2-5} days. inflict {1-3} damage
  It's moderately severe, they have to stay in the healer den for {3-5} days. inflict {2-4} damage ^2
  It's severe, they have to stay in the healer den for {4-6} days. inflict {3-5} damage ^0.1
brokenleg
  They will be okay. ^3
  The leg is broken for good. setgene the nicheling to have deformed paw instead of the broken one

propheticdream
  They see the leader heroically fighting a predator. [leaderfightspredator]
  They see a bearyena killing a baby.
  They see a hawk taking away a baby.
  They see nothing, but heard voices... were these Spirits? ^1/10
 
leaderfightspredator
  They manage to kill the predator. ^5
  They are fighting, but the predator kills them...
  Something has distracted the predator. It runs away. The leader claims to have chased them away themselves.
  The leader chases the predator away.
  A nicheling appears, then kills the predatpr. They {walk away|want to join your tribe}.
 
spiritevent
  The Spirits are silent. ^5
  'You shouldn't be so far out there.' Retreat your scouts back to Camp
  One of the Spirits has visited your {healer|leader} in a dream. They tell them to leave the island before a disaster happens. The leader {believes ^2|doesn't belive} them. (if they don't belive them next day roll until a disaster happens) ^1/20

obraz.thumb.png.12bf34650650e88f578aef17829ecdd5.png

Any event/tweak suggestions?

  • Like 2
Link to comment
Share on other sites

The challenge is:

Starting:

Any damage and age, but I prefer

Baby: 4 days

Child: 5 days

Teen: 10 days

Adult: 50 days

Pregnancy: 5 days (or 1 if you're just as impatient as I am)

Enemy: normal

Hunger: 2x

Environment: normal

Healing: normal or 2x

Starting food: any, but I prefer 20 per nicheling

Starting nesting material:any, but I prefer 5 per nicheling

No turning on all genes

You can turn on blind genes if you like a challenge

No turning off anything in the world settings

Any starting island, but I like Peaceful Meadow or Archipelago

Nichelings:

Any genes, you can have some standards

Any number of starting nichelings, but must be at least one of each rank

(remember to put starting age up!)

Rules:

Every day starting from day 20 you have to roll the random generator and follow it. First add the events(if any), then food count, then Spirit events.

DO WHAT THE RANDOM GENERATOR TELLS YOU

Also if someone doesn't understand the drought thing:

If it doesn't rain, and there is a drought, then:

Let's say, your hunters brought back 15 food.

A drought starts and will last four days.

So instead of 15 food, you receive 7 food.

Get it?

The next day, your hunters brought back 2 food. The drought lasts, so you receive only 1 food.

And so on until the drought ends.

BUT if it rains the next day, the drought immediatedly ends and you receive the normal food count.

 

You have ranks in your tribe. There are:

-The leader, the highest possible rank. They lead their tribe and make all the important decisions. They have yellow gems.

-The leader's mate, second highest rank. They breed with the leader and take care of their children. Sometims, when the leader is absent, they take up their place temporarily. They have pink gems.

-The healer, third highest rank. They heal their tribemates and speak with Spirits. They have blue gems.

-The hunters, the middle rank. They hunt for your tribe and sometimes breed. They have orange gems.

-The scouts, the lowest rank. They explore the island, pick berries and breed. They have green gems.

 

Ranks order(alpha beta omega): Leader, leader's mate, healer, hunters, scouts

 

Spirits:

The Spirits are the spirits of dead tribe members. They send prophecies to your tribe.

And that's it! You can back up your save files to be sure not to lose anything

  • Like 1
  • Paw up 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...