mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 04:16:30 +00:00
* Dehardcode maps (currently not working) maps need work and proper configs * Fix bugs i'm terrible at lua * Add proper maps and configs * Fix some bugs the game at least loads now, though it crashes when you run /start <a map> * Fix more bugs The map starts now though you don't get teleported to it. * Teleport the player to the map spawn on start * Fix lots of bugs It mostly works now * Add butterflies mod * Another bugfix * Add fireflies mod * Add vessels mod (dependency for fireflies) * Add a sprint mod * Add a spawnpoint no more falling into the void * Update TODO.txt * Fix the barriers being offset by 2 Also add more dependency mods
54 lines
1.5 KiB
Lua
54 lines
1.5 KiB
Lua
-- farming/hoes.lua
|
|
|
|
-- support for MT game translation.
|
|
local S = farming.get_translator
|
|
|
|
farming.register_hoe(":farming:hoe_wood", {
|
|
description = S("Wooden Hoe"),
|
|
inventory_image = "farming_tool_woodhoe.png",
|
|
max_uses = 30,
|
|
material = "group:wood",
|
|
groups = {hoe = 1, flammable = 2},
|
|
})
|
|
|
|
farming.register_hoe(":farming:hoe_stone", {
|
|
description = S("Stone Hoe"),
|
|
inventory_image = "farming_tool_stonehoe.png",
|
|
max_uses = 90,
|
|
material = "group:stone",
|
|
groups = {hoe = 1}
|
|
})
|
|
|
|
farming.register_hoe(":farming:hoe_steel", {
|
|
description = S("Steel Hoe"),
|
|
inventory_image = "farming_tool_steelhoe.png",
|
|
max_uses = 500,
|
|
material = "default:steel_ingot",
|
|
groups = {hoe = 1}
|
|
})
|
|
|
|
-- The following are deprecated by removing the 'material' field to prevent
|
|
-- crafting and removing from creative inventory, to cause them to eventually
|
|
-- disappear from worlds. The registrations should be removed in a future
|
|
-- release.
|
|
|
|
farming.register_hoe(":farming:hoe_bronze", {
|
|
description = S("Bronze Hoe"),
|
|
inventory_image = "farming_tool_bronzehoe.png",
|
|
max_uses = 220,
|
|
groups = {hoe = 1, not_in_creative_inventory = 1},
|
|
})
|
|
|
|
farming.register_hoe(":farming:hoe_mese", {
|
|
description = S("Mese Hoe"),
|
|
inventory_image = "farming_tool_mesehoe.png",
|
|
max_uses = 350,
|
|
groups = {hoe = 1, not_in_creative_inventory = 1},
|
|
})
|
|
|
|
farming.register_hoe(":farming:hoe_diamond", {
|
|
description = S("Diamond Hoe"),
|
|
inventory_image = "farming_tool_diamondhoe.png",
|
|
max_uses = 500,
|
|
groups = {hoe = 1, not_in_creative_inventory = 1},
|
|
})
|