80.01% done

master
Dallas DeBruin 2020-12-07 17:03:33 -05:00
parent 34d3af5273
commit f744c80dd4
2 changed files with 26 additions and 14 deletions

View File

@ -1,18 +1,21 @@
# adventure_core
A Minetest Core Adventure Modpack
# adventure_core WIP
A Minetest Core Adventure Mod
Explainations are better left for the mod:
![In-Game Guidebook](readme_assets/guidebook.jpg)
### Quick description:
- 4 Elements, each are a floating entity in game world, physicaly interact.
- These spawn as player walks thourghout world. More spawn on newly generated chunks, especially farther from spawn.
- These spawn as player walks throughout world. More spawn on newly generated chunks, especially farther from spawn.
- They spawn by biome in default. Otherwise, they spawn anywhere. They are right-clicked to capture.
- They also make sound, this is how you normally find them. They produce a small amount of light.
Used in a crafting shop kind of block. It lets a player search by mod-pack the node (mesh) came from, by name, or all packages.
Used in a crafting shop kind of block. It lets a player search by name.
The player then is able to "buy" that node using the stacked elements (which are tracked by player).
All players start with the adventure_guidebook, and adventure_purse. One explains the system, the other displays the current total number of elements you have.
All players can (setting) start with the guidebook, and pouch. One explains the system, the other displays the current total number of elements a player has.
------Default
@ -28,14 +31,10 @@ Without default, the player can do a command to bring up the formspec for both p
Without default, the shop can be crafted with the /make_shop command, which requires 10 of each element to create.
--------
For both, when a player captures one element, the player gets a small text dialog showing them how much of element they have captured. Without default, they are told to type /adv_guide to learn more.
For both, when a player captures one element, the player gets a small text dialog showing them how much of element they have captured.
Adventure core ships with some built-in nodes a player can craft.
If default is enabled:
They can craft the different food and tree seeds.
Built-in ones, 6 static mesh nodes:
1. A small bridge
2. Bozai Tree
@ -45,8 +44,7 @@ Built-in ones, 6 static mesh nodes:
6. Axe Stump
------
Adventure core works by a player registering a node_name and recipe requirement, The node inventory image from the node_def is used as the picture.
Adventure core works by a player registering a node_name and element requirement, The node inventory image from the node_def/item_def is used as the picture, except for nodes with a mesh drawtype, these are displayed with a viewable mesh!

View File

@ -113,10 +113,24 @@ function adv_core.store_formspec(name, page, search, selected)
--https://stackoverflow.com/questions/17436947/how-to-iterate-through-table-in-lua
-- Display Pouch, left side panel
-- Search bar, middle-bottom of right half
-- Reset Search, bottom right corner
-- Grid of options. right half
-- Paging arrows <->, bottom of right half
-- Paging arrows <->, middle left and right of right half
-- Selected item, and cost, left half
-- Create Button, bottom of left half.
-- Create Button, bottom middle of left half.
-- Number of pages is always the same, search function will separate them into
-- a group of matched and the rest in unmatched.
-- Then it will display *both* sets in alphabetical order, matching first.
-- Matching are displayed with a light-blue background box around them.
-- if stinrg.find("search") == nil then
--place in unmatched
-- else
--place in matched
-- end
end
-- formspec callbacks