Create simple replaced_items mod for items that have been removed...
...in mod updates.master
parent
bd68fc788a
commit
c1899a80e8
|
@ -0,0 +1,9 @@
|
|||
## Replaced Items Mod for Antum Game
|
||||
|
||||
A simple mod to replace some items removed from mod updates for the [Antum game](https://github.com/AntumMT/game-antum).
|
||||
|
||||
Code licensing: CC0
|
||||
|
||||
Textures licensing: CC0
|
||||
* ritems_contract: by [Alastair](https://openclipart.org/detail/193532)
|
||||
* ritems_scale_*: by [verbage](https://openclipart.org/detail/181916)
|
|
@ -0,0 +1,2 @@
|
|||
override
|
||||
default?
|
|
@ -0,0 +1 @@
|
|||
A simple mod for the Antum game to replace some items that have been removed from mod updates.
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
-- animalmaterials:contract
|
||||
core.register_craftitem(":ritems:contract", {
|
||||
description = "Contract",
|
||||
image = "ritems_contract.png",
|
||||
stack_max=10,
|
||||
})
|
||||
|
||||
override.replaceItems("animalmaterials:contract", "ritems:contract")
|
||||
|
||||
if core.get_modpath("default") then
|
||||
minetest.register_craft({
|
||||
output = "ritems:contract",
|
||||
recipe = {
|
||||
{"default:paper"},
|
||||
{"default:paper"},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- animalmaterials:scale_*
|
||||
for _, color in pairs({"blue", "golden", "grey", "white"}) do
|
||||
core.register_craftitem(":ritems:scale_" .. color, {
|
||||
description = "Scale (" .. color .. ")",
|
||||
image = "ritems_scale_" .. color .. ".png",
|
||||
stack_max = 25
|
||||
})
|
||||
|
||||
override.replaceItems("animalmaterials:scale_" .. color, "ritems:scale_" .. color)
|
||||
end
|
|
@ -0,0 +1,3 @@
|
|||
name = replaced_items
|
||||
version = 0.1
|
||||
author = Jordan Irwin (AntumDeluge)
|
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in New Issue