wow that is really cool
@ -15,14 +15,6 @@ minetest.register_node("amogus_blocks:ladder_steel", {
|
||||
groups = {cracky = 2},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:floor", {
|
||||
description = "Floor",
|
||||
tiles = {"floor.png"},
|
||||
|
||||
drop = 'amogus_blocks:floor',
|
||||
legacy_mineral = true, groups = {cracky=3, stone=1},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:tv", {
|
||||
description = "CRT TV",
|
||||
tiles = {
|
||||
@ -61,6 +53,35 @@ minetest.register_node("amogus_blocks:purpleblock", {
|
||||
|
||||
drop = 'amogus_blocks:purpleblock', groups = {crumbly = 3},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:blueblock", {
|
||||
description = "Blue Block",
|
||||
tiles = {"blue.png"},
|
||||
|
||||
drop = 'amogus_blocks:blueblock', groups = {crumbly = 3},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:yellowblock", {
|
||||
description = "Yellow Block",
|
||||
tiles = {"yellow.png"},
|
||||
|
||||
drop = 'amogus_blocks:yellowblock', groups = {crumbly = 3},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:greenblock", {
|
||||
description = "Green Block",
|
||||
tiles = {"greenblock.png"},
|
||||
|
||||
drop = 'amogus_blocks:greenblock', groups = {crumbly = 3},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:blackblock", {
|
||||
description = "Black Block",
|
||||
tiles = {"blackblock.png"},
|
||||
|
||||
drop = 'amogus_blocks:blackblock', groups = {crumbly = 3},
|
||||
})minetest.register_node("amogus_blocks:whiteblock", {
|
||||
description = "White Block",
|
||||
tiles = {"whiteblock.png"},
|
||||
|
||||
drop = 'amogus_blocks:whiteblock', groups = {crumbly = 3},
|
||||
})
|
||||
minetest.register_node("amogus_blocks:redblock", {
|
||||
description = "Red Block",
|
||||
tiles = {"redblock.png"},
|
||||
@ -111,6 +132,33 @@ minetest.register_node("amogus_blocks:grass", {
|
||||
}, groups = {crumbly=3},
|
||||
})
|
||||
|
||||
minetest.register_node("amogus_blocks:grass_green", {
|
||||
description = "Grass",
|
||||
tiles = {
|
||||
"grass_greentop.png",
|
||||
"d.png",
|
||||
"grass_greenside.png",
|
||||
"grass_greenside.png",
|
||||
"grass_greenside.png",
|
||||
"grass_greenside.png"
|
||||
},
|
||||
|
||||
drop = {
|
||||
max_items = 2,
|
||||
items = {
|
||||
{
|
||||
items = {'amogus_blocks:dirt'},
|
||||
rarity = 3,
|
||||
},
|
||||
{
|
||||
items = {'amogus_items:rock'},
|
||||
rarity = 2,
|
||||
},
|
||||
},
|
||||
}, groups = {crumbly=3},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("amogus_blocks:wood", {
|
||||
description = "Wood",
|
||||
tiles = {"wood.png"},
|
||||
@ -184,12 +232,7 @@ minetest.register_node("amogus_blocks:water", {
|
||||
minetest.register_node("amogus_blocks:dirt", {
|
||||
description = "Dirt",
|
||||
tiles = {"d.png"},
|
||||
--sounds = default.node_sound_dirt_defaults({
|
||||
-- footstep = {name = "default_grass_footstep", gain = 0.4},
|
||||
--}),
|
||||
groups = {crumbly = 3},
|
||||
--drop = {'amogus_blocks:dirt', 'amogus_items:rock'},
|
||||
-- drop dirt and amogus_items:rock
|
||||
|
||||
drop = {
|
||||
max_items = 2,
|
||||
@ -261,6 +304,23 @@ minetest.register_node("amogus_blocks:lucky_block", {
|
||||
on_punch = function(pos, node, puncher, pointed_thing)
|
||||
local item = loot[math.random(#loot)]
|
||||
minetest.add_item(pos, item)
|
||||
minetest.add_particlespawner({
|
||||
amount = 100,
|
||||
time = 0.1,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x = -1, y = 5, z = -1},
|
||||
maxvel = {x = 1, y = 5, z = 1},
|
||||
minacc = {x = 0, y = -10, z = 0},
|
||||
maxacc = {x = 0, y = -10, z = 0},
|
||||
minexptime = 0.1,
|
||||
maxexptime = 0.5,
|
||||
minsize = 1,
|
||||
maxsize = 2,
|
||||
collisiondetection = true,
|
||||
vertical = false,
|
||||
texture = "luckyblock.png",
|
||||
})
|
||||
minetest.remove_node(pos)
|
||||
|
||||
end
|
||||
@ -269,7 +329,10 @@ minetest.register_node("amogus_blocks:lucky_block", {
|
||||
minetest.register_node("amogus_blocks:amogus_spawner", {
|
||||
description = "Amogus Spawner",
|
||||
tiles = {"amogus_spawner.png"},
|
||||
on_generated = function(pos)
|
||||
-- after place event
|
||||
--on_ = function(pos)
|
||||
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_int("spawned", 0)
|
||||
meta:set_int("interval", math.random(1,4))
|
||||
|
BIN
mods/amogus_blocks/textures/blackblock.png
Normal file
After Width: | Height: | Size: 168 B |
BIN
mods/amogus_blocks/textures/blue.png
Normal file
After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 265 B |
BIN
mods/amogus_blocks/textures/grass_greenside.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
mods/amogus_blocks/textures/grass_greentop.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
mods/amogus_blocks/textures/greenblock.png
Normal file
After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 154 KiB |
BIN
mods/amogus_blocks/textures/plasma.png
Normal file
After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 171 B |
BIN
mods/amogus_blocks/textures/sand.png
Normal file
After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
BIN
mods/amogus_blocks/textures/yellow.png
Normal file
After Width: | Height: | Size: 167 B |
@ -141,7 +141,6 @@ local entity = {
|
||||
self.object:set_velocity(vel)
|
||||
|
||||
self.last_y_velocity = vel.y
|
||||
|
||||
end
|
||||
}
|
||||
minetest.register_entity("amogus_entities:amogus", entity)
|
@ -20,7 +20,23 @@ minetest.register_biome({
|
||||
heat_point = 50,
|
||||
humidity_point = 50,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "amogus_green_biome",
|
||||
--node_dust = "amogus_blocks:stone",
|
||||
node_top = "amogus_blocks:grass_green",
|
||||
depth_top = 1,
|
||||
node_filler = "amogus_blocks:dirt",
|
||||
depth_filler = 1,
|
||||
node_stone = "amogus_blocks:stone",
|
||||
node_water_top = "amogus_blocks:water",
|
||||
depth_water_top = 1,
|
||||
node_water = "amogus_blocks:water",
|
||||
node_river_water = "amogus_blocks:water",
|
||||
y_max = 31000,
|
||||
y_min = 1,
|
||||
heat_point = 100,
|
||||
humidity_point = 100,
|
||||
})
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "amogus_blocks:sussium_ore",
|
||||
@ -167,3 +183,4 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
end
|
||||
--end
|
||||
end)
|
||||
|
||||
|
@ -52,26 +52,26 @@ minetest.register_craftitem("amogus_items:amogus", {
|
||||
minetest.register_craftitem("amogus_items:sprite", {
|
||||
description = "Sprite",
|
||||
inventory_image = "sprite.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:coke", {
|
||||
description = "Coke",
|
||||
inventory_image = "coke.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:fanta", {
|
||||
description = "Fanta",
|
||||
inventory_image = "fanta.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:tomato", {
|
||||
description = "Tomato",
|
||||
inventory_image = "tomato.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
minetest.register_craftitem("amogus_items:water", {
|
||||
inventory_image = "water.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
|
||||
minetest.register_tool("amogus_items:lightsaber_blue", {
|
||||
@ -208,7 +208,20 @@ minetest.register_tool("amogus_items:goldenaxe", {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=30, maxlevel=2},
|
||||
choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2},
|
||||
},
|
||||
damage_groups = {fleshy=4},
|
||||
},
|
||||
groups = {flammable = 2}
|
||||
})
|
||||
minetest.register_tool("amogus_items:stoneaxe", {
|
||||
description = "Stone Axe",
|
||||
inventory_image = "goldenaxe.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
choppy={times={[1]=2.50, [2]=1.40, [3]=0.40}, uses=30, maxlevel=2},
|
||||
},
|
||||
damage_groups = {fleshy=4},
|
||||
},
|
||||
|
BIN
mods/amogus_items/textures/CRT.png
Normal file
After Width: | Height: | Size: 152 B |
BIN
mods/amogus_items/textures/PCB.png
Normal file
After Width: | Height: | Size: 293 B |
BIN
mods/amogus_items/textures/SteamSetup.exe
Normal file
BIN
mods/amogus_items/textures/capacitor.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
mods/amogus_items/textures/dynamite.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
mods/amogus_items/textures/golden_pick.png
Normal file
After Width: | Height: | Size: 231 B |
BIN
mods/amogus_items/textures/parsec-windows.exe
Normal file
BIN
mods/amogus_items/textures/plasma_effect.png
Normal file
After Width: | Height: | Size: 367 B |
BIN
mods/amogus_items/textures/plasma_gun.png
Normal file
After Width: | Height: | Size: 182 B |
BIN
mods/amogus_items/textures/sussium_pickaxe.png
Normal file
After Width: | Height: | Size: 157 B |