Currently Online

Latest Posts

Topic: Customized Hunters

mxb2001
Avatar
Topic Opener
Joined: 2019-05-20, 17:49
Posts: 251
OS: Linux
Version: 1.1
Ranking
Tribe Member
Location: The land of the thirsty spider
Posted at: 2023-06-05, 04:17

So I "hacked" the init.lua files for all the carnivores and made them pettable instead of eatable. : ) Works fine so far. I might need more critter generators for some tribes as they only hunt the herbivores now. No problem.


--
To Boldly Go Where No Man Has Gone Before

Top Quote
mxb2001
Avatar
Topic Opener
Joined: 2019-05-20, 17:49
Posts: 251
OS: Linux
Version: 1.1
Ranking
Tribe Member
Location: The land of the thirsty spider
Posted at: 2023-06-13, 01:51

Hmmm, can't edit my post, will reply to myself with a Postscript then. : )

It works well enough (Oh bit of errata it was the register.lua) except for the Amazons. I looked up the two that create critters: Barbs and Zones. Barbs create only herbivores which is cool but the Amazons have a rather gruesome and disgusting list of 4 carnivores and only 2 herbivores! Amazons apparently breed and eat lynxes, foxes, badgers and martens. Yuck!

So to complete my hack I edited the wilderness keepers init.lua (really this time) and deleted the carnivores leaving only boars and bunnies.

So enjoy my hack fellow animal lovers!


--
To Boldly Go Where No Man Has Gone Before

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2023-06-13, 10:31

If you really want to share your work I recommend to create an addon for this.


Top Quote
mxb2001
Avatar
Topic Opener
Joined: 2019-05-20, 17:49
Posts: 251
OS: Linux
Version: 1.1
Ranking
Tribe Member
Location: The land of the thirsty spider
Posted at: 2023-06-13, 18:23

hessenfarmer wrote:

If you really want to share your work I recommend to create an addon for this.

LOL, right after posting I looked up addon creation. I've created dozens for Wesnoth already. Alas it looks like it's way more work to make the addon than it was to edit the files. Of course that's not a good excuse if there are players out there who aren't comfy with 'puters and would like to try this.

I'll add it to my TODO list. I need more practice with lua anyways (Wesnoth uses it as an option).


--
To Boldly Go Where No Man Has Gone Before

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2023-06-14, 11:53

if you need any help don't hesitate to ask us.


Top Quote