[mod] Larry Builder [schemlib_builder_npcf]

Post Reply
bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

[mod] Larry Builder [schemlib_builder_npcf]

by bell07 » Post

This mod the Reference implementation for a Builder NPC that uses the schemlib framework.

Image

The Development is in sync so please allways update both mods (this one and schemlib)

Dependencies:
schemlib: https://github.com/bell07/minetest-schemlib
npcf (the framework only, NOT npcf_builder) https://github.com/stujones11/minetest-npcf

How to use:
1. Install the both dependencies
2. Search for Schematic files (*.we/ *.wem / *.mts) and place them to the schemlib_builder_npcf/buildings folder. Some sample files are provided already..
3. Create a new world - The Larry is scathingly, so do not let go of your usual worlds
4. Activate the 3 mods and start in creative
5. Get the Larry Spawner from creative inventory and place them
6. Right-Click and give him a name (ID)
7. observe
8. Spawn more Larry's and observe working together

Download: https://github.com/bell07/minetest-sche ... ilder_npcf

Note: If the townchest mod is enabled, the Larry does not start own buildings but wait for chest instructions. The "own buildings" rarity can be set in the chest formspec, if needed
Attachments
screenshot_20170713_172828.png
screenshot_20170713_172828.png (458.48 KiB) Viewed 843 times
Last edited by bell07 on Tue Jul 31, 2018 06:28, edited 2 times in total.

User avatar
Desour
Member
Posts: 1581
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [mod] Larry Builder [schemlib_builder_npcf]

by Desour » Post

Great!
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Larry Builder [schemlib_builder_npcf]

by azekill_DIABLO » Post

looks awesome!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

gpcf
Member
Posts: 384
Joined: Fri May 27, 2016 10:48
GitHub: gpcf

Re: [mod] Larry Builder [schemlib_builder_npcf]

by gpcf » Post

Nice! It would be nice if you could pay them to build what you want, and you'd pay them wages and beer!

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [mod] Larry Builder [schemlib_builder_npcf]

by bell07 » Post

gpcf wrote:Nice! It would be nice if you could pay them to build what you want, and you'd pay them wages and beer!
I work currently on porting TownChest viewtopic.php?f=9&t=15704&p=251458 to the schemlib framework. It it is done the Building Chest is the way to interact with this builders. The loose builder will accept the chest's building plan.

After this step is done I start to implement the inventory and items handling to the NPC. The framework is prepared already since historically towntest for this, the npcf_builder in Stu's NPC-Framework https://github.com/stujones11/minetest- ... cf_builder uses it already in a simple way (provide all before start the build)

My handling will accept partially payment and reuse removed nodes. (If implemented ;-() And I'll add additional consumption of group "food" items as additional payment for the work ...

Post Reply

Who is online

Users browsing this forum: ArceusI and 1 guest