remove anycoin

It has its own repo now
This commit is contained in:
Tai Kedzierski 2019-01-17 18:36:34 +00:00
parent cced744c84
commit 3d6fbd8197
6 changed files with 0 additions and 157 deletions

View File

@ -1,19 +0,0 @@
Code
++++
Copyright 2016 Tai "DuCake" Kedzierski (taikedz)
This software is provided to you under LGPLv3 license
You may use, modify, copy and distribute as long as you retain this copyright notice, and provide the source code of this project and any code directly derived from this project's code upon request without restriction. You may not re-license this work or any work derived from it under a license that would contradict the LGPLv3.
Textures
++++++++
Copyright 2016 Tai "DuCake" Kedzierski (taikedz)
The textures provided in this file are provided to you under Creative Commons BY-SA 4.0
You may copy, modify and distribute your copies, provided you retain this copyright notice, and grant the same permissions to the users of the work you derived from this present work.

View File

@ -1,9 +0,0 @@
# AnyCoin
Create coins from anything, and assign them value.
Use it as currency, or put them in frames for fame!
The base AnyCoin and NineyCoin (nine AnyCoins) come as standard, you can specify your own coins from within your own mod using the `anycoin` API
Uses coal lumps as base mineral, but if moreores is installed, uses tin ingots instead.

View File

@ -1,21 +0,0 @@
default
nssm?
dmobs?
mobs_animal?
mobs_bear?
mobs_creeper?
mobs_crocs?
mobs_deer?
mobs_giraffe?
mobs_jellyfish?
mobs_monster?
mobs_mr_goat?
mobs_sandworm?
mobs_senderman?
mobs_sharks?
mobs_slimes?
mobs_snowman?
mobs_turtles?
mobs_wolf?
mobs_yeti?
mobs_zombie?

View File

@ -1,107 +0,0 @@
anycoin = {}
local metals = "default:coal_lump"
if minetest.get_modpath("moreores") then
metals = "moreores:tin_ingot"
end
function anycoin:register_coin(coinname,coindesc,cmaterial,overimg,cvalue)
local coinimg = "anycoin_coin.png^"..overimg
local value = cvalue
if not cvalue then
cvalue = 1
end
minetest.register_craftitem(":anycoin:coin_"..coinname, {
description = coindesc .. " ("..cvalue.." ac-)",
inventory_image = coinimg,
coinvalue = cvalue
})
core.register_craft({
type = "shapeless",
output = "anycoin:anycoin "..cvalue,
recipe = {"anycoin:coin_"..coinname}
}
)
if cmaterial == "moreores:tin_ingot" then metals = "default:coal_lump" end
core.register_craft( {
output = "anycoin:coin_"..coinname,
recipe = {
{metals,metals,metals},
{cmaterial,metals,cmaterial},
{metals,metals,metals},
}
})
end
-- A base coin to serve as an exchange base
minetest.register_craftitem("anycoin:anycoin", {
description = "AnyCoin (1 ac-)",
inventory_image = "anycoin_coin.png",
coinvalue = 1,
stack_max = 500,
})
minetest.register_craftitem("anycoin:fivercoin", {
description = "FiverCoin (5 ac-)",
inventory_image = "anycoin_coin.png^[colorize:green:60",
coinvalue = 5,
stack_max = 500,
})
minetest.register_craftitem("anycoin:tennercoin", {
description = "TennerCoin (10 ac-)",
inventory_image = "anycoin_coin.png^[colorize:purple:60",
coinvalue = 10,
stack_max = 500,
})
local basecoin = "anycoin:anycoin"
core.register_craft( {
output = "anycoin:fivercoin",
type = "shapeless",
recipe = {
basecoin,basecoin,basecoin,basecoin,basecoin
}
})
core.register_craft( {
output = "anycoin:tennercoin",
type = "shapeless",
recipe = {
"anycoin:fivercoin","anycoin:fivercoin"
}
})
core.register_craft( {
type = "shapeless",
output = "anycoin:anycoin 10",
recipe = {"anycoin:tennercoin"}
})
core.register_craft( {
type = "shapeless",
output = "anycoin:anycoin 5",
recipe = {"anycoin:fivercoin"}
})
anycoin:register_coin("iron","Iron Coin","default:steel_ingot","[colorize:red:50",10)
anycoin:register_coin("copper","Copper Coin","default:copper_ingot","[colorize:orange:50",15)
anycoin:register_coin("bronze","Bronze Coin","default:bronze_ingot","[colorize:orange:90",20)
anycoin:register_coin("gold","Gold Coin","default:gold_ingot","[colorize:yellow:90",30)
anycoin:register_coin("diamond","Diamond Coin","default:diamond","default_diamond.png",40)
anycoin:register_coin("mese","Mese Coin","default:mese_crystal","default_mese_crystal.png",50)

View File

@ -1 +0,0 @@
name = anycoin

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 B