Add missing files, provide mod structure

master
Dallas DeBruin 2020-12-28 16:54:13 -05:00
parent 62a5822fb4
commit be19fd263f
11 changed files with 158 additions and 2762 deletions

2
depends.txt Normal file
View File

@ -0,0 +1,2 @@
adventure_core
autobox

1
description.txt Normal file
View File

@ -0,0 +1 @@
Provides all the essentials for creating adventure worlds

42
init.lua Normal file
View File

@ -0,0 +1,42 @@
-- __ ____ _ _ ____ __ _ ____ _ _ ____ ____ ____ __ ___ __ _ __
-- / _\ ( \/ )( \( __)( ( \(_ _)/ )( \( _ \( __) ( _ \ / _\ / __)( / ) / \
--/ \ ) D (\ \/ / ) _) / / )( ) \/ ( ) / ) _) ) __// \( (__ ) ( (_/ /
--\_/\_/(____/ \__/ (____)\_)__) (__) \____/(__\_)(____) (__) \_/\_/ \___)(__\_) (__)
--
-- Aventure Pack 1 Mod for Adventure_core by ExeVirus
-- Font used in title: Graceful
--
--Settings Loader
function setting(setting, default)
if type(default) == "boolean" then
local read = minetest.settings:get_bool("adventure_pack_1."..setting)
if read == nil then
return default
else
return read
end
elseif type(default) == "string" then
return tostring(minetest.settings:get("adventure_pack_1."..setting)) or default
elseif type(default) == "number" then
return tonumber(minetest.settings:get("adventure_pack_1."..setting) or default)
elseif type(default) == "table" then
return minetest.settings:get("adventure_pack_1."..setting) or default
end
end
if setting("enable_indoor_decor", true) then
dofile(minetest.get_modpath("adventure_pack_1").."/registrations/indoor_decor.lua")
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

2
mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = adventure_pack_1
description = Provides all the essentials for creating adventure worlds

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
armor
barrel_and_scrolls
bed
bed_2 (bed.obj)
bed_cot
big_stack_of_books
bucket
bunk_bed_with_stuff
bunk_beds
candlabra
case_of_barrels
case_of_scrolls
chandelier
crates
drawing_table
fish_barrel
food_plate
food_plate_2
food_plate_3
grandfather_clock
lantern
pen_and_quill
plans_table
scroll_case
scrying_orb
small_bookcase
small_bookcase_2
sofa
stack_of_books
stack_of_crates
store_shelf
weapons_case
weapons_case_2

View File

@ -0,0 +1,9 @@
haystack
hedge
metal_ingots
planted_bush
rope_bridge
stone_curb
stone_curb_2
stone_curb_3
tall_bush

View File

@ -0,0 +1,38 @@
ballista
bench
bleachers
bonfire
bonfire_2
braizer
broken_minecart
cannon
cart_empty
cart_goods
city_gibbet
city_gibbet_filled
covered_cart
crane
crane_2
food_cart
forge
forge_2
fruit_cart
gallows
gibbet
gibbet_with_skelly
guillotine
hay_cart
haybale
lamp_post
marble_decoration
marble_decoration_2
marble_pillar
marble_pillar_2
mine_cart_full
scarecrow
scarecrow_2
ship_cannon
stone_pillar
stone_tomb
wanted_sign
wooden_lamppost

View File

@ -0,0 +1,17 @@
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

13
settingtypes.txt Normal file
View File

@ -0,0 +1,13 @@
# This file contains the various settings for adventure pack
#Enable or disable different groups of meshes:
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