Namespacing pt. 3

This commit is contained in:
2022-11-24 00:51:57 -05:00
parent e5c3ae4ba0
commit 6bae4b3b6f
115 changed files with 175 additions and 1622 deletions

View File

@@ -6,7 +6,7 @@ local MOD_PATH = minetest.get_modpath(MOD_NAME)
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
local playerWhoThrewObject = minetest.get_player_by_name("singleplayer")
minetest.register_craftitem('more_fire:pipebomb', {
minetest.register_craftitem(':more_fire:pipebomb', {
description = 'Pipe Bomb',
inventory_image = 'more_fire_pipebomb.png',
@@ -120,7 +120,7 @@ MORE_FIRE_PIPEBOMB_ENTITY.on_step = function(self, dtime)
end
end
minetest.register_entity('more_fire:pipebomb_entity', MORE_FIRE_PIPEBOMB_ENTITY)
minetest.register_entity(':more_fire:pipebomb_entity', MORE_FIRE_PIPEBOMB_ENTITY)
minetest.override_item('more_fire:pipebomb', {on_use = throw_pipebomb})