3 Commits
v1.0.0 ... main

Author SHA1 Message Date
3514ae9333 Updated names 2026-04-13 19:03:58 -04:00
2c63b79d21 Removed description.txt 2026-04-11 14:04:15 -04:00
85558057d1 Deleted depends.txt 2026-04-11 13:56:21 -04:00
4 changed files with 34 additions and 48 deletions

View File

@@ -1,2 +0,0 @@
commoditymarket
currency

View File

@@ -1 +0,0 @@
Adds extra CommodityMarkets for city's towns etc..

View File

@@ -4,7 +4,7 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
local default_modpath = minetest.get_modpath("default") local default_modpath = minetest.get_modpath("default")
local currency_modpath = minetest.get_modpath("currency") local currency_modpath = minetest.get_modpath("currency")
local default_items = {"default:tin_lump","default:tin_ingot","default:tin_block","default:copper_lump","default:copper_ingot","default:copper_block","default:iron_lump","default:bronze_ingot","default:bronze_block","default:steel_ingot","default:steel_block","default:gold_lump","default:gold_ingot","default:gold_block","default:diamond","default:diamond_block","default:mese_crystal_fragment","default:mese_crystal","default:mese_block","default:coal_lump","default:coal_block",} local default_items = {"default:tin_lump","default:tin_ingot","default:tinblock","default:copper_lump","default:copper_ingot","default:copperblock","default:iron_lump","default:bronze_ingot","default:bronzeblock","default:steel_ingot","default:steelblock","default:gold_lump","default:gold_ingot","default:goldblock","default:diamond","default:diamondblock","default:mese_crystal_fragment","default:mese_crystal","default:mese_block","default:coal_lump","default:coalblock",}
-- local default_items = {"default:axe_bronze","default:axe_diamond","default:axe_mese","default:axe_steel","default:axe_steel","default:axe_stone","default:axe_wood","default:pick_bronze","default:pick_diamond","default:pick_mese","default:pick_steel","default:pick_stone","default:pick_wood","default:shovel_bronze","default:shovel_diamond","default:shovel_mese","default:shovel_steel","default:shovel_stone","default:shovel_wood","default:sword_bronze","default:sword_diamond","default:sword_mese","default:sword_steel","default:sword_stone","default:sword_wood", "default:blueberries", "default:book", "default:bronze_ingot", "default:clay_brick", "default:clay_lump", "default:coal_lump", "default:copper_ingot", "default:copper_lump", "default:diamond", "default:flint", "default:gold_ingot", "default:gold_lump", "default:iron_lump", "default:mese_crystal", "default:mese_crystal_fragment", "default:obsidian_shard", "default:paper", "default:steel_ingot", "default:stick", "default:tin_ingot", "default:tin_lump", "default:acacia_tree", "default:acacia_wood", "default:apple", "default:aspen_tree", "default:aspen_wood", "default:blueberry_bush_sapling", "default:bookshelf", "default:brick", "default:bronzeblock", "default:bush_sapling", "default:cactus", "default:clay", "default:coalblock", "default:cobble", "default:copperblock", "default:desert_cobble", "default:desert_sand", "default:desert_sandstone", "default:desert_sandstone_block", "default:desert_sandstone_brick", "default:desert_stone", "default:desert_stone_block", "default:desert_stonebrick", "default:diamondblock", "default:dirt", "default:glass", "default:goldblock", "default:gravel", "default:ice", "default:junglegrass", "default:junglesapling", "default:jungletree", "default:junglewood", "default:ladder_steel", "default:ladder_wood", "default:large_cactus_seedling", "default:mese", "default:mese_post_light", "default:meselamp", "default:mossycobble", "default:obsidian", "default:obsidian_block", "default:obsidian_glass", "default:obsidianbrick", "default:papyrus", "default:pine_sapling", "default:pine_tree", "default:pine_wood", "default:sand", "default:sandstone", "default:sandstone_block", "default:sandstonebrick", "default:sapling", "default:silver_sand", "default:silver_sandstone", "default:silver_sandstone_block", "default:silver_sandstone_brick", "default:snow", "default:snowblock", "default:steelblock", "default:stone", "default:stone_block", "default:stonebrick", "default:tinblock", "default:tree", "default:wood",} -- local default_items = {"default:axe_bronze","default:axe_diamond","default:axe_mese","default:axe_steel","default:axe_steel","default:axe_stone","default:axe_wood","default:pick_bronze","default:pick_diamond","default:pick_mese","default:pick_steel","default:pick_stone","default:pick_wood","default:shovel_bronze","default:shovel_diamond","default:shovel_mese","default:shovel_steel","default:shovel_stone","default:shovel_wood","default:sword_bronze","default:sword_diamond","default:sword_mese","default:sword_steel","default:sword_stone","default:sword_wood", "default:blueberries", "default:book", "default:bronze_ingot", "default:clay_brick", "default:clay_lump", "default:coal_lump", "default:copper_ingot", "default:copper_lump", "default:diamond", "default:flint", "default:gold_ingot", "default:gold_lump", "default:iron_lump", "default:mese_crystal", "default:mese_crystal_fragment", "default:obsidian_shard", "default:paper", "default:steel_ingot", "default:stick", "default:tin_ingot", "default:tin_lump", "default:acacia_tree", "default:acacia_wood", "default:apple", "default:aspen_tree", "default:aspen_wood", "default:blueberry_bush_sapling", "default:bookshelf", "default:brick", "default:bronzeblock", "default:bush_sapling", "default:cactus", "default:clay", "default:coalblock", "default:cobble", "default:copperblock", "default:desert_cobble", "default:desert_sand", "default:desert_sandstone", "default:desert_sandstone_block", "default:desert_sandstone_brick", "default:desert_stone", "default:desert_stone_block", "default:desert_stonebrick", "default:diamondblock", "default:dirt", "default:glass", "default:goldblock", "default:gravel", "default:ice", "default:junglegrass", "default:junglesapling", "default:jungletree", "default:junglewood", "default:ladder_steel", "default:ladder_wood", "default:large_cactus_seedling", "default:mese", "default:mese_post_light", "default:meselamp", "default:mossycobble", "default:obsidian", "default:obsidian_block", "default:obsidian_glass", "default:obsidianbrick", "default:papyrus", "default:pine_sapling", "default:pine_tree", "default:pine_wood", "default:sand", "default:sandstone", "default:sandstone_block", "default:sandstonebrick", "default:sapling", "default:silver_sand", "default:silver_sandstone", "default:silver_sandstone_block", "default:silver_sandstone_brick", "default:snow", "default:snowblock", "default:steelblock", "default:stone", "default:stone_block", "default:stonebrick", "default:tinblock", "default:tree", "default:wood",}
if currency_modpath then if currency_modpath then
@@ -22,12 +22,11 @@ end
-- defines a market and the varables -- defines a market and the varables
local market1_def = { local market1_def = {
description = "Central Market Red", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Red Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -49,12 +48,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_1", {
-- defines a market and the varables -- defines a market and the varables
local market2_def = { local market2_def = {
description = "Central Market Blue", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Blue Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -76,12 +74,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_2", {
-- defines a market and the varables -- defines a market and the varables
local market3_def = { local market3_def = {
description = "Central Market Green", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Green Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -103,12 +100,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_3", {
-- defines a market and the varables -- defines a market and the varables
local market4_def = { local market4_def = {
description = "Central Market Orange", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Orange Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -130,12 +126,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_4", {
-- defines a market and the varables -- defines a market and the varables
local market5_def = { local market5_def = {
description = "Central Market Black", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Black Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -157,12 +152,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_5", {
-- defines a market and the varables -- defines a market and the varables
local market6_def = { local market6_def = {
description = "Central Market Brown", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Brown Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -184,12 +178,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_6", {
-- defines a market and the varables -- defines a market and the varables
local market7_def = { local market7_def = {
description = "Central Market Cyan", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Cyan Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -211,12 +204,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_7", {
-- defines a market and the varables -- defines a market and the varables
local market8_def = { local market8_def = {
description = "Central Market Pink", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Pink Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -238,12 +230,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_8", {
-- defines a market and the varables -- defines a market and the varables
local market9_def = { local market9_def = {
description = "Central Market Purple", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Purple Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -265,12 +256,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_9", {
-- defines a market and the varables -- defines a market and the varables
local market10_def = { local market10_def = {
description = "Central Market White", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "White Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }
@@ -292,12 +282,11 @@ minetest.register_node("expanded_city_commoditymarket:central_market_10", {
-- defines a market and the varables -- defines a market and the varables
local market11_def = { local market11_def = {
description = "Central Market Yellow", -- A short name for this market, appears as the text of the "info" tab of the market's UI description = "Yellow Market", -- A short name for this market, appears as the text of the "info" tab of the market's UI
long_description = "A Central Market for trade", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional. long_description = "A market where orders to buy or sell items can be placed and fulfilled. Visit https://content.luanti.org/packages/FaceDeer/commoditymarket/ to learn how to use the markets.", -- A longer description with flavor text and other information to present to the user, shown in the info tab. Optional.
currency = expanded_city_commoditymarket_currency, currency = expanded_city_commoditymarket_currency,
currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold currency_symbol = "$", -- "\u{263C}" Alchemical symbol for gold
inventory_limit = 1600, -- max blocks one player can store in the market inventory inventory_limit = 3200, -- max blocks one player can store in the market inventory
sell_limit = 3200, -- max blocks one player can sell at one time
initial_items = default_items, initial_items = default_items,
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 KiB

After

Width:  |  Height:  |  Size: 404 KiB