Go to file
mazes 80 132313ab12 Cores farming: use associative array for mature plant list 2022-09-04 00:59:24 +02:00
cores Cores farming: use associative array for mature plant list 2022-09-04 00:59:24 +02:00
locale API: new information text, update locales 2022-03-15 10:34:54 +01:00
misc Workflow: remove old files, move textures 2022-03-18 05:29:21 +01:00
models Workflow: remove old files, move textures 2022-03-18 05:29:21 +01:00
sounds Workflow: Migrate from modpack to single mod 2022-03-11 14:56:09 +01:00
textures Workflow: remove old files, move textures 2022-03-18 05:29:21 +01:00
tools Workflow: use string 'compact' syntax 2022-03-17 05:00:38 +01:00
.gitattributes Workflow: excludes unneeded files from archive 2022-03-11 15:00:40 +01:00
.luacheckrc Workflow: add luacheck 2022-09-03 02:05:05 +02:00
LICENSE Update LICENSE 2016-12-24 10:55:44 +09:00
README.md Workflow: update mod.conf, readme and todo 2022-03-18 04:00:29 +01:00
TODO Workflow: update TODO 2022-08-12 18:01:34 +02:00
api.lua Workflow: luacheck: variable shadowing 2022-09-04 00:57:48 +02:00
cores.lua Helpers: move random_pos_near to helpers 2022-09-03 02:05:05 +02:00
helpers.lua Helpers: move random_pos_near to helpers 2022-09-03 02:05:05 +02:00
init.lua Workflow: declare helpers in init 2022-09-01 22:13:02 +02:00
logo.png Worflow: Separate logo and banner images 2021-09-28 20:05:14 +02:00
mod.conf Workflow: update mod.conf, readme and todo 2022-03-18 04:00:29 +01:00
register.lua Workflow: update headers 2022-03-16 00:37:42 +01:00
settingtypes.txt Cores: review timers 2022-03-15 14:27:08 +01:00

README.md

Maidroid

This mod is inspired littleMaidMob mod from another voxel game, it provides maid robots called "maidroid".

These robots automatize some daily in-game tasks depending on the items you give them.

How to Use

Recipes

Maidroid Egg Capture rod Nametag

Usage

  1. Create a maidroid egg and use it in world to spawn a maid.
  2. Tame maidroid punching it with one gold block
  3. You can colorize them by punching dyes
  1. They will sit down and take a pause if you punch them with activation item
  2. To activate open their inventory with right-click and put tool and stuff inside.
BasicMaidroids follow owner or any player when wild, if this player have taming item in hand.

When they don't follow anyone they just wander
Defaut if no other core selected
Farming Any item from hoe group select this core.
Maidroid will plant the seeds or make seed from plants if they can.
Maidroid harvests mature plants.
Surrounded their land with fences or xpanes, as they are not jumpable by farmers.
OCR Maidroid needs a written book written in their inventory.
If the bookname is main, program is read.
start: sleep 1
beep
jump 0.9
jmp start
Torcher Maidroids with torches in inventory will follow a player, and put torch if it is dark.
Stockbreeder
An empty bucket or shears select this core
Stockbreeder will try to feed milkable animals, and then milk them
If they have shears they will also try to shear sheep
If they also have a sword in inventory they will try to manage poultries population
If they have shovel in inventory they can collect poops

New features

  • Automatic core selection
  • Paintable with dyes
  • Strong ownership for maidroids
    • You need to tame new maidroids
    • You can view any maidroid content
    • You can only take and put items in your maidroids
    • Maidroid privilege allows to
      • kill any maidroid
      • interact with any maidroids
      • set any maidroid owner with nametag
  • Farming
    • Fields separator can be xpanes or fences
      • through fences maidroid were harvesting plants from nearby fields
      • only in old maidroid version, now it seems better
    • Support for all farming redo crops and plants
      • Craft seeds for many plants: garlic, melon, pepper, pineapple, pumpkin
        • Melon and pumpkin require cutting board in inventory
      • Pepper can be harvested in three states:
      • Melons and pumpkins can now harvested
    • Support for cucina_vegana
  • Offline mode: droid continue to work even owner is offline
  • Protected areas support
  • Internationalization
  • Health
    • Status in info
    • Egg bar in maidroid menu
    • Can be healed
      • punching with tin lump
      • punching with mese fragment
      • Or just put those items in inventory for auto-healing
      • Drops all inventory items and some base material on death
  • Older version backward compatiblity
  • Nametag right-click sets owner name
  • Support for pipeworks teleport tubes: overflow management
  • Inventory
    • Sneak click
    • 3D model view

Code enhancement

  • Behaviors core: deported code from initial cores
    • Follow: still to enhance but bit better than before
    • Wander:
      • Try to go back to spawn point if too far from it
      • Randomly jump when wandering
    • Path: follow path after path_finding
    • More flexibility to extend or change behavior management
  • This version is less cpu greedy than older ones
    • Less pathfinding pathes called
    • Wielded item do not leak and survive server restart, even they were cleaned at restart

More features to come, look at TODO

Migration guide

If you already installed an old version of maidroid

  1. Before launching edit your minetest.conf
    • set "maidroid_compat = true"
  2. Launch your world and ensure you activate every maidroid on the map or captured egg from inventories
  3. When migration is finished edit your minetest.conf and remove maidroid_compat
  4. For a new install you should set above config
  5. If you used this version you can't go back to old versions
    • no forward compatibility !!!
  6. Original tagicar and forks were modpacks, everything is now contained in a single mod, CDB still provide modpack but with single mod inside.
    • you have to remove load_mod_maidroid_core and load_mod_maidroid_tools from your world.mt, else there will be startup warnings
  7. Cores are now mandatory some will not load when dependency not loaded
  8. You can set maidroid_enable_capture_rod = false in your world.mt to disable loading of capture rod

Dependencies

All dependencies were made optional

Requirements

  • Minetest 5.3.0

About older versions

This mod fork is based on Bingfeng version Minetest Forum

Merged patchset

Original tacigar version Minetest Forum

The source code of Maidroid is available under the LGPLv2.1 or later license.

The resouces included in Maidroid are available under the CC-BY-SA 4.0 or later license.