Quantcast
Channel: forum.freeciv.org
Viewing all articles
Browse latest Browse all 368

Rulesets and modpacks • Re: SCRIPT: I LUV Connections! Connect your own resources by any roads or river.

$
0
0
UPDATE

I know, I know, the previous rules had a lot of resources, a lot of mess and things you didn't want, right?
So these ones are completely copied from the originals, without TILESET, without HIDING RESOURCES, without volcanoes, etc.
But with only the changes necessary to use the script.
Instead of 32 resources, you only need to connect 6. All other resources are not necessary to build units and/or buildings:

Only connect the resources below:
* Coal
* Horses
* Iron_Ore
* Oil
* Stones
* Wood

And the factories in these rules can manufacture:
* Coal
* Iron
* Steel
* Energy

Since there is no hidden resource, there is no unit to reveal them.
However, I left the structure in the script and also in the rules in case you want to improve them.

If you want to play on 'Square' ISO maps and also want to connect DIAGONALLY, change ALL circle_iterate commands to square_iterate in the script.lua file of the previous ruleset above. DOS NOT WORK in HEX maps. only in ISO.
There are 5 iterators to overwrite. Change them all.

Example:

Code:

for next_tile in unit.tile:circle_iterate(1) dochange to:for next_tile in unit.tile:square_iterate(1) do
REMEMBER! ONLY if you want to play in ISO maps and connect DIAGONALLY!!!
[*]The rules below already have these changes in the script.
EDIT: NOT ANYMORE!!! The files have been changed!
The script was for ISO maps only, I have reworked them and replaced them with the ones below.
Now the rulesets below are HEX and for ISO as well

Note: In these rules, the Barbarian units were duplicated and separated.
This is due to the fact that this nation cannot create connections.

So the final rules look like this:
Updating files right now. Check back in a few minutes.
script.lua.zip

Statistics: Posted by leo.priori — Thu Jan 16, 2025 7:49 am



Viewing all articles
Browse latest Browse all 368

Trending Articles