diff --git a/README.md b/README.md index 8e24a5e..efef960 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # adventure_pack_1 -First of many packs compiled by ExeVirus + +This is the first adventure pack to be released for adventure core. It is meant as an example and educational sample for showing off autobox and adventure core. + +The assets are originally from a creator on steam workshop called "Vess", https://steamcommunity.com/sharedfiles/filedetails/?id=537123363&searchtext=vess + +I have not been able to get in contact with them and so cannot speak to the actual license of these model/texture assets. The other code in the mod I have purely created myself. + +I advise you to NOT include the assets from this modpack into any paid content of any kind, it is meant as an educational tool. + +All other assets are made by ExeVirus and are distributed as specified under LICENSE.txt diff --git a/init.lua b/init.lua index 6730412..44f64aa 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,7 @@ --/ \ ) D (\ \/ / ) _) / / )( ) \/ ( ) / ) _) ) __// \( (__ ) ( (_/ / --\_/\_/(____/ \__/ (____)\_)__) (__) \____/(__\_)(____) (__) \_/\_/ \___)(__\_) (__) -- --- Aventure Pack 1 Mod for Adventure_core by ExeVirus +-- Aventure Pack 1 Mod, an Educational pack for Adventure_core by ExeVirus -- Font used in title: Graceful -- @@ -32,11 +32,3 @@ end if setting("enable_outdoor_decor", true) then dofile(minetest.get_modpath("adventure_pack_1").."/registrations/outdoor_decor.lua") end - -if setting("enable_structures", true) then - dofile(minetest.get_modpath("adventure_pack_1").."/registrations/structures.lua") -end - -if setting("enable_landscaping", true) then - dofile(minetest.get_modpath("adventure_pack_1").."/registrations/landscaping.lua") -end diff --git a/registrations/indoor_decor.lua b/registrations/indoor_decor.lua index 3c017ea..499a492 100644 --- a/registrations/indoor_decor.lua +++ b/registrations/indoor_decor.lua @@ -10,6 +10,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:armor","armor.box",node_definition,true) +adv_core.register_object("adventure_pack_1:armor", 1, 0, 1, 0) node_definition ={ description = "adventure_pack_1:barrel_and_scrolls", @@ -21,6 +22,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:barrel_and_scrolls","barrel_and_scrolls.box",node_definition,true) +adv_core.register_object("adventure_pack_1:barrel_and_scrolls", 0, 0, 1, 1) node_definition ={ description = "adventure_pack_1:bed", @@ -32,6 +34,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bed","bed.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bed", 0, 1, 2, 1) node_definition ={ description = "adventure_pack_1:bed_cot", @@ -43,6 +46,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bed_cot","bed_cot.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bed_cot", 0, 0, 2, 1) node_definition ={ description = "adventure_pack_1:big_stack_of_books", @@ -54,6 +58,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:big_stack_of_books","big_stack_of_books.box",node_definition,true) +adv_core.register_object("adventure_pack_1:big_stack_of_books", 1, 1, 1, 1) node_definition ={ description = "adventure_pack_1:bucket", @@ -65,6 +70,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bucket","bucket.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bucket", 0, 2, 0, 1) node_definition ={ description = "adventure_pack_1:bunk_bed", @@ -76,6 +82,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bunk_bed","bunk_bed.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bunk_bed", 0, 1, 4, 2) node_definition ={ description = "adventure_pack_1:candlabra", @@ -87,6 +94,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:candlabra","candlabra.box",node_definition,true) +adv_core.register_object("adventure_pack_1:candlabra", 1, 0, 0, 0) node_definition ={ description = "adventure_pack_1:case_of_barrels", @@ -98,6 +106,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:case_of_barrels","case_of_barrels.box",node_definition,true) +adv_core.register_object("adventure_pack_1:case_of_barrels", 2, 0, 7, 0) node_definition ={ description = "adventure_pack_1:case_of_scrolls", @@ -109,6 +118,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:case_of_scrolls","case_of_scrolls.box",node_definition,true) +adv_core.register_object("adventure_pack_1:case_of_scrolls", 0, 1, 3, 2) node_definition ={ description = "adventure_pack_1:chandelier", @@ -120,6 +130,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:chandelier","chandelier.box",node_definition,true) +adv_core.register_object("adventure_pack_1:chandelier", 4, 1, 2, 1) node_definition ={ description = "adventure_pack_1:crates", @@ -131,6 +142,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:crates","crates.box",node_definition,true) +adv_core.register_object("adventure_pack_1:crates", 1, 1, 8, 2) node_definition ={ description = "adventure_pack_1:drawing_table", @@ -142,6 +154,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:drawing_table","drawing_table.box",node_definition,true) +adv_core.register_object("adventure_pack_1:drawing_table", 2, 0, 2, 2) node_definition ={ description = "adventure_pack_1:fish_barrel", @@ -153,6 +166,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:fish_barrel","fish_barrel.box",node_definition,true) +adv_core.register_object("adventure_pack_1:fish_barrel", 0, 3, 2, 0) node_definition ={ description = "adventure_pack_1:food_plate", @@ -164,6 +178,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:food_plate","food_plate.box",node_definition,true) +adv_core.register_object("adventure_pack_1:food_plate", 1, 1, 0, 0) node_definition ={ description = "adventure_pack_1:food_plate_2", @@ -175,6 +190,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:food_plate_2","food_plate.box",node_definition,true) +adv_core.register_object("adventure_pack_1:food_plate_2", 1, 1, 0, 0) node_definition ={ description = "adventure_pack_1:food_plate_3", @@ -186,6 +202,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:food_plate_3","food_plate.box",node_definition,true) +adv_core.register_object("adventure_pack_1:food_plate_3", 1, 1, 0, 0) node_definition ={ description = "adventure_pack_1:grandfather_clock", @@ -197,6 +214,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:grandfather_clock","grandfather_clock.box",node_definition,true) +adv_core.register_object("adventure_pack_1:grandfather_clock", 2, 0, 4, 0) node_definition ={ description = "adventure_pack_1:lantern", @@ -208,6 +226,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:lantern","lantern.box",node_definition,true) +adv_core.register_object("adventure_pack_1:lantern", 2, 0, 0, 0) node_definition ={ description = "adventure_pack_1:pen_and_quill", @@ -219,6 +238,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:pen_and_quill","pen_and_quill.box",node_definition,true) +adv_core.register_object("adventure_pack_1:pen_and_quill", 0, 0, 0, 1) node_definition ={ description = "adventure_pack_1:plans_table", @@ -230,6 +250,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:plans_table","plans_table.box",node_definition,true) +adv_core.register_object("adventure_pack_1:plans_table", 2, 0, 2, 2) node_definition ={ description = "adventure_pack_1:scroll_case", @@ -241,6 +262,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:scroll_case","scroll_case.box",node_definition,true) +adv_core.register_object("adventure_pack_1:scroll_case", 0, 0, 2, 3) node_definition ={ description = "adventure_pack_1:scrying_orb", @@ -252,6 +274,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:scrying_orb","scrying_orb.box",node_definition,true) +adv_core.register_object("adventure_pack_1:scrying_orb", 3, 1, 1, 1) node_definition ={ description = "adventure_pack_1:small_bookcase", @@ -263,6 +286,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:small_bookcase","small_bookcase.box",node_definition,true) +adv_core.register_object("adventure_pack_1:small_bookcase", 0, 0, 3, 3) node_definition ={ description = "adventure_pack_1:small_bookcase_2", @@ -274,6 +298,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:small_bookcase_2","small_bookcase_2.box",node_definition,true) +adv_core.register_object("adventure_pack_1:small_bookcase_2", 0, 0, 3, 3) node_definition ={ description = "adventure_pack_1:sofa", @@ -285,6 +310,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:sofa","sofa.box",node_definition,true) +adv_core.register_object("adventure_pack_1:sofa", 1, 0, 1, 4) node_definition ={ description = "adventure_pack_1:stack_of_books", @@ -296,6 +322,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:stack_of_books","stack_of_books.box",node_definition,true) +adv_core.register_object("adventure_pack_1:stack_of_books", 1, 1, 1, 1) node_definition ={ description = "adventure_pack_1:weapons_case", @@ -307,6 +334,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:weapons_case","weapons_case.box",node_definition,true) +adv_core.register_object("adventure_pack_1:weapons_case", 4, 1, 4, 1) node_definition ={ description = "adventure_pack_1:weapons_case_2", @@ -318,4 +346,5 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:weapons_case_2","weapons_case.box",node_definition,true) +adv_core.register_object("adventure_pack_1:weapons_case_2", 4, 1, 4, 1) diff --git a/registrations/landscaping.lua b/registrations/landscaping.lua deleted file mode 100644 index 993e7a2..0000000 --- a/registrations/landscaping.lua +++ /dev/null @@ -1,9 +0,0 @@ --- haystack --- hedge --- metal_ingots --- planted_bush --- rope_bridge --- stone_curb --- stone_curb_2 --- stone_curb_3 --- tall_bush diff --git a/registrations/outdoor_decor.lua b/registrations/outdoor_decor.lua index e5a4734..45ab3bf 100644 --- a/registrations/outdoor_decor.lua +++ b/registrations/outdoor_decor.lua @@ -8,6 +8,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:ballista","ballista.box",node_definition,true) +adv_core.register_object("adventure_pack_1:ballista", 3, 0, 5, 2) node_definition ={ description = "adventure_pack_1:bench", @@ -19,6 +20,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bench","bench.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bench", 1, 0, 3, 0) node_definition ={ description = "adventure_pack_1:bleachers", @@ -30,6 +32,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bleachers","bleachers.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bleachers", 2, 0, 9, 0) node_definition ={ description = "adventure_pack_1:bonfire", @@ -42,6 +45,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bonfire","bonfire.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bonfire", 8, 0, 3, 0) node_definition ={ description = "adventure_pack_1:bonfire_2", @@ -54,6 +58,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:bonfire_2","bonfire_2.box",node_definition,true) +adv_core.register_object("adventure_pack_1:bonfire_2", 7, 0, 2, 0) node_definition ={ description = "adventure_pack_1:braizer", @@ -66,6 +71,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:braizer","braizer.box",node_definition,true) +adv_core.register_object("adventure_pack_1:braizer", 3, 0, 4, 0) node_definition ={ description = "adventure_pack_1:broken_minecart", @@ -77,6 +83,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:broken_minecart","broken_minecart.box",node_definition,true) +adv_core.register_object("adventure_pack_1:broken_minecart", 2, 1, 3, 0) node_definition ={ description = "adventure_pack_1:cannon", @@ -88,6 +95,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:cannon","cannon.box",node_definition,true) +adv_core.register_object("adventure_pack_1:cannon", 3, 0, 3, 0) node_definition ={ description = "adventure_pack_1:cart_empty", @@ -99,6 +107,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:cart_empty","cart_empty.box",node_definition,true) +adv_core.register_object("adventure_pack_1:cart_empty", 1, 0, 4, 1) node_definition ={ description = "adventure_pack_1:city_gibbet", @@ -110,6 +119,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:city_gibbet","city_gibbet.box",node_definition,true) +adv_core.register_object("adventure_pack_1:city_gibbet", 6, 0, 6, 0) node_definition ={ description = "adventure_pack_1:covered_cart", @@ -121,6 +131,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:covered_cart","covered_cart.box",node_definition,true) +adv_core.register_object("adventure_pack_1:covered_cart", 2, 0, 12, 2) node_definition ={ description = "adventure_pack_1:crane", @@ -132,6 +143,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:crane","crane.box",node_definition,true) +adv_core.register_object("adventure_pack_1:crane", 3, 1, 10, 2) node_definition ={ description = "adventure_pack_1:crane_2", @@ -143,6 +155,7 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:crane_2","crane_2.box",node_definition,true) +adv_core.register_object("adventure_pack_1:crane_2", 2, 0, 7, 1) node_definition ={ description = "adventure_pack_1:marble_decoration", @@ -154,6 +167,8 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:marble_decoration","marble_decoration.box",node_definition,true) +adv_core.register_object("adventure_pack_1:marble_decoration", 2, 2, 3, 2) + node_definition ={ description = "adventure_pack_1:stack_of_crates", drawtype = "mesh", @@ -164,4 +179,5 @@ node_definition ={ groups = { oddly_breakable_by_hand=2 }, } autobox.register_node("adventure_pack_1:stack_of_crates","stack_of_crates.box",node_definition,true) +adv_core.register_object("adventure_pack_1:stack_of_crates", 3, 1, 11, 2) diff --git a/registrations/structures.lua b/registrations/structures.lua deleted file mode 100644 index 47a8f1d..0000000 --- a/registrations/structures.lua +++ /dev/null @@ -1,17 +0,0 @@ --- abbey --- abbey_stone (abbey.obj) --- barn --- broken_fountain --- cage --- chicken_coup --- fountain --- gazeebo --- grain_silo --- house_1 (2,3) --- house_wood --- old_house --- old_spooky_house --- stone_house --- water_tower --- well --- windmill diff --git a/settingtypes.txt b/settingtypes.txt index 2b40c1a..d056d3d 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -6,8 +6,3 @@ adventure_pack_1.enable_indoor_decor (Enable Indoor Decor) bool true adventure_pack_1.enable_outdoor_decor (Enable Outdoor Decor) bool true -adventure_pack_1.enable_landscaping (Enable Landscaping) bool true - -adventure_pack_1.enable_structures (Enable Structures) bool true - -