Commit Graph

68 Commits (master)

Author SHA1 Message Date
Brett O'Donnell c13eaa316d Merge pull request #5 from bell07/pr_cleanup
cleanup and optimizations
2016-11-25 09:22:03 +10:30
Alexander Weber caade5424e code cleanup and enhancements 2016-11-21 19:10:40 +01:00
Alexander Weber 6eca5bf8a8 more cloudwork
fill building with air
2016-11-21 18:43:26 +01:00
Brett O'Donnell 55553ab0a5 Merge pull request #2 from Elinvention/master
Some improvements and fixes
2016-11-02 10:12:08 +10:30
Alexander Weber 7f94faa55f minetest.forceload_free_block added more often so the forceload will be disabled in case of most issues on the chest 2016-10-09 11:24:58 +02:00
Alexander Weber 43807af167 door mappings adjusted
initial work on using minetest.forceload_block
2016-10-09 11:24:58 +02:00
Alexander Weber d157987791 debug info disabled 2016-10-09 11:24:58 +02:00
Alexander Weber a78a9168b2 Rework the "free nodes" handling. Now the free nodes are visible in both, needed and builder inventory as "Cloud".
- But you don't need to get the clouds from sky. It's furthermore free ;)
- Additional change: Skip "flowing" nodes because this nodes flows away
- Also add support for skipping nodes trough mapping (using name="")
2016-10-09 11:24:58 +02:00
Alexander Weber 908dc844dd disable the LuaFileSystem dependency by default, prefer io.popen that is available on each system 2016-10-09 11:24:58 +02:00
Alexander Weber e35048f8a5 Use-Debug-Print instead not working chat_send
format adjustments
2016-10-09 11:24:58 +02:00
Alexander Weber e52b722b79 param2 adjustments in mapping, primary for doors 2016-10-09 11:24:58 +02:00
Alexander Weber 2a842152a5 buildings updated from deploy_building mod. Now there are doors, panes, lava, vater
and dirt_with_grass in the buildings
2016-10-09 11:24:58 +02:00
Alexander Weber c54811b00c mapping for doors:door_wood_b_c doors style added (with metadata update)
metadata handling added to unknown nodes override
change on free items selection
pay different dirt types by the sane dirt
Nanuk_chapel.we updated with version from deploy_nodes mod (with dirt_with gras/ door and xpanes:pane windows)
2016-10-09 11:24:58 +02:00
Alexander Weber efe94df4ee small correction on building of free items 2016-10-09 11:24:58 +02:00
Alexander Weber edd304d166 add my first minetest house bell07-first-house.we 2016-10-09 11:24:58 +02:00
Alexander Weber 6087c35f5b map ethereal:green_dirt to default:dirt_with_grass if ethereal not active 2016-10-09 11:24:58 +02:00
Alexander Weber 40a23ec119 moreblock panel should not be build for free. Check if a recipe exists for node not in creative. If the node is craftable, the node can be used as payment 2016-10-09 11:24:58 +02:00
Alexander Weber 75563343c1 Support for nodes customizing
Currently hard-coded only in mapping.lua. Some usefull mappings added, like usage of buckets instead of sources for liquids
As usual some small off-topic fixes
2016-10-09 11:24:58 +02:00
Alexander Weber 3124c5ae8f changes (22.09.2016):
- preparation for node overrides
- adjustment on route logic (processing in chunks) for really big buildings (>100.000 nodes)
2016-10-09 11:24:58 +02:00
Alexander Weber 4b4ee70781 small changes for alias usage. Now there are less rebuilds for free 2016-10-09 11:24:58 +02:00
Alexander Weber 08602acbda optimize update_needed. Propose nodes first lower and nearly to the chest 2016-10-09 11:24:58 +02:00
Alexander Weber 4e39bddf66 Using original WorldEdit code to parse WorldEdit files (see towntest_chest/worldedit-serialization.lua)
code cleanup and bugfixes
2016-10-09 11:24:58 +02:00
Alexander Weber 21aeba2bf8 Next enhancement an fixes
- skip_already_placed - usefull to resume build after breaking the chest, or to repair the building if you breaks some building nodes.
- Just replace the chest and select the same building
- optimization in finding the build order for bigger buildings. Hardcoded parameter c_npc_imagination = 600 to limit the calculation.
- If the NPC is on the way, The route can be changed now if a better node is found in the meantime
- small change on npc. take always a step forward for looking to the right direction
- whitespace fixes (yes, geany is great!)
2016-10-09 11:24:58 +02:00
Alexander Weber fb0a047c0c whitespace fixes, page numbering in file selection screen 2016-09-19 20:52:57 +02:00
Alexander Weber 6087cd44ca - add support for drops variable drops like found for wheat as payment
- add simple paging in file selection since more buildings supported (I copied buildings from instabuild, npcf_builder and mg to my buildings folder)
2016-09-19 00:33:38 +02:00
Alexander Weber e74e0915ee -more intelligent path finding added for walking
-some bugs fixed
2016-09-18 20:23:13 +02:00
Alexander Weber 3fcb5cb707 add recipe 2016-09-18 00:21:25 +02:00
Alexander Weber ff7743ec27 added support for newer WorldEdit file format
- develpoed/tested with format version 5
- applying metadata, stored in newer WorldEdit format. So the direction of objects is right now
- more robust. unknown nodes ignored
- differentiation of nodes to place and items as payment. Sample: lrfurn:coffeetable_front is node to place, but lrfurn:coffeetable is item to pay
  (determinated by drop, if the node is masked in creative)
- nodes masked in creative and without drop are placed for free. So doors:hidden, lrfurn:coffeetable_back and other "multiblocks"/helpers will be placed as expected
  (but not in the right order because there is no relation to the door or the right coffeetable in data)
- Now you can just save a building using worldedit and move the file to the towntest_chest/buildings and it should work! I do not provide my sample because ist not pretty :(
2016-09-17 23:54:04 +02:00
Elia Argentieri 7a8c7fc5cd Fixed a division by zero that caused a serialization error with Minetest 0.4.13 + clean up 2015-11-09 23:33:23 +01:00
Elia Argentieri f8813e37d2 Depend on LuaFileSystem to list files in a directory in a portable way without requesting write access to the mod folder. 2015-11-09 23:25:45 +01:00
cornernote 84fad29509 added screenshot.png 2014-12-14 14:46:46 +10:30
Brett O'Donnell c09b5e9ff5 Update README.md 2014-12-14 13:07:59 +10:30
Brett O'Donnell bc3ba2b47d always use 3dmodel, thanks Sokomine on mt forums
ref: https://forum.minetest.net/viewtopic.php?pid=128580#p128580
2014-02-06 23:37:13 +10:30
Brett O'Donnell 732f9bb8e5 fix bug, thanks to Sokomine on minetest forums
ref: https://forum.minetest.net/viewtopic.php?pid=128580#p128580
2014-02-06 23:33:40 +10:30
Brett O'Donnell 030e3ba3ac Update init.lua 2014-01-17 11:03:14 +10:30
Brett O'Donnell be09c941f1 Update init.lua 2014-01-17 11:03:10 +10:30
Brett O'Donnell defbd2605c Update init.lua 2014-01-17 11:03:06 +10:30
Brett O'Donnell 8a1a54e754 Update and rename README.txt to README.md 2014-01-16 20:37:58 +10:30
Brett O'Donnell 3b965bda48 Update and rename license.txt to LICENSE 2014-01-16 19:42:41 +10:30
Brett O'Donnell dc60e24c11 Update README.txt 2012-11-07 16:22:49 -08:00
Brett O'Donnell b18b97d188 fix bug, thanks @RealBadAngel 2012-10-13 15:08:56 +10:30
Brett O'Donnell b97cc33522 remove random game_id, not needed 2012-10-13 11:33:10 +10:30
Brett O'Donnell 7d376549f8 added contributors to readme 2012-10-03 18:08:23 +09:30
Brett O'Donnell b62fb6de59 fix bug 2012-10-02 21:52:14 +09:30
Brett O'Donnell 8aff074158 tweak npc pos detection 2012-10-02 21:16:20 +09:30
Brett O'Donnell 5c6d06dfae cleanup bad blocks from buildings 2012-10-02 12:10:24 +09:30
Brett O'Donnell 23d6b8a0b3 make chests spawn more often 2012-10-02 11:12:26 +09:30
Brett O'Donnell 1bce632ebc chests will be generated on grass 2012-10-01 13:34:37 +09:30
Brett O'Donnell f0461f6c09 fix 3d player 2012-10-01 11:36:53 +09:30
Brett O'Donnell db4a1bebfd 2d npc is default 2012-09-30 22:13:26 +09:30