5.4 dowgrade
parent
c0dbe2f751
commit
c1d022dcf2
|
@ -0,0 +1,2 @@
|
|||
## Generic ignorable patterns and files
|
||||
user.conf
|
|
@ -20,5 +20,5 @@ if eraz.settings.spawn then
|
|||
end
|
||||
local user_file = modpath .. "/user.lua"
|
||||
if eraz.file_exists(user_file) then
|
||||
assert(loadfile(user_file))()
|
||||
assert(loadfile(user_file))(S)
|
||||
end
|
||||
|
|
|
@ -26,3 +26,4 @@ A new merchant has just arrived at=Un nuevo comerciante acaba de llegar a
|
|||
bringing=trayendo
|
||||
unknown stuff=cosas desconocidas
|
||||
basic food=comida básica
|
||||
|
||||
|
|
|
@ -16,3 +16,4 @@ eraz.register_loot("basic_food", {
|
|||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
local S = ...
|
||||
|
||||
local function round(x)
|
||||
return x>=0 and math.floor(x+0.5) or math.ceil(x-0.5)
|
||||
end
|
||||
|
||||
--SPAWN
|
||||
|
||||
eraz.spawn = function(spawn_pos, limit_max_mobs, abr, liquidflag)
|
||||
|
|
|
@ -0,0 +1,101 @@
|
|||
local S = ...
|
||||
|
||||
eraz.register_loot("minerals", {
|
||||
description = S("some minerals"),
|
||||
type = "fixed",
|
||||
items = {
|
||||
iron = {
|
||||
name = "default:iron_lump",
|
||||
price = 10,
|
||||
amount = 25,
|
||||
},
|
||||
copper = {
|
||||
name = "default:copper_lump",
|
||||
price = 5,
|
||||
amount = 25,
|
||||
},
|
||||
bauxite = {
|
||||
name = "aloz:bauxite_lump",
|
||||
price = 7,
|
||||
amount = 25,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
eraz.register_loot("fruits", {
|
||||
description = S("some fruits"),
|
||||
type = "fixed",
|
||||
items = {
|
||||
apple = {
|
||||
name = "default:apple",
|
||||
price = 3,
|
||||
amount = 6,
|
||||
},
|
||||
cherries = {
|
||||
name = "cherrytree:cherries",
|
||||
price = 5,
|
||||
amount = 10,
|
||||
},
|
||||
lemon = {
|
||||
name = "lemontree:lemon",
|
||||
price = 2,
|
||||
amount = 12,
|
||||
},
|
||||
clementine = {
|
||||
name = "clementinetree:clementine",
|
||||
price = 4,
|
||||
amount = 8,
|
||||
},
|
||||
blueberries = {
|
||||
name = "default:blueberries",
|
||||
price = 5,
|
||||
amount = 15,
|
||||
},
|
||||
pineapple = {
|
||||
name = "pineapple:pineapple",
|
||||
price = 6,
|
||||
amount = 4,
|
||||
},
|
||||
pomegranate = {
|
||||
name = "pomegranate:pomegranate",
|
||||
price = 3,
|
||||
amount = 7,
|
||||
},
|
||||
plum= {
|
||||
name = "plumtree:plum",
|
||||
price = 2,
|
||||
amount = 8,
|
||||
},
|
||||
cacao_beans = {
|
||||
name = "cacaotree:cacao_beans",
|
||||
price = 10,
|
||||
amount = 30,
|
||||
},
|
||||
barberries = {
|
||||
name = "swaz:barberries",
|
||||
price = 1,
|
||||
amount = 20,
|
||||
},
|
||||
redcurrants = {
|
||||
name = "redw:redcurrants",
|
||||
price = 1,
|
||||
amount = 15,
|
||||
},
|
||||
acorn = {
|
||||
name = "oak:acorn",
|
||||
price = 2,
|
||||
amount = 25,
|
||||
},
|
||||
chestnut = {
|
||||
name = "chestnuttree:fruit",
|
||||
price = 3,
|
||||
amount = 25,
|
||||
},
|
||||
persimmon = {
|
||||
name = "ebony:persimmon",
|
||||
price = 5,
|
||||
amount = 7,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue