Convert the modpack into a standalone game for the Minetest engine

Integrated into the game is most of minetest_game as the stable base
This commit is contained in:
VanessaE
2021-02-23 23:40:11 -05:00
committed by Vanessa Dannenberg
parent 11adf56b75
commit 4394beec6a
8861 changed files with 37424 additions and 4811 deletions

View File

@@ -0,0 +1,3 @@
default
streetsmod
wool?

View File

@@ -0,0 +1,25 @@
--[[
StreetsMod: Emergency Phone
]]
minetest.register_node(":streets:emergencyphone",{
description = streets.S("Emergency Phone"),
tiles = {"streets_sos_top.png","streets_sos_bottom.png","streets_sos_side.png","streets_sos_side.png","streets_sos_side.png","streets_sos_front.png"},
groups = {cracky = 3},
paramtype2 = "facedir",
light_source = 5,
on_rightclick = function(pos,node,clicker)
if clicker:is_player() and clicker:get_hp() < 6 then
clicker:set_hp(6)
minetest.log("action",clicker:get_player_name() .. " healed by emergency phone at pos " .. minetest.pos_to_string(pos) .. "")
end
end
})
minetest.register_alias("streets:emergency_phone","streets:emergencyphone")
minetest.register_craft({
output = "streets:emergencyphone",
recipe = {
{"wool:orange","default:torch","wool:orange"},
{"wool:orange","default:apple","wool:orange"},
{"default:steel_ingot","default:diamondblock","default:steel_ingot"}
}
})