mirror of
https://github.com/HybridDog/riesenpilz.git
synced 2025-08-02 15:20:21 +02:00
Compare commits
12 Commits
master
...
2506909694
Author | SHA1 | Date | |
---|---|---|---|
2506909694 | |||
8641f97af7 | |||
07077ecc78 | |||
228ce4b1ff | |||
7ca33b617f | |||
7a5df839c9 | |||
2a8d3aafcf | |||
06525f43eb | |||
cd44a194ec | |||
739d63eeda | |||
35687b0957 | |||
d319e4a9d5 |
13
LICENSE.txt
13
LICENSE.txt
@ -1,9 +1,6 @@
|
|||||||
Sounds and textures
|
------Mushrooms------
|
||||||
CC by 3.0
|
— glowshroom and lavashroom from bas080's plants mod (WTFPL)
|
||||||
Code
|
— parasol mushroom from a mod called mushrooms (WTFPL)
|
||||||
MIT
|
— "45" mushrooms from r01922090's mush45 mod (WTFPL)
|
||||||
|
|
||||||
Some source information:
|
rest also WTFPL
|
||||||
— glowshroom and lavashroom from bas080's plants mod (originally WTFPL)
|
|
||||||
— parasol mushroom from a mod called mushrooms (originally WTFPL)
|
|
||||||
— "45" mushrooms from r01922090's mush45 mod (originally WTFPL)
|
|
||||||
|
18
README.md
18
README.md
@ -12,14 +12,10 @@ If you got ideas or found bugs, please tell them to me.
|
|||||||
|
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
* Mapgen: Do not use a fixed table of tree nodes; instead use a more flexible
|
* add more giant mushrooms
|
||||||
way to remove trees.
|
* finish supporting the mushrooms mod
|
||||||
* Add a settingtypes.txt
|
* add lava suit
|
||||||
* Make the growingtool craftable
|
* use visual_scale → crop textures and change nodeboxes (maybe automatically)
|
||||||
* Test if visual_scale is useful for the small mushroom nodes,
|
* make the growingtool craftable
|
||||||
e.g. to make textures smaller or to use power-of-two sized textures.
|
* mapgen: do not use fixed tree stuff
|
||||||
Nodeboxes would need to be changed accordingly (maybe automatically).
|
* add settingtypes.txt
|
||||||
* Add new features:
|
|
||||||
* Add more giant mushrooms
|
|
||||||
* Add more content from the mushrooms mod
|
|
||||||
* Add a lava suit
|
|
||||||
|
18
init.lua
18
init.lua
@ -901,7 +901,7 @@ local head_sounds = default.node_sound_wood_defaults({
|
|||||||
dig = {name="riesenpilz_head", gain=0.2},
|
dig = {name="riesenpilz_head", gain=0.2},
|
||||||
dug = {name="riesenpilz_stem", gain=0.1}
|
dug = {name="riesenpilz_stem", gain=0.1}
|
||||||
})
|
})
|
||||||
local add_fence = minetest.register_fence
|
local add_fence = default.register_fence
|
||||||
local node_groups = {oddly_breakable_by_hand=3, fall_damage_add_percent=-80, bouncy=10}
|
local node_groups = {oddly_breakable_by_hand=3, fall_damage_add_percent=-80, bouncy=10}
|
||||||
|
|
||||||
for _, ndata in ipairs({
|
for _, ndata in ipairs({
|
||||||
@ -1041,7 +1041,14 @@ for _, ndata in ipairs({
|
|||||||
|
|
||||||
if add_fence
|
if add_fence
|
||||||
and ndata.fence ~= false then
|
and ndata.fence ~= false then
|
||||||
add_fence({fence_of = nodename})
|
add_fence(
|
||||||
|
nodename.."_fence",
|
||||||
|
{
|
||||||
|
material = nodename,
|
||||||
|
texture = textures[#textures],
|
||||||
|
groups = node_groups,
|
||||||
|
sounds = sounds,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1228,7 +1235,6 @@ if minetest.global_exists(technic) then
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
--[ [
|
|
||||||
if minetest.global_exists(3darmor) then add to depends
|
if minetest.global_exists(3darmor) then add to depends
|
||||||
--lavashroom skin armor, swimming in lava possible
|
--lavashroom skin armor, swimming in lava possible
|
||||||
|
|
||||||
@ -1252,7 +1258,7 @@ if minetest.global_exists(technic) then
|
|||||||
technic.comp("riesenpilz:lavashroom_skin 5", "riesenpilz:antilava_plate")
|
technic.comp("riesenpilz:lavashroom_skin 5", "riesenpilz:antilava_plate")
|
||||||
|
|
||||||
armor_register(plate blah)
|
armor_register(plate blah)
|
||||||
end--] ]
|
end
|
||||||
})
|
})
|
||||||
end--]]
|
end--]]
|
||||||
|
|
||||||
@ -1261,8 +1267,6 @@ if riesenpilz.enable_mapgen then
|
|||||||
dofile(modpath.."mapgen.lua")
|
dofile(modpath.."mapgen.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Legacy
|
-- Legacy
|
||||||
|
|
||||||
|
|
||||||
@ -1274,5 +1278,5 @@ local msg = "[riesenpilz] loaded after ca. "..time
|
|||||||
if time > 0.05 then
|
if time > 0.05 then
|
||||||
print(msg)
|
print(msg)
|
||||||
else
|
else
|
||||||
minetest.log("info", msg)
|
minetest.log("action", msg)
|
||||||
end
|
end
|
||||||
|
@ -19,7 +19,7 @@ riesenpilz.inform_all = false--minetest.is_singleplayer()
|
|||||||
riesenpilz.max_spam = 2
|
riesenpilz.max_spam = 2
|
||||||
|
|
||||||
--3d apple
|
--3d apple
|
||||||
riesenpilz.change_apple = true
|
riesenpilz.change_apple = false
|
||||||
|
|
||||||
--disallows growing a mushroom if it not every node would have a free place
|
--disallows growing a mushroom if it not every node would have a free place
|
||||||
riesenpilz.giant_restrict_area = false
|
riesenpilz.giant_restrict_area = false
|
||||||
|
Reference in New Issue
Block a user