Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First thread
20 Aug

Decided to bite the bullet and get the big Login/Display Name and only-ever-use-ID-instead changes all done today. Before I work on any more features.
Ooookay... nearly every DB table and script in the game will need changing. Fun.

- flock and search updated. 'manage' pages are finally renamed to 'roost'. Note for later: there should be a range of different backgrounds there, as many breeds will prefer different accomodation.
- gene lab, group, member and tag searches updated... except the tag search refuses to look up owner name. The query is very simple, and exactly the same as in other searches. It's just this one script that doesn't like it. Ugh.
- user profiles updated. Also cleaned up some sections.
- breeding, wild nest, incubation pages updated. Had to forcibly change all eggs/chicks to juveniles and kick 'em outta nests, to reset the nest table.

Nests are now simplified; instead of reusing same nests for same parents, just create new nest for every breeding. So there'll only ever be 3 eggs/chicks max, and I can display them in the nest image as tiny sprites. And old nests can be deleted, saving space.

.. oookay, the breeding system has broken. It won't recognise the parent IDs. Hmm.
Well, I guess it's time to redo a bunch of it then! Lots of old, no-longer-used code and validation stuff. Will take a while to set up the relevant bits on a new page.

edit: wow, this is going quite smoothly actually. Slimmed down the code massively. And now I can add much more stuff!
Added:
- mothers can breed once per day. Not a strict 24h wait time, but 'any time on different days'. So it's more flexible. Males have no waiting time.
- males have higher capacity, 40 breedings compared to females' 20.
- females need 40 health and 20 energy to breed. Fails take 5 energy (at the moment) and success takes 20% energy and 5% health (laying eggs is tiring).
Meanwhile, males need 20 health and 5 energy. Any attempt takes 3 energy.
- checking both parents' inbred % and reducing fertility accordingly. It's combined, so 0% inbred and 100% inbred have around 50% chance still.
- fertility also falls if creatures are mortal and oldish (70+ years). Does not apply if immortal, ofc.
- users can have 20 nests active at once. More than that, and the romantic moment will be interrupted by servants whining about lack of space.

To add soon:
- mother's breed determines egg number; some usually produce one egg, others usually 2, or 3. Even 4 eggs, in certain breeds and rare cases!
- user could require certain items or authority, to persuade certain 'hard/unlikely to cross' breeds to mix. Maybe a hypnotic or romantic magic spell, lol.

And an idea I had for a while, can now plan it:
- enchantments on the user's island (stable block?) that last a few days, and affect breeding process in various ways.
Some could raise the chance of mutations, or that body part colours will match each other, or raise fertility chances regardless of parents' age/inbreeding, etc.
- alternatively, griffs' companions or held treasures could influence their breedings.

Whole process not re-completed yet though (tomorrow's task).

21 Aug

It's mostly done. Eggs are created and placed in new nest (so the loop is working), and notifications are created for all, but only one egg ID is added to mother's offspring list (???) and then I get blank screen error after that.
Guess that parent-updating bit should be outside the loop; must collect all the egg IDs from it, and add all the new stuff in a single query afterwards.
edit: done. All working.

Also, finally figured out a plan for The Food System.
Instead of all griffs needing food daily, each one has a meter that decreases slightly. So you'll have to top it up occasionally, by offering them food (carcass, plants, fish etc).

Adult creatures are meant to be self-sufficient and hunt/forage for selves, but not all breeds will be good at that.
Aquilas, Pandions etc will easily hunt prey, and Minoans can find all sorts of fruit etc. So they only lose 2-5% daily.
Artificial and silly breeds like Frizzles and Silky/Persian fluffballs are less suited to hunting, and the mutant breeds will totally fail. They might lose up to 50% daily.

Food is mainly gathered from the daily commands, sending adults to Hunt or Gather Food. The more successful flock members will thus be providing for the lesser ones.
Note to self: "Hunt" is looking for creatures to fight and kill/capture. Your griffs may bring back rare monster corpses to butcher for fangs/hides, or they may catch rare wildlife and bring it back alive (for your Menagerie). Or nothing is brought back, but they satisfy their bloodlust and gain skills/EXP. x)
Meanwhile "Gather Food" is, well, yeah. Griffs will look for any nearby small prey like rabbits, fish etc, or gather fruit or other plants. Whatever's available. It's not necessarily what they'd eat themselves; they understand the whole flock needs feeding.
The stuff that's found depends entirely on the griff's current location, and their skill is checked against each item (if find plants, better plant-picking skill means more is gathered. If find rabbits, hunting skill is checked. And so on).
For best results, you'd send your trained foragers to lush valleys/forests, good fishers to lakes/coatlines, and leave deserts/mountains for prey hunters.

If a creature ends up hungry and you don't give them anything, their Health/Energy/Trust will decrease rapidly each day, making them less useful.
I also have a vague idea about unhappy creatures running away (still belong to you, but you'll have to keep coaxing them back to flock) which'll be annoying.

... more Food System thoughts.
There should be a separate area, called Pantry or sth, where all food items are listed. Feeding can be done from there?
Plus having meat juices leaking over inventory stuff would be icky x)

Not sure what to do about griffs who are not at home (in other words, out exploring). Imagine having bits of fish teleported out to them; "here's your dinner" xD
Umm. And how can they send food/items home, anyway?

I guess each explorer could have some slots for picking stuff up, and the stuff is taken home when they actually arrive home.
At first, griffs can carry 4 items, but equipping them with a... pack? Harness? would let them pick up 8 things.
After you're satisfied with the stuff they've found, call them home and the items will join your inventory/pantry. Yes.
Reply


Messages In This Thread
First thread - by GwynMil - 10-16-2017, 11:34 PM
RE: First thread - by Riverspell - 10-17-2017, 03:02 AM
RE: First thread - by GwynMil - 10-18-2017, 01:10 AM
RE: First thread - by GwynMil - 10-19-2017, 04:23 PM
RE: First thread - by GwynMil - 10-19-2017, 05:54 PM
RE: First thread - by GwynMil - 10-19-2017, 08:06 PM
RE: First thread - by GwynMil - 10-22-2017, 12:46 PM
RE: First thread - by GwynMil - 10-23-2017, 03:13 PM
RE: First thread - by Riverspell - 10-24-2017, 07:32 PM
RE: First thread - by GwynMil - 10-24-2017, 08:30 PM
RE: First thread - by Riverspell - 10-25-2017, 05:16 PM
RE: First thread - by GwynMil - 10-25-2017, 05:50 PM
RE: First thread - by Riverspell - 10-25-2017, 06:04 PM
RE: First thread - by GwynMil - 10-26-2017, 04:26 PM
RE: First thread - by GwynMil - 10-31-2017, 09:11 PM
RE: First thread - by GwynMil - 11-03-2017, 10:37 PM
RE: First thread - by Riverspell - 11-04-2017, 01:02 AM
RE: First thread - by GwynMil - 11-04-2017, 11:19 PM
RE: First thread - by Riverspell - 11-05-2017, 02:06 AM
RE: First thread - by Riverspell - 11-05-2017, 02:13 AM
RE: First thread - by Riverspell - 11-05-2017, 02:25 AM
RE: First thread - by GwynMil - 11-05-2017, 01:39 PM
RE: First thread - by GwynMil - 11-05-2017, 04:25 PM
RE: First thread - by GwynMil - 11-13-2017, 02:29 PM
RE: First thread - by GwynMil - 11-13-2017, 02:50 PM
RE: First thread - by Riverspell - 11-15-2017, 12:23 AM
RE: First thread - by GwynMil - 11-15-2017, 04:16 PM
RE: First thread - by GwynMil - 11-16-2017, 05:23 PM
RE: First thread - by GwynMil - 11-20-2017, 06:51 PM
RE: First thread - by GwynMil - 11-22-2017, 01:49 AM
RE: First thread - by GwynMil - 11-28-2017, 10:14 PM
RE: First thread - by GwynMil - 12-01-2017, 09:19 PM
RE: First thread - by GwynMil - 12-02-2017, 10:11 PM
RE: First thread - by GwynMil - 12-03-2017, 02:06 AM
RE: First thread - by GwynMil - 12-04-2017, 12:53 AM
RE: First thread - by Riverspell - 12-04-2017, 05:00 AM
RE: First thread - by GwynMil - 12-04-2017, 03:49 PM
RE: First thread - by Riverspell - 12-06-2017, 03:03 AM
RE: First thread - by GwynMil - 12-06-2017, 11:31 PM
RE: First thread - by GwynMil - 12-12-2017, 05:37 PM
RE: First thread - by GwynMil - 12-17-2017, 05:01 PM
RE: First thread - by GwynMil - 12-24-2017, 06:27 PM
RE: First thread - by GwynMil - 01-09-2018, 05:19 PM
RE: First thread - by GwynMil - 01-15-2018, 06:30 PM
RE: First thread - by GwynMil - 01-22-2018, 08:19 PM
RE: First thread - by GwynMil - 01-28-2018, 05:32 PM
RE: First thread - by GwynMil - 02-12-2018, 03:55 AM
RE: First thread - by GwynMil - 02-17-2018, 02:11 AM
RE: First thread - by GwynMil - 02-22-2018, 11:45 PM
RE: First thread - by GwynMil - 02-28-2018, 03:19 PM
RE: First thread - by GwynMil - 03-01-2018, 04:04 PM
RE: First thread - by GwynMil - 03-04-2018, 04:14 PM
RE: First thread - by GwynMil - 03-07-2018, 04:53 PM
RE: First thread - by GwynMil - 03-11-2018, 05:36 PM
RE: First thread - by GwynMil - 03-18-2018, 05:11 PM
RE: First thread - by GwynMil - 03-24-2018, 04:37 PM
RE: First thread - by GwynMil - 03-25-2018, 12:19 AM
RE: First thread - by GwynMil - 04-09-2018, 02:54 PM
RE: First thread - by GwynMil - 04-17-2018, 10:31 PM
RE: First thread - by GwynMil - 04-17-2018, 10:31 PM
RE: First thread - by GwynMil - 04-17-2018, 10:31 PM
RE: First thread - by GwynMil - 04-22-2018, 02:19 PM
RE: First thread - by GwynMil - 05-03-2018, 07:09 PM
RE: First thread - by GwynMil - 05-06-2018, 01:50 AM
RE: First thread - by GwynMil - 05-12-2018, 12:30 AM
RE: First thread - by GwynMil - 05-17-2018, 03:08 PM
RE: First thread - by GwynMil - 05-20-2018, 02:24 PM
RE: First thread - by GwynMil - 05-21-2018, 07:16 PM
RE: First thread - by GwynMil - 05-22-2018, 07:07 PM
RE: First thread - by GwynMil - 05-26-2018, 04:38 PM
RE: First thread - by GwynMil - 05-28-2018, 06:59 PM
RE: First thread - by GwynMil - 05-30-2018, 04:27 PM
RE: First thread - by GwynMil - 06-03-2018, 11:27 PM
RE: First thread - by GwynMil - 06-10-2018, 07:51 PM
RE: First thread - by GwynMil - 06-13-2018, 11:57 PM
RE: First thread - by GwynMil - 06-16-2018, 03:45 PM
RE: First thread - by GwynMil - 06-17-2018, 10:51 PM
RE: First thread - by GwynMil - 06-18-2018, 02:06 PM
RE: First thread - by GwynMil - 06-19-2018, 02:35 PM
RE: First thread - by GwynMil - 06-23-2018, 04:14 PM
RE: First thread - by GwynMil - 06-23-2018, 04:14 PM
RE: First thread - by GwynMil - 06-24-2018, 05:51 PM
RE: First thread - by GwynMil - 06-25-2018, 03:26 PM
RE: First thread - by GwynMil - 06-28-2018, 04:58 PM
RE: First thread - by GwynMil - 06-30-2018, 07:37 PM
RE: First thread - by GwynMil - 07-02-2018, 05:17 PM
RE: First thread - by GwynMil - 07-06-2018, 02:07 AM
RE: First thread - by GwynMil - 07-08-2018, 05:27 PM
RE: First thread - by GwynMil - 07-11-2018, 12:47 AM
RE: First thread - by GwynMil - 07-14-2018, 08:07 PM
RE: First thread - by GwynMil - 07-15-2018, 04:18 PM
RE: Dev thread - by GwynMil - 07-20-2018, 01:54 AM
RE: First thread - by GwynMil - 07-24-2018, 06:09 PM
RE: First thread - by GwynMil - 07-29-2018, 11:30 PM
RE: First thread - by GwynMil - 07-31-2018, 06:32 PM
RE: First thread - by GwynMil - 08-02-2018, 05:31 PM
RE: First thread - by GwynMil - 08-08-2018, 02:35 PM
RE: First thread - by GwynMil - 08-12-2018, 06:05 PM
RE: First thread - by GwynMil - 08-14-2018, 02:31 PM
RE: First thread - by GwynMil - 08-17-2018, 06:09 PM
RE: First thread - by GwynMil - 08-20-2018, 04:47 PM
RE: First thread - by GwynMil - 08-22-2018, 03:03 PM
RE: First thread - by GwynMil - 08-26-2018, 08:14 PM
RE: First thread - by GwynMil - 09-08-2018, 12:57 AM
RE: First thread - by GwynMil - 09-10-2018, 04:48 PM
RE: First thread - by GwynMil - 09-15-2018, 04:44 PM
RE: First thread - by GwynMil - 09-23-2018, 07:20 PM
RE: First thread - by GwynMil - 09-27-2018, 11:05 PM
RE: First thread - by GwynMil - 10-03-2018, 03:21 PM
RE: First thread - by GwynMil - 10-11-2018, 05:06 PM
RE: First thread - by GwynMil - 10-11-2018, 05:06 PM
RE: First thread - by GwynMil - 10-16-2018, 08:11 PM
RE: First thread - by GwynMil - 10-19-2018, 05:03 PM
RE: First thread - by GwynMil - 10-23-2018, 04:08 PM
RE: First thread - by GwynMil - 10-28-2018, 04:41 PM
RE: First thread - by GwynMil - 10-31-2018, 07:33 PM
RE: First thread - by GwynMil - 11-06-2018, 11:48 PM
RE: First thread - by GwynMil - 11-13-2018, 07:53 PM
RE: First thread - by GwynMil - 11-18-2018, 04:54 PM
RE: First thread - by GwynMil - 11-23-2018, 03:35 PM
RE: First thread - by GwynMil - 11-27-2018, 08:51 PM
RE: First thread - by GwynMil - 12-01-2018, 10:54 PM
RE: First thread - by GwynMil - 12-13-2018, 04:33 PM