mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-31 22:00:25 +02:00
minetestforfun_game
mods
3d_armor
3d_armor_classes
WorldEdit
_misc
action_timers
ambience
areas
arrow_signs
automappercolors
bedrock
biome_lib
bobblocks
broomstick
builtin_falling
builtin_item
carts
chesttools
christmas_craft
coloredwood
colormachine
colouredstonebricks
columnia
connected_chests
cozy
darkage
death_messages
dropondie
email
eventobjects
factions
fail
fences
fishing
food
framedglass
gauges
glow
hbarmor
hbhunger
homedecor_modpack
building_blocks
chains
computer
locale
models
textures
CHANGES.txt
README.txt
TODO.txt
computers.lua
depends.txt
init.lua
miscitems.lua
recipes.lua
tetris.lua
fake_fire
homedecor
homedecor_3d_extras
inbox
itemframes
lavalamp
lrfurn
plasmascreen
.gitignore
LICENSE
README
modpack.txt
hudbars
interact
inventory_icon
inventorycheck
invtweak
irc_modpack
item_drop
jumping
lantern
lavatemple
locked_sign
mana
mapfix
maptools
markers
maze
meru
mesecons
metatools
mff
mobs
money
more_chests
moreblocks
moretrees
multitest
music
name_restrictions
names_per_ip
nether
news
notice
paintings
pclasses
peace_areas
pipeworks
plantlife_modpack
player_inactive
quartz
quests
random_messages
report
returnmirror
riesenpilz
rofl
runes
sea
serverguide
shutdown
signs_lib
snow
soccer
solarmana
soundset
spawn
spears
sponge
sprint
stained_glass
throwing
time_regulation
track_players
treasurer
trm_pyramids
tsm_pyramids
u_skins
unified_inventory
unifieddyes
vector_extras
warps
watershed
whoison
worldedge
xban2
other_things
worlds
.gitignore
.gitmodules
LICENSE
README.md
minetest.conf
72 lines
1.7 KiB
Lua
Executable File
72 lines
1.7 KiB
Lua
Executable File
|
|
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
|
-- License is WTFPL (see README.txt).
|
|
|
|
-- This file defines some items in order to not have to depend on other mods.
|
|
|
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
|
local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
|
|
|
|
if (not minetest.get_modpath("homedecor")) then
|
|
|
|
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
|
description = S("Plastic sheet"),
|
|
inventory_image = "homedecor_plastic_sheeting.png",
|
|
})
|
|
|
|
minetest.register_craftitem(":homedecor:plastic_base", {
|
|
description = S("Unprocessed Plastic base"),
|
|
wield_image = "homedecor_plastic_base.png",
|
|
inventory_image = "homedecor_plastic_base_inv.png",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = 'homedecor:plastic_base 6',
|
|
recipe = { "default:junglegrass",
|
|
"default:junglegrass",
|
|
"default:junglegrass"
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = 'homedecor:plastic_base 3',
|
|
recipe = { "default:dry_shrub",
|
|
"default:dry_shrub",
|
|
"default:dry_shrub"
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = 'homedecor:plastic_base 4',
|
|
recipe = { "default:leaves",
|
|
"default:leaves",
|
|
"default:leaves",
|
|
"default:leaves",
|
|
"default:leaves",
|
|
"default:leaves"
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "cooking",
|
|
output = "homedecor:plastic_sheeting",
|
|
recipe = "homedecor:plastic_base",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = 'fuel',
|
|
recipe = 'homedecor:plastic_base',
|
|
burntime = 30,
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = 'fuel',
|
|
recipe = 'homedecor:plastic_sheeting',
|
|
burntime = 30,
|
|
})
|
|
|
|
end -- not homedecor
|