Added ATM and Textures

This commit is contained in:
PrairieWind 2022-08-22 15:19:36 -06:00
parent 92bf9e4e4e
commit a772a6b248
7 changed files with 28 additions and 1 deletions

View File

View File

@ -1,3 +1,3 @@
# mcl_xp_atm
Adds Experience "Bank Accounts" to MineClone 2
Adds Experience "Bank Accounts" to MineClone 2.

21
init.lua Normal file
View File

@ -0,0 +1,21 @@
--||||||||||||
--|| XP ATM ||
--||||||||||||
local S = minetest.get_translator(minetest.get_current_modname())
minetest.register_node("mcl_xp_atm:xp_atm",{
description = S("Experience ATM"),
_tt_help = S("Adds an ATM to store your XP."),
_doc_items_longdesc = S('Used to store your experience points in a "back account".'),
use_texture_alpha = "clip",
paramtype2 = "facedir",
tiles = {
"mcl_xp_atm_top.png", "mcl_xp_atm_top.png",
"mcl_xp_atm_side.png", "mcl_xp_atm_side.png",
"mcl_xp_atm_top.png", "mcl_xp_atm_front.png",
},
groups = { pickaxey = 1, punchy = 2 },
_mcl_blast_resistance = 3,
_mcl_hardness = 3,
})

6
mod.conf Normal file
View File

@ -0,0 +1,6 @@
name = mcl_xp_atm
author = PrairieWind
description = Adds experience atms to MineClone 2
depends =
supported_games =
unsupported_games =

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

BIN
textures/mcl_xp_atm_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B