Go to file
sfence c4726d36c9
Merge pull request #28 from sfence/sfence_farmer_job_bf4760e
Farmer job.
Some functions were removed from plant collector to farmer. 
Farming Redo support.
2022-05-02 18:55:02 +02:00
.github update modutil and refine code 2020-02-26 17:28:03 +01:00
building_sign Fixing lint warnings. 2021-10-11 20:15:32 -04:00
working_villagers Merge pull request #28 from sfence/sfence_farmer_job_bf4760e 2022-05-02 18:55:02 +02:00
.buildpath stabilized building sign 2019-07-05 14:26:19 +02:00
.gitignore just for me so the git ignores my development files 2018-02-01 18:42:20 +01:00
.gitmodules update modutil and refine code 2020-02-26 17:28:03 +01:00
.luacheck_tidy Fix lua tidy. 2022-05-02 18:53:50 +02:00
.luacheckrc Fix lua check. 2022-05-02 18:37:44 +02:00
.project add job coroutines util 2019-10-30 16:08:23 +01:00
LICENSE Initial commit 2017-05-01 17:24:32 +02:00
README.MD fix bugs in the building_sign and the luacheck config 2020-10-12 14:14:01 +02:00
modpack.txt made into a modpack and improved the movement 2019-07-05 10:02:13 +02:00
screenshot.2.png new screenshot 2018-10-19 18:34:52 +02:00
screenshot.3.png added screenshots 2018-05-22 13:53:53 +02:00
screenshot.4.png added builder screenshot 2018-08-07 10:08:32 +02:00
screenshot.png added screenshots 2018-05-22 13:53:53 +02:00

README.MD

minetest mod working_villages

luacheck
This mod adds Villagers performing work. The plan is to make villagers build up their own villages.

working_villages forum page

Planned Features

  • villages
    • built up by the villagers
  • villagers
    • trading and building up an economy
    • working / doing their jobs
  • jobs
    • miner, farmer, woodcutter and many more

implemented Features

no crafting recipes yet (you will have to use creative) features:

  • building markers
    • for building houses and saving the houses details
    • save the position of the door and the bed
    • some jobs will let the villagers return home at night
    • at home the villagers will go to bed
  • spawn-eggs for villagers
    • female and male
    • (just for a nicer look)
  • commanding sceptre
    • leftclick villagers to let them pause their work
    • rightclick villagers to open the inventory
    • items can be exchanged in the inventory
    • home can be set in the inventory
    • jobs can be changed in the inventory
  • jobs
    • jobs define what the villagers should do
    • jobs can be changed in the inventory by clicking change job
    • in the job change form the jobs can be changed by replacing the current job by one of the jobs below (shift+click possible)
  • registered jobs:
    • woodcutter/lumberjack (cutting trees and planting saplings)
    • plant collector (collecting all sort of fauna to produce dyes etc.)
    • player follower (following any player, night active)
    • builder (builds the nearest building defined by a building marker)
  • testing jobs:
    • snowclearer (clearing snow away)
    • torcher (following player and placing torches in the dark, night active)

for developing jobs, villagers, etc. read api.md

screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Submodules

Currently working_villages only has the modutil portable submodule. It is needed to be able to run without the modutil mod.
This means you can either download the modutil mod and enable it or get the submodule:

When cloning add "--recursive" option to clone including all submodules:

git clone --recursive https://github.com/theFox6/working_villages.git

If one of the submodule folders is empty use:

git submodule update --init

This will clone all missing submodules.

Dependencies

working_villages needs modutil to load utilities it can also use modutil portable though
doors can be used by the villagers that's why there is a dependency

missing modutil

If you clone the mod you either need to install and activate the modutil mod or you need to clone it recursively.
If modutil is not present you will get the following error: .minetest/mods/working_villages/modutil/portable.lua: No such file or directory

cloning

When cloning first add "--recursive" option to clone including all submodules:

git clone --recursive https://github.com/theFox6/working_villages.git

else the submodule folders will be empty.

If one of the submodule folders is empty use:

git submodule update --init

This will clone all missing submodules.

To pull all changes in the repo including changes in the submodules use:

git pull --recurse-submodules

License

  • working_villages by theFox6 is avalible under the MIT License

Exceptions to the above:

  • villager skin textures from the Homedecor mod: CC-by-SA 3.0 or higher
  • the base of the api is the source code of the Maidroid mod: LGPLv2.1 or later license.
  • the egg textures are included in the Maidroid mod: CC-BY-SA 4.0 or later license.
  • the letters texture is from the Memorandum mod
  • the sign textures and the base of the torcher job texture are from the default mod in minetest_game and from Gambit: CC BY-SA 3.0
  • horsetail texture as base for the herb collectors job texture from Mossmanikin's Ferns: CC-By-SA 3.0