mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-18 21:14:11 +02:00
Starting Inventory fix #1/
This commit is contained in:
parent
26f3275b7c
commit
c57a757510
@ -3,9 +3,12 @@
|
||||
---
|
||||
--- Copyright notice created for the license to be valid. (MIT 3)
|
||||
|
||||
local stuff_string = minetest.settings:get("starting_inv_contents") or
|
||||
"mcl_tools:pick_iron,mcl_tools:axe_iron,mcl_tools:shovel_iron," ..
|
||||
"mcl_torches:torch 32,mcl_core:cobble 64"
|
||||
local give_inventory = minetest.settings:get("starting_inv_contents", false)
|
||||
|
||||
local stuff_string
|
||||
if give_inventory then
|
||||
stuff_string = "mcl_tools:pick_iron,mcl_tools:axe_iron,mcl_tools:shovel_iron,mcl_torches:torch 32,mcl_core:cobble 32"
|
||||
end
|
||||
|
||||
mcl_starting_inventory = {
|
||||
items = {}
|
||||
|
@ -1,3 +1,3 @@
|
||||
name = mcl_starting_inventory
|
||||
description = Mineclone 2 mod, Starting Chest. (Gives starter chest to players.)
|
||||
depends = mcl_core, mcl_chests
|
||||
description = Mineclone 2 mod, Starting Inventory
|
||||
depends = mcl_core, mcl_tools,
|
||||
|
@ -231,8 +231,8 @@ mcl_extended_pet_control (Extended pet control) bool true
|
||||
# Enable hamburgers for villagers to follow
|
||||
mcl_enable_hamburger (Enable Hamburger) bool true
|
||||
|
||||
# Starting inventory contents (given directly to the new player) type: string
|
||||
starting_inv_contents (player starter pack) string "mcl_tools:pick_iron,mcl_tools:axe_iron,mcl_tools:shovel_iron,mcl_torches:torch 32,mcl_core:cobble 64"
|
||||
# Starting Inventory contents (given directly to the new player) type: string
|
||||
starting_inv_contents (Player Starter Pack) bool false
|
||||
|
||||
[Debugging]
|
||||
# If enabled, this will show the itemstring of an item in the description.
|
||||
|
Loading…
Reference in New Issue
Block a user