Add Pork, and Ominous Forests

This commit is contained in:
IamPyu 2024-12-12 19:11:01 -06:00
parent 18033bb860
commit 88c0475d31
15 changed files with 74 additions and 11 deletions

View File

@ -1,6 +1,8 @@
# Changelog
## [Dec 2nd - STILL UNDER DEVELOPMENT] So far unnamed update
## [Dec 2nd - STILL UNDER DEVELOPMENT] Major Update: The Greatest Update
I am running out of names for updates extremely fast.
Notable Game Changes:
@ -10,9 +12,8 @@ Notable Game Changes:
- Improved Slabs
- Improved Stairs
- Added Reinforced Glass
- Add back the Rubies that were removed a while ago!
- Replaced Spawnpoints with a item
- Added Pigs
- Added Pigs along with Raw and Cooked Pork
- Improved hudbars
- Improved command system and added Command Blocks
- Added many new commands, while also improving some builtin Luanti ones.
@ -51,6 +52,8 @@ Other Game Changes:
- Added Mossy Cobblestone
- Added Boulders
- Mushroom biomes are now marked as lowlands, only going up to Y 10
- Superslime now bounces the player slightly higher
- Add back the Rubies that were removed a while ago!
Code Changes:

Binary file not shown.

View File

@ -156,6 +156,15 @@ mobs:register_mob("pyutest_mobs:pig", {
collisionbox = PyuTest.SMALL_ANIMAL_CBOX,
can_leap = false,
jump = false,
pushable = false
pushable = false,
drops = {
{
name = "pyutest_tools:raw_pork",
min = 2,
max = 4,
chance = 1
}
}
})
mobs:register_egg("pyutest_mobs:pig", "Pig Spawn Egg", "pyutest-egg.png^[multiply:pink", 0)

View File

@ -290,6 +290,6 @@ PyuTest.make_building_blocks("pyutest_blocks:slime", "Slime", { "pyutest-slime.p
})
PyuTest.make_building_blocks("pyutest_blocks:superslime", "Superslime", { "pyutest-slime.png" }, "cyan", {
bouncy = 110,
bouncy = 115,
oddly_breakable_by_hand = PyuTest.BLOCK_FAST
})

View File

@ -100,6 +100,11 @@ PyuTest.make_grass("pyutest_grass:snowy_grass", "Snowy Grass", {
acid_vulnerable = 1,
}, "#f2f6fb")
PyuTest.make_grass("pyutest_grass:ominous_grass", "Ominous Grass", {
crumbly = PyuTest.BLOCK_FAST,
acid_vulnerable = 1,
}, "#433548")
PyuTest.make_grass("pyutest_grass:dirt_path", "Dirt Path", {
crumbly = PyuTest.BLOCK_FAST,
acid_vulnerable = 1,

View File

@ -58,3 +58,4 @@ PyuTest.make_leaves("pyutest_leaves:cherry", "Cherry", "#f3c2db")
PyuTest.make_leaves("pyutest_leaves:dark", "Dark", "#395124")
PyuTest.make_leaves("pyutest_leaves:aspen", "Aspen", "#978c52")
PyuTest.make_leaves("pyutest_leaves:red_aspen", "Red Aspen", "#945c53")
PyuTest.make_leaves("pyutest_leaves:ominous", "Ominous", "#3e3245")

View File

@ -1,4 +1,5 @@
PyuTest.make_food("pyutest_tools:apple", "Apple", "pyutest-apple.png", 6)
PyuTest.make_food("pyutest_tools:golden_apple", "Golden Apple", "pyutest-golden-apple.png", 9)
PyuTest.make_food("pyutest_tools:bread", "Bread", "pyutest-bread.png", 4)
PyuTest.make_food("pyutest_tools:carrot", "Carrot", "pyutest-carrot.png", 7)
PyuTest.make_food("pyutest_tools:banana", "Banana", "pyutest-banana.png", 6)
@ -6,6 +7,9 @@ PyuTest.make_food("pyutest_tools:water_bottle", "Water Bottle", "pyutest-water-b
PyuTest.make_food("pyutest_tools:potato", "Potato", "pyutest-potato.png", 3, "pyutest_tools:cooked_potato")
PyuTest.make_food("pyutest_tools:cooked_potato", "Cooked Potato", "pyutest-cooked-potato.png", 7)
PyuTest.make_food("pyutest_tools:sliced_potato", "Sliced Potato", "pyutest-sliced-potato.png", 0.5, "pyutest_tools:french_fries")
PyuTest.make_food("pyutest_tools:sliced_potato", "Sliced Potato", "pyutest-sliced-potato.png", 1, "pyutest_tools:french_fries")
PyuTest.make_food("pyutest_tools:french_fries", "French Fries", "pyutest-french-fries.png", 6.5)
PyuTest.make_food("pyutest_tools:french_fries", "French Fries", "pyutest-french-fries.png", 6)
PyuTest.make_food("pyutest_tools:raw_pork", "Raw Pork", "pyutest-raw-pork.png", 3, "pyutest_tools:cooked_pork")
PyuTest.make_food("pyutest_tools:cooked_pork", "Cooked Pork", "pyutest-cooked-pork.png", 9)

View File

@ -65,6 +65,7 @@ PyuTest.MOUNTAIN_STRIP_NOISE_PARAMS = {
}
PyuTest.OVERWORLD_BIOME_TOPS = {
extreme_lowland = 3,
lowland = 10,
normal = 45,
elevated = 200,

View File

@ -135,7 +135,7 @@ PyuTest.register_overworld_biome("MushroomFields", PyuTest.BIOME_TYPES.NORMAL, {
y_max = PyuTest.OVERWORLD_BIOME_TOPS.lowland,
y_min = PyuTest.OVERWORLD_SURFACE_BOTTOM,
heat_point = 30,
heat_point = 50,
humidity_point = 94,
weight = PyuTest.BIOME_WEIGHTS.tiny,
@ -151,7 +151,7 @@ PyuTest.register_overworld_biome("LargeMushroomForest", PyuTest.BIOME_TYPES.NORM
y_max = PyuTest.OVERWORLD_BIOME_TOPS.lowland,
y_min = PyuTest.OVERWORLD_SURFACE_BOTTOM,
heat_point = 30,
heat_point = 50,
humidity_point = 95,
weight = PyuTest.BIOME_WEIGHTS.tiny,
@ -167,7 +167,7 @@ PyuTest.register_overworld_biome("Swamp", PyuTest.BIOME_TYPES.WETLAND, {
y_max = PyuTest.OVERWORLD_BIOME_TOPS.lowland,
y_min = PyuTest.OVERWORLD_SURFACE_BOTTOM,
heat_point = 30,
heat_point = 50,
humidity_point = 100,
weight = PyuTest.BIOME_WEIGHTS.tiny,
@ -237,6 +237,21 @@ PyuTest.register_overworld_biome("RedwoodForest", PyuTest.BIOME_TYPES.CHILLY, {
_pyutest_fog_distance = 60,
})
PyuTest.register_overworld_biome("OminousForest", PyuTest.BIOME_TYPES.CHILLY, {
node_top = "pyutest_grass:ominous_grass",
node_filler = "pyutest_blocks:dirt_block",
y_max = PyuTest.OVERWORLD_BIOME_TOPS.normal,
y_min = PyuTest.OVERWORLD_SURFACE_BOTTOM,
heat_point = 19,
humidity_point = 81,
weight = PyuTest.BIOME_WEIGHTS.tiny,
_pyutest_fog_distance = 45,
})
-- Winter
PyuTest.register_overworld_biome("FrozenPlains", PyuTest.BIOME_TYPES.COLD, {
node_dust = "pyutest_blocks:snow_carpet",

View File

@ -0,0 +1,13 @@
PyuTest.register_overworld_biome("GravelBeach", PyuTest.BIOME_TYPES.CHILLY, {
depth_top = 0,
node_filler = "pyutest_blocks:gravel_block",
depth_filler = 7,
y_max = PyuTest.OVERWORLD_BIOME_TOPS.extreme_lowland,
y_min = PyuTest.OVERWORLD_SURFACE_BOTTOM,
heat_point = 20,
humidity_point = 50,
weight = PyuTest.BIOME_WEIGHTS.tiny
}, true)

View File

@ -2,7 +2,7 @@ local modpath = core.get_modpath("pyutest_overworld")
if PyuTest.is_flat() then
PyuTest.register_overworld_biome("flat", PyuTest.BIOME_TYPES.NORMAL, {
node_top = "pyutest_grass:grass_block",
node_top = "pyutest_blocks:sand_block",
node_filler = "pyutest_blocks:dirt_block",
y_max = PyuTest.OVERWORLD_BIOME_TOPS.normal,
@ -16,6 +16,7 @@ if PyuTest.is_flat() then
end
dofile(modpath .. "/biomes.lua")
dofile(modpath .. "/biomes_extra.lua")
dofile(modpath .. "/caves.lua")
dofile(modpath .. "/features.lua")
dofile(modpath .. "/structures.lua")

View File

@ -168,6 +168,17 @@ core.register_decoration({
flags = "place_center_x, place_center_z",
})
core.register_decoration({
deco_type = "schematic",
place_on = { "pyutest_grass:ominous_grass" },
sidelen = 16,
fill_ratio = 0.043,
biomes = { "OminousForest" },
schematic = PyuTest.get_schematic_path("OminousTree"),
rotation = "random",
flags = "place_center_x, place_center_z",
})
core.register_decoration({
deco_type = "schematic",
place_on = { "pyutest_blocks:podzol_block" },

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B