mirror of
https://github.com/mt-mods/currency.git
synced 2024-11-26 06:13:44 +01:00
raise daily income to 10 Mg
This commit is contained in:
parent
4110ab72c8
commit
0f3e04412c
@ -7,7 +7,7 @@ In general, one Mg equals one US dollar, as of Sept. 2018.
|
|||||||
|
|
||||||
A good starting amount is about 250Mg on a server
|
A good starting amount is about 250Mg on a server
|
||||||
|
|
||||||
You currently get a basic income of 1 Minegeld per day,
|
You currently get a basic income of 10 Minegeld per day,
|
||||||
so long as you dig at least one node in that day
|
so long as you dig at least one node in that day
|
||||||
and have an empty inventory slot for the money to go in.
|
and have an empty inventory slot for the money to go in.
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ earn_income = function(player)
|
|||||||
if players_income[name] > 0 then
|
if players_income[name] > 0 then
|
||||||
count = players_income[name]
|
count = players_income[name]
|
||||||
local inv = player:get_inventory()
|
local inv = player:get_inventory()
|
||||||
inv:add_item("main", {name="currency:minegeld_5", count=count})
|
inv:add_item("main", {name="currency:minegeld_10", count=count})
|
||||||
players_income[name] = 0
|
players_income[name] = 0
|
||||||
minetest.log("info", "[Currency] "..S("added basic income for @1 to inventory", name))
|
minetest.log("info", "[Currency] "..S("added basic income for @1 to inventory", name))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user