Initial commit (version 0.1-test)
132
mods/literal_trash/init.lua
Normal file
@@ -0,0 +1,132 @@
|
||||
minetest.register_node("literal_trash:disc",{
|
||||
description = "Optical Disc",
|
||||
drawtype = "signlike",
|
||||
tiles = {"literal_trash_disc.png"},
|
||||
inventory_image = "literal_trash_disc.png",
|
||||
wield_image = "literal_trash_disc.png",
|
||||
light_propagates = true,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
||||
walkable = false,
|
||||
|
||||
|
||||
groups = {choppy = 2},
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("literal_trash:vhs",{
|
||||
description = "VHS Tape",
|
||||
drawtype = "signlike",
|
||||
tiles = {"literal_trash_vhs.png"},
|
||||
inventory_image = "literal_trash_vhs.png",
|
||||
wield_image = "literal_trash_vhs.png",
|
||||
light_propagates = true,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
||||
walkable = false,
|
||||
|
||||
|
||||
groups = {choppy = 2},
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("literal_trash:bloodstain",{
|
||||
description = "Blood Stain",
|
||||
drawtype = "signlike",
|
||||
tiles = {"literal_trash_bloodstain.png"},
|
||||
inventory_image = "literal_trash_bloodstain.png",
|
||||
wield_image = "literal_trash_bloodstain.png",
|
||||
light_propagates = true,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
|
||||
walkable = false,
|
||||
|
||||
|
||||
groups = {choppy = 2},
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("literal_trash:vodka", {
|
||||
description = "Vodka Bottle",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"literal_trash_vodka.png"},
|
||||
inventory_image = "literal_trash_vodka.png",
|
||||
wield_image = "literal_trash_vodka.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||
},
|
||||
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("literal_trash:beer_bottle", {
|
||||
description = "Beer Bottle",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"literal_trash_beer_bottle.png"},
|
||||
inventory_image = "literal_trash_beer_bottle.png",
|
||||
wield_image = "literal_trash_beer_bottle.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||
},
|
||||
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("literal_trash:beer_bottle_empty", {
|
||||
description = "Empty Beer Bottle",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"literal_trash_beer_bottle_empty.png"},
|
||||
inventory_image = "literal_trash_beer_bottle_empty.png",
|
||||
wield_image = "literal_trash_beer_bottle_empty.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||
},
|
||||
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
minetest.register_node("literal_trash:empty_beer_bottles", {
|
||||
description = "Empty Beer Bottles",
|
||||
drawtype = "plantlike",
|
||||
tiles = {"literal_trash_empty_beer_bottles.png"},
|
||||
inventory_image = "literal_trash_empty_beer_bottles.png",
|
||||
wield_image = "literal_trash_empty_beer_bottles.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
|
||||
},
|
||||
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
|
||||
|
||||
BIN
mods/literal_trash/textures/literal_trash_beer_bottle.png
Normal file
|
After Width: | Height: | Size: 239 B |
BIN
mods/literal_trash/textures/literal_trash_beer_bottle_empty.png
Normal file
|
After Width: | Height: | Size: 352 B |
BIN
mods/literal_trash/textures/literal_trash_bloodstain.png
Normal file
|
After Width: | Height: | Size: 509 B |
BIN
mods/literal_trash/textures/literal_trash_disc.png
Normal file
|
After Width: | Height: | Size: 858 B |
BIN
mods/literal_trash/textures/literal_trash_empty_beer_bottles.png
Normal file
|
After Width: | Height: | Size: 547 B |
BIN
mods/literal_trash/textures/literal_trash_pipe.png
Normal file
|
After Width: | Height: | Size: 305 B |
BIN
mods/literal_trash/textures/literal_trash_rag.png
Normal file
|
After Width: | Height: | Size: 623 B |
BIN
mods/literal_trash/textures/literal_trash_vhs.png
Normal file
|
After Width: | Height: | Size: 342 B |
BIN
mods/literal_trash/textures/literal_trash_vodka.png
Normal file
|
After Width: | Height: | Size: 331 B |
BIN
mods/literal_trash/textures/vessels_drinking_glass.png
Normal file
|
After Width: | Height: | Size: 194 B |
BIN
mods/literal_trash/textures/vessels_drinking_glass_inv.png
Normal file
|
After Width: | Height: | Size: 156 B |
BIN
mods/literal_trash/textures/vessels_glass_fragments.png
Normal file
|
After Width: | Height: | Size: 494 B |
BIN
mods/literal_trash/textures/vessels_shelf.png
Normal file
|
After Width: | Height: | Size: 517 B |
BIN
mods/literal_trash/textures/vessels_shelf_slot.png
Normal file
|
After Width: | Height: | Size: 130 B |
BIN
mods/literal_trash/textures/vessels_steel_bottle.png
Normal file
|
After Width: | Height: | Size: 196 B |