Go to file
Alexander Weber e0a439c383 Added StarNinjas arrownaturetower.we building 2018-08-29 23:14:08 +02:00
buildings Added StarNinjas arrownaturetower.we building 2018-08-29 23:14:08 +02:00
textures cleanup / screenshot update 2016-11-17 19:44:33 +01:00
README.md Added StarNinjas arrownaturetower.we building 2018-08-29 23:14:08 +02:00
chest.lua schemlib update. Use persistance manager. Optimize formspecs 2018-07-30 22:32:40 +02:00
depends.txt add missed schemlib dependency 2017-07-16 02:21:57 +02:00
init.lua disabled crafting recipe 2018-08-29 22:39:54 +02:00
mod.conf initial git commit 2016-10-17 21:30:53 +02:00
npcf-worker.lua schemlib update. Use persistance manager. Optimize formspecs 2018-07-30 22:32:40 +02:00
screenshot.png cleanup / screenshot update 2016-11-17 19:44:33 +01:00
smartfs-forms.lua schemlib update. Use persistance manager. Optimize formspecs 2018-07-30 22:32:40 +02:00
smartfs.lua Port to schemlib / and schemlib_builder_npcf 2017-07-15 21:31:59 +02:00

README.md

TownChest

A minetest mod contains a chest with building definitions. The chest can spawn a NPC that does build the building for you. The mod uses the schemlib framework to handle the buildings

Screenshot

Features

  • Building target from file

    • A Chest that allow you to choose a building and manage the building options
    • The most ".we", ".wem" or ".mts" files are supported. just put the file to the buildings directory
    • Flatting and cleanup the building place, remove all cruft-nodes from building inside
    • Cleanup unknown nodes
    • Ground level detection trough dirt_with_* nodes
    • Optimized for realy big buildings. Try the AMMOnym_coloseum.we as a showcase
  • Building target configured

    • Some simple tasks implemented:
      • Fill with air
      • Fill with stone
      • Build a box
      • Build a plate
  • Survival mode

    • TODO
  • Creative mode

    • Instant build allow you to get the result instantly
    • Creative build by NPC without providing needed nodes
  • Builder-NPC's

    • Multiple NPC's per building can be used (to get Clolseum in time you need ~50 NPC's oO)
    • NPC can change the assigned building if chest is stopped and an other active chest nearly

Roadmap (not implemented yet)

  • Survival mode

    • each NPC gets own inventory
    • build a node only if there is place in inventory for the old one and the new one is avialable in inventory
    • Use all nearly default:chest to store removed nodes (flatting) and to get nodes for building
  • Node mapping support

    • a way to change the needed nodes (like in building defined default:wood but I like to use something from moretrees mod)
    • the mapping should be able to map the unknown nodes

Vision / Ideas / maybe

  • other chests that generates a plan. The generated plan can be the daily work of a lumberjack as example
  • Architect-NPC instead of the chest to coordinate the build
  • Interface (API) to allow other mods create own "Plan coordinator"'s

Credits

Code

  • cornernote - towntest mod was used as template for townchest
  • rubenwardy - take my smartfs enhancements upstream ready npcf_ng builder ousted the original towntest builder
  • Sokomine - handle_schematics is the base of hsl (=handle_schematics library)

Buildings

License

BSD-3-Clause