Initial commit (version 0.1-test)
78
mods/more_fire/changelog.txt
Normal file
@@ -0,0 +1,78 @@
|
||||
6-4-20:
|
||||
Code updates and cleaning. No new features.
|
||||
|
||||
8-26-15:
|
||||
You can finally cook in the fires, there seems to be a little bug yet in the arrow showing the progress of the cooking, but mechanics all seem to work alright.
|
||||
|
||||
6-3-15:
|
||||
Campfires and embers now have particles, smoke for the embers, and little sparks for the fires. Also lava now spawns little lava particles, the particles do nothing other than add a little visual effect.
|
||||
|
||||
5-30-15:
|
||||
Napiophelios put together some nice smoke bombs and molotov cocktails for this mod, I(Nathan) did a few tweaks, changed some alignment and took care of some depreciated functions to stop debug spamming.
|
||||
|
||||
5-12-15:
|
||||
Lanterns are here, both wall mounted a table top. Craft with a piece of glass above a string above a lump of iron. Yields one lantern, craft the lantern to change between wall mounted and table top.
|
||||
Lanterns burn oil, twelve minutes of light for one bottle of oil. Put six leaves above a glass vessel to create lantern oil.
|
||||
|
||||
4-15-15:
|
||||
All fires now die after time. When you create embers either by lighting kindling or crafting directly you have about three minutes to add wood. After the wood all burns up you have three minutes to add more wood or the embers turn back into kindling and need to be activated with a lighter again.
|
||||
|
||||
4-13-15:
|
||||
Changed some how I add the drops to gravel, no longer do I replace the entire node, just add the new drop info to it. This should keep it from breaking anything that does the same to gravel.
|
||||
|
||||
4-12-15:
|
||||
Some major overhauling, not of code, but layout, no longer is everything stored in the init.lua, it's all broken down into neat files.
|
||||
I added finite torches, change the settings in the config, right now you can only turn them on or off, settings are not retro-active, only torches placed after the update will burn out. When a torch burns out it turns into a torch stub which can be picked up and burnt as fuel.
|
||||
I changed a couple textures down to 16x16, they had been 32x32. Renamed textures to follow proper naming methods, this won't change any placed nodes.
|
||||
|
||||
11-22-14:
|
||||
Changed a couple textures.
|
||||
Currently using nodeboxes for torches, so they are no longer invisible.
|
||||
|
||||
11-19-14:
|
||||
Campfires are working altogether now. Craft kindling and add some fuel to it, and then click on it with the lighter until it starts on fire.
|
||||
|
||||
11-12-14:
|
||||
Removed the ABM for torches, and replaced the two nodes with just one.
|
||||
Tweaked the lighter, it should last longer and light fires faster. Added a sparking sound effect as well.
|
||||
The lighter takes damage every time it is used, regardless of if it starts a fire, or is used on kindling.
|
||||
|
||||
11-11-14:
|
||||
Charcoal blocks are now flammable.
|
||||
|
||||
11-08-14:
|
||||
Added a kindling that will created contained fire.
|
||||
Updated the lighter to turn the two different kindling into the two different fires.
|
||||
|
||||
11-05-14:
|
||||
Corrected the texture for the Charcoal Block.
|
||||
Added recipe to turn charcoal block back into charcoal lumps.
|
||||
|
||||
11-04-14:
|
||||
Added recipe for fire that uses torch and kindling.
|
||||
|
||||
10-27-14:
|
||||
Made the torches a tad bit smaller.
|
||||
Removed all the formspec stuff from the campfires. I couldn't get them to work, so I'll come back to that when I learn more of the coding needed.
|
||||
Removed the .mlt files from the models folder as I discovered they aren't needed and just give errors in the debug.
|
||||
|
||||
10-26-14:
|
||||
Added kindling, craft it from a stick, wood, and two other flammable grouped items. Light it with the lighter, which is made with flint and steel.
|
||||
|
||||
10-25-14:
|
||||
Torches stick to the wall or the floor according as they should. Copied code from the 3d_torch mod.
|
||||
|
||||
10-24-14:
|
||||
Campfires now have animated fire. Turns out that I was exporting the file wrong. :S
|
||||
|
||||
10-22-14:
|
||||
Added 3d models for the torch and campfires. Textures aren't perfect on the campfire yet.
|
||||
|
||||
10-19-14:
|
||||
Added the 'more_fire = {}' line and now the mod runs again, though the fire doesn't do anything when you right click on it.
|
||||
|
||||
10-17-14:
|
||||
Renamed and relocated the git repository to match the forum topic
|
||||
Updated the fire so it can only be placed on the ground.
|
||||
Added flint that drops from gravel. Will be used for fire starters.
|
||||
Campfire now drops charcoal.
|
||||
13
mods/more_fire/init.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
-- A couple variables used throughout.
|
||||
percent = 100
|
||||
-- GUI related stuff
|
||||
default.gui_bg = 'bgcolor[#080808BB;true]'
|
||||
default.gui_bg_img = 'background[5,5;1,1;gui_formbg.png;true]'
|
||||
default.gui_slots = 'listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]'
|
||||
|
||||
more_fire = {}
|
||||
|
||||
dofile(minetest.get_modpath('more_fire')..'/molotov.lua')
|
||||
dofile(minetest.get_modpath('more_fire')..'/pipebomb.lua')
|
||||
dofile(minetest.get_modpath('more_fire')..'/smokebomb.lua')
|
||||
|
||||
398
mods/more_fire/lib/Vec3_1-0.lua
Normal file
@@ -0,0 +1,398 @@
|
||||
local THIS_VERSION = "1.0"
|
||||
|
||||
--- 3D vector class/operations.
|
||||
--
|
||||
-- Note that methods can be called in either an object-oriented way:
|
||||
-- v1 = Vec3(1, 2, 3)
|
||||
-- v2 = v1:add({ x = 2, y = 2, z = 0 })
|
||||
-- or as simple functions:
|
||||
-- Vec3.add({ x = 1, y = 2, z = 3 }, { x = 2, y = 2, z = 0 })
|
||||
--
|
||||
-- All methods that can be called on a Vec3 using ":" may be called on a table
|
||||
-- using the second functional syntax, but the first parameter MUST have the
|
||||
-- expected components "x", "y", and "z". If a vector is used as the second
|
||||
-- paramter, it may instead be a list/array with numeric indices, like
|
||||
-- { 1.0, 2.0, 3.0 } in place of { x = 1.0, y = 2.0, z = 3.0 }.
|
||||
--
|
||||
-- @author prestidigitator (as registered at forum.minetest.net)
|
||||
-- @copyright 2013, licensed under WTFPL
|
||||
--
|
||||
local Vec3 = {}
|
||||
local Vec3_meta = {}
|
||||
local Vec3_inst_meta = {}
|
||||
|
||||
Vec3.VERSION = THIS_VERSION
|
||||
|
||||
setmetatable(Vec3, Vec3_meta)
|
||||
Vec3_inst_meta.__index = Vec3
|
||||
|
||||
--- Constructs a Vec3 from three numbers.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- Vec3.new(x, y, z)
|
||||
-- Vec3(x, y, z)
|
||||
--
|
||||
-- @return a new Vec3 object
|
||||
local function Vec3_new(x, y, z)
|
||||
local obj = { x = x or 0.0, y = y or 0.0, z = z or 0.0 }
|
||||
setmetatable(obj, Vec3_inst_meta)
|
||||
return obj
|
||||
end
|
||||
Vec3.new = Vec3_new
|
||||
|
||||
--- Constructs a new copy of a Vec3.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:new_copy()
|
||||
-- Vec3.new_copy(vec)
|
||||
-- Vec3(vec)
|
||||
--
|
||||
-- @return a new Vec3 object that is a copy of the parameter
|
||||
local function Vec3_new_copy(v)
|
||||
local obj = { x = v.x or v[1] or 0.0,
|
||||
y = v.y or v[2] or 0.0,
|
||||
z = v.z or v[3] or 0.0 }
|
||||
setmetatable(obj, Vec3_inst_meta)
|
||||
return obj
|
||||
end
|
||||
Vec3.new_copy = Vec3_new_copy
|
||||
|
||||
Vec3_meta.__call = function(class, a, b, c)
|
||||
if type(a) == "table" then
|
||||
return Vec3.new_copy(a)
|
||||
else
|
||||
return Vec3.new(a, b, c)
|
||||
end
|
||||
end
|
||||
|
||||
--- Computes the square of the length of a Vec3.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:len_sq()
|
||||
-- Vec3.len_sq(vec)
|
||||
--
|
||||
-- @return a number
|
||||
local function Vec3_len_sq(v)
|
||||
return v.x^2 + v.y^2 + v.z^2
|
||||
end
|
||||
Vec3.len_sq = Vec3_len_sq
|
||||
|
||||
--- Computes the length of a Vec3.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:len()
|
||||
-- Vec3.len(vec)
|
||||
--
|
||||
-- @return a number
|
||||
local function Vec3_len(v)
|
||||
return math.sqrt(v.x^2 + v.y^2 + v.z^2)
|
||||
end
|
||||
Vec3.len = Vec3_len
|
||||
|
||||
--- Computes a unit vector pointing in the same direction as a Vec3.
|
||||
-- Undefined for a zero-vector and may throw an error.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:unit()
|
||||
-- Vec3.unit(vec)
|
||||
--
|
||||
-- @return a new Vec3 with length 1.0
|
||||
local function Vec3_unit(v)
|
||||
local len = math.sqrt(v.x^2 + v.y^2 + v.z^2)
|
||||
return Vec3.new(v.x/len, v.y/len, v.z/len)
|
||||
end
|
||||
Vec3.unit = Vec3_unit
|
||||
|
||||
--- Multiplies a Vec3 by a number.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:mul(m)
|
||||
-- Vec3.mul(vec, m)
|
||||
-- vec*m
|
||||
-- m*vec
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_mul(v, m)
|
||||
local mn = tonumber(m)
|
||||
if not mn then error("Can't multiply vector by non-scalar") end
|
||||
return Vec3.new(v.x*mn, v.y*mn, v.z*mn)
|
||||
end
|
||||
Vec3.mul = Vec3_mul
|
||||
Vec3_inst_meta.__mul = function(a, b)
|
||||
if type(a) == "table" then
|
||||
return Vec3_mul(a, b)
|
||||
else
|
||||
return Vec3_mul(b, a)
|
||||
end
|
||||
end
|
||||
|
||||
--- Divides a Vec3 by a number.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:div(m)
|
||||
-- Vec3.div(vec, m)
|
||||
-- vec/m
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_div(v, m)
|
||||
return Vec3.new(v.x/m, v.y/m, v.z/m)
|
||||
end
|
||||
Vec3.div = Vec3_div
|
||||
Vec3_inst_meta.__div = Vec3_div
|
||||
|
||||
--- Negates a Vec3 (signs of all components are inverted).
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:unm()
|
||||
-- Vec3.unm(vec)
|
||||
-- -vec
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_unm(v)
|
||||
return Vec3.new(-v.x, -v.y, -v.z)
|
||||
end
|
||||
Vec3.unm = Vec3_unm
|
||||
Vec3_inst_meta.__unm = Vec3_unm
|
||||
|
||||
--- Adds two Vec3s or a Vec3 composed of three given components.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:add(vec2)
|
||||
-- vec1:add(x, y, z)
|
||||
-- Vec3.add(vec1, vec2)
|
||||
-- Vec3.add(vec1, x, y, z)
|
||||
-- vec1 + vec2
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_add(v, a, b, c)
|
||||
if type(a) == "table" then
|
||||
return Vec3.new(v.x + (a.x or a[1] or 0.0),
|
||||
v.y + (a.y or a[2] or 0.0),
|
||||
v.z + (a.z or a[3] or 0.0))
|
||||
else
|
||||
return Vec3.new(v.x + a, v.y + b, v.z + c)
|
||||
end
|
||||
end
|
||||
Vec3.add = Vec3_add
|
||||
|
||||
--- Subtracts two Vec3s or a Vec3 composed of three given components.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:sub(vec2)
|
||||
-- vec1:sub(x, y, z)
|
||||
-- Vec3.sub(vec1, vec2)
|
||||
-- Vec3.sub(vec1, x, y, z)
|
||||
-- vec1 - vec2
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_sub(v, a, b, c)
|
||||
if type(a) == "table" then
|
||||
return Vec3.new(v.x - (a.x or a[1] or 0.0),
|
||||
v.y - (a.y or a[2] or 0.0),
|
||||
v.z - (a.z or a[3] or 0.0))
|
||||
else
|
||||
return Vec3.new(v.x - a, v.y - b, v.z - c)
|
||||
end
|
||||
end
|
||||
Vec3.sub = Vec3_sub
|
||||
|
||||
--- Tests two Vec3s or a Vec3 composed of three given components for
|
||||
-- exact component-wise equality.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:eq(vec2)
|
||||
-- vec1:eq(x, y, z)
|
||||
-- Vec3.eq(vec1, vec2)
|
||||
-- Vec3.eq(vec1, x, y, z)
|
||||
-- vec1 == vec2
|
||||
-- vec1 ~= vec2
|
||||
-- Note that because of built-in Lua logic "==" and "~=" work ONLY if
|
||||
-- vec1 and vec2 are actually Vec3s (not tables).
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_eq(v, a, b, c)
|
||||
if type(a) == "table" then
|
||||
return v.x == (a.x or a[1] or 0.0) and
|
||||
v.y == (a.y or a[2] or 0.0) and
|
||||
v.z == (a.z or a[3] or 0.0)
|
||||
else
|
||||
return v.x == a and v.y == b and v.z == c
|
||||
end
|
||||
end
|
||||
Vec3.eq = Vec3_eq
|
||||
|
||||
--- Takes the dot product of a Vec3 and a Vec3s or a Vec3 composed of
|
||||
-- three given components.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:dot(vec2)
|
||||
-- vec1:dot(x, y, z)
|
||||
-- Vec3.dot(vec1, vec2)
|
||||
-- Vec3.dot(vec1, x, y, z)
|
||||
--
|
||||
-- @return a number
|
||||
local function Vec3_dot(v, a, b, c)
|
||||
if type(a) == "table" then
|
||||
return v.x * (a.x or a[1] or 0.0) +
|
||||
v.y * (a.y or a[2] or 0.0) +
|
||||
v.z * (a.z or a[3] or 0.0)
|
||||
else
|
||||
return v.x * a + v.y * b + v.z * c
|
||||
end
|
||||
end
|
||||
Vec3.dot = Vec3_dot
|
||||
|
||||
--- Takes the cross product of a Vec3 and a Vec3s or a Vec3 composed of
|
||||
-- three given components.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:cross(vec2)
|
||||
-- vec1:cross(x, y, z)
|
||||
-- Vec3.cross(vec1, vec2)
|
||||
-- Vec3.cross(vec1, x, y, z)
|
||||
--
|
||||
-- @return a new Vec3 with the result of the operation
|
||||
local function Vec3_cross(v, a, b, c)
|
||||
local ux, uy, uz
|
||||
if type(a) == "table" then
|
||||
ux = a.x or a[1] or 0.0
|
||||
uy = a.y or a[2] or 0.0
|
||||
uz = a.z or a[3] or 0.0
|
||||
else
|
||||
ux = a or 0.0
|
||||
uy = b or 0.0
|
||||
uz = c or 0.0
|
||||
end
|
||||
|
||||
return Vec3.new(v.y*uz - v.z*uy, v.z*ux - v.x*uz, v.x*uy - v.y*ux)
|
||||
end
|
||||
Vec3.cross = Vec3_cross
|
||||
|
||||
--- Rotates this (the first) vector around the second vector by the
|
||||
-- given angle.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:rot_around(axis, angle)
|
||||
-- Vec3.rot_around(vec, axis, angle)
|
||||
--
|
||||
-- @param axis
|
||||
-- The axis about which to rotate.
|
||||
-- @param angle
|
||||
-- The angle by which to rotate this vector, in radians.
|
||||
-- @return
|
||||
-- a new Vec3 with the result of the operation.
|
||||
local function Vec3_rot_around(v, axis, angle)
|
||||
local uaxis = Vec3.new_copy(axis):unit()
|
||||
|
||||
local alen = uaxis:dotvec(v)
|
||||
local avec = uaxis:mul(alen)
|
||||
|
||||
local pvec = Vec3.subvec(v, avec)
|
||||
local rvec = uaxis:crossvec(v)
|
||||
|
||||
local v1 = pvec:mul(math.cos(angle))
|
||||
local v2 = rvec:mul(math.sin(angle))
|
||||
|
||||
return avec:addvec(v1):addvec(v2)
|
||||
end
|
||||
Vec3.rot_around = Vec3_rot_around
|
||||
|
||||
--- Adds two Vec3s. Optimized for pure Vec3/table operations by removing
|
||||
-- type checking and conditionals. If called with Vec3-likes table(s),
|
||||
-- ensure all expected components "x", "y", and "z" exist.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:addvec(vec2)
|
||||
-- Vec3.addvec(vec1, vec2)
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_addvec(v1, v2)
|
||||
return Vec3.new(v1.x + v2.x, v1.y + v2.y, v1.z + v2.z)
|
||||
end
|
||||
Vec3.addvec = Vec3_addvec
|
||||
Vec3_inst_meta.__add = Vec3_addvec
|
||||
|
||||
--- Subtracts two Vec3s. Optimized for pure Vec3/table operations by
|
||||
-- removing type checking and conditionals. If called with Vec3-likes
|
||||
-- table(s), ensure all expected components "x", "y", and "z" exist.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:subvec(vec2)
|
||||
-- Vec3.subvec(vec1, vec2)
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_subvec(v1, v2)
|
||||
return Vec3.new(v1.x - v2.x, v1.y - v2.y, v1.z - v2.z)
|
||||
end
|
||||
Vec3.subvec = Vec3_subvec
|
||||
Vec3_inst_meta.__sub = Vec3_subvec
|
||||
|
||||
--- Tests two Vec3s for exact component-wise equality. Optimized for pure
|
||||
-- Vec3/table operations by removing type checking and conditionals.
|
||||
-- If called with Vec3-likes table(s), ensure all expected components
|
||||
-- "x", "y", and "z" exist.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:eqvec(vec2)
|
||||
-- Vec3.eqvec(vec1, vec2)
|
||||
--
|
||||
-- @return a new Vec3 object with the result of the operation
|
||||
local function Vec3_eqvec(v1, v2)
|
||||
return v1.x == v2.x and v1.y == v2.y and v1.z == v2.z
|
||||
end
|
||||
Vec3.eqvec = Vec3_eqvec
|
||||
Vec3_inst_meta.__eq = Vec3_eqvec
|
||||
|
||||
--- Takes the dot product of two Vec3s. Optimized for pure Vec3/table
|
||||
-- operations by removing type checking and conditionals. If called
|
||||
-- with Vec3-likes table(s), ensure all expected components "x", "y",
|
||||
-- and "z" exist.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:dotvec(vec2)
|
||||
-- Vec3.dotvec(vec1, vec2)
|
||||
--
|
||||
-- @return a number
|
||||
local function Vec3_dotvec(v1, v2)
|
||||
return v1.x * v2.x + v1.y * v2.y + v1.z * v2.z
|
||||
end
|
||||
Vec3.dotvec = Vec3_dotvec
|
||||
|
||||
--- Takes the cross product of two Vec3s. Optimized for pure Vec3/table
|
||||
-- operations by removing type checking and conditionals. If called
|
||||
-- with Vec3-likes table(s), ensure all expected components "x", "y",
|
||||
-- and "z" exist.
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec1:crossvec(vec2)
|
||||
-- Vec3.crossvec(vec1, vec2)
|
||||
--
|
||||
-- @return a new Vec3 with the result of the operation
|
||||
local function Vec3_crossvec(v1, v2)
|
||||
return Vec3.new(v1.y*v2.z - v1.z*v2.y,
|
||||
v1.z*v2.x - v1.x*v2.z,
|
||||
v1.x*v2.y - v1.y*v2.x)
|
||||
end
|
||||
Vec3.crossvec = Vec3_crossvec
|
||||
|
||||
--- Converts Vec3 to a string with format "(x,y,z)".
|
||||
--
|
||||
-- Call with one of:
|
||||
-- vec:tostring()
|
||||
-- Vec3.tostring(vec)
|
||||
-- tostring(vec)
|
||||
--
|
||||
-- @return a string
|
||||
local function Vec3_tostring(v)
|
||||
return "("..
|
||||
(v.x or v[1] or "0")
|
||||
..","..
|
||||
(v.y or v[2] or "0")
|
||||
..","..
|
||||
(v.z or v[3] or "0")
|
||||
..")"
|
||||
end
|
||||
Vec3.tostring = Vec3_tostring
|
||||
Vec3_inst_meta.__tostring = Vec3_tostring
|
||||
|
||||
return Vec3
|
||||
12
mods/more_fire/license.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Code is licensed MIT
|
||||
Smokebomb and Molotov cocktail by Napiophelios.
|
||||
Everything else by Nathan Salapat
|
||||
|
||||
lib/Vec3_1-0.lua by prestidigitator licensed under WTFPL
|
||||
|
||||
Models and Textures licensed CC by SA Nathan Salapat
|
||||
Spark sound licensed CC0 by BroAsis, https://freesound.org/people/BroAsis/sounds/106853/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
6
mods/more_fire/mod.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
name = more_fire
|
||||
title = More Fire
|
||||
depends = explosives, fire, vessels
|
||||
description = This is a Minetest mod that adds more/better fire related stuff.
|
||||
author = Nathan, Napiophelios
|
||||
optional_depends = ethereal
|
||||
BIN
mods/more_fire/models/campfire.blend
Normal file
225
mods/more_fire/models/campfire.obj
Normal file
@@ -0,0 +1,225 @@
|
||||
# Blender v2.79 (sub 0) OBJ File: 'campfire.blend'
|
||||
# www.blender.org
|
||||
o Plane
|
||||
v -0.240246 -0.438696 -0.141059
|
||||
v 0.205043 -0.438696 0.192756
|
||||
v -0.239959 0.135875 -0.141442
|
||||
v 0.205331 0.135875 0.192373
|
||||
v -0.216088 -0.438696 0.214432
|
||||
v 0.181502 -0.438696 -0.162771
|
||||
v -0.216417 0.135875 0.214085
|
||||
v 0.181172 0.135875 -0.163119
|
||||
vt 0.000000 0.875000
|
||||
vt 1.000000 0.875000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.875000
|
||||
vt 1.000000 0.875000
|
||||
vt 1.000000 1.000000
|
||||
vt -0.000000 1.000000
|
||||
vn -0.5998 0.0008 0.8001
|
||||
vn 0.6883 0.0008 0.7255
|
||||
g Plane_Plane_Material.001
|
||||
s off
|
||||
f 1/1/1 2/2/1 4/3/1 3/4/1
|
||||
f 5/5/2 6/6/2 8/7/2 7/8/2
|
||||
o nodebox3
|
||||
v 0.250000 -0.500000 -0.500000
|
||||
v 0.250000 -0.500000 0.500000
|
||||
v 0.250000 -0.437500 0.500000
|
||||
v 0.250000 -0.437500 -0.500000
|
||||
v -0.250000 -0.500000 -0.500000
|
||||
v -0.250000 -0.500000 0.500000
|
||||
v -0.250000 -0.437500 0.500000
|
||||
v -0.250000 -0.437500 -0.500000
|
||||
v 0.243779 -0.499707 -0.497529
|
||||
v 0.493779 -0.499707 -0.497421
|
||||
v 0.493779 -0.249707 -0.497421
|
||||
v 0.243779 -0.249707 -0.497529
|
||||
v 0.243349 -0.499707 0.502471
|
||||
v 0.493349 -0.499707 0.502579
|
||||
v 0.493349 -0.249707 0.502578
|
||||
v 0.243349 -0.249707 0.502471
|
||||
v 0.493779 -0.499707 -0.497421
|
||||
v 0.493779 -0.249707 -0.497421
|
||||
v 0.493349 -0.499707 0.502579
|
||||
v 0.493349 -0.249707 0.502578
|
||||
v -0.500021 -0.499707 -0.497848
|
||||
v -0.250021 -0.499707 -0.497741
|
||||
v -0.250021 -0.249707 -0.497741
|
||||
v -0.500021 -0.249707 -0.497848
|
||||
v -0.500451 -0.499707 0.502152
|
||||
v -0.250451 -0.499707 0.502259
|
||||
v -0.250451 -0.249707 0.502259
|
||||
v -0.500451 -0.249707 0.502152
|
||||
v -0.250021 -0.499707 -0.497741
|
||||
v -0.250021 -0.249707 -0.497741
|
||||
v -0.250451 -0.499707 0.502259
|
||||
v -0.250451 -0.249707 0.502259
|
||||
v 0.500000 -0.312500 -0.493800
|
||||
v 0.500000 -0.312500 -0.243800
|
||||
v 0.500000 -0.062500 -0.243800
|
||||
v 0.500000 -0.062500 -0.493800
|
||||
v -0.500000 -0.312500 -0.493800
|
||||
v -0.500000 -0.312500 -0.243800
|
||||
v -0.500000 -0.062500 -0.243800
|
||||
v -0.500000 -0.062500 -0.493800
|
||||
v 0.500000 -0.312500 -0.243800
|
||||
v 0.500000 -0.062500 -0.243800
|
||||
v -0.500000 -0.312500 -0.243800
|
||||
v -0.500000 -0.062500 -0.243800
|
||||
v 0.500000 -0.312500 0.250000
|
||||
v 0.500000 -0.312500 0.500000
|
||||
v 0.500000 -0.062500 0.500000
|
||||
v 0.500000 -0.062500 0.250000
|
||||
v -0.500000 -0.312500 0.250000
|
||||
v -0.500000 -0.312500 0.500000
|
||||
v -0.500000 -0.062500 0.500000
|
||||
v -0.500000 -0.062500 0.250000
|
||||
v 0.500000 -0.312500 0.500000
|
||||
v 0.500000 -0.062500 0.500000
|
||||
v -0.500000 -0.312500 0.500000
|
||||
v -0.500000 -0.062500 0.500000
|
||||
vt 0.999982 0.000018
|
||||
vt 0.999982 0.031267
|
||||
vt 0.000018 0.031267
|
||||
vt 0.000018 0.000018
|
||||
vt 0.999982 0.000018
|
||||
vt 0.999982 0.031267
|
||||
vt 0.000018 0.031267
|
||||
vt 0.000018 0.000018
|
||||
vt 1.000000 0.109375
|
||||
vt 0.000000 0.109375
|
||||
vt 0.000071 0.000071
|
||||
vt 0.999929 0.000071
|
||||
vt 1.000000 0.125000
|
||||
vt 0.000000 0.125000
|
||||
vt 0.000071 0.000071
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.875000
|
||||
vt 0.250000 0.875000
|
||||
vt 0.250000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 1.000000 0.937500
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt 0.000000 0.937500
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vn 0.0000 0.0000 1.0000
|
||||
vn 0.0000 -1.0000 -0.0000
|
||||
vn -0.0004 0.0000 1.0000
|
||||
vn 1.0000 -0.0000 0.0004
|
||||
vn -1.0000 0.0000 0.0000
|
||||
g nodebox3_nodebox3_none
|
||||
s off
|
||||
f 9/9/3 12/10/3 16/11/3 13/12/3
|
||||
f 10/13/3 11/14/3 15/15/3 14/16/3
|
||||
f 9/9/4 10/17/4 14/18/4 13/19/4
|
||||
f 12/20/4 11/21/4 15/22/4 16/23/4
|
||||
f 17/24/5 18/25/5 19/26/5 20/27/5
|
||||
f 21/28/5 22/29/5 23/30/5 24/31/5
|
||||
f 17/32/6 20/33/6 24/34/6 21/28/6
|
||||
f 17/32/4 18/35/4 22/36/4 21/28/4
|
||||
f 20/37/4 19/38/4 23/39/4 24/40/4
|
||||
f 25/41/6 26/42/6 28/43/6 27/44/6
|
||||
f 29/45/5 30/46/5 31/47/5 32/48/5
|
||||
f 33/49/5 34/50/5 35/51/5 36/52/5
|
||||
f 29/53/6 32/54/6 36/55/6 33/49/6
|
||||
f 29/53/4 30/56/4 34/57/4 33/49/4
|
||||
f 32/58/4 31/59/4 35/60/4 36/61/4
|
||||
f 37/62/6 38/63/6 40/64/6 39/65/6
|
||||
f 41/66/7 42/67/7 43/68/7 44/69/7
|
||||
f 45/70/7 46/71/7 47/72/7 48/73/7
|
||||
f 41/74/3 44/75/3 48/76/3 45/70/3
|
||||
f 41/74/4 42/77/4 46/78/4 45/70/4
|
||||
f 44/79/4 43/80/4 47/81/4 48/82/4
|
||||
f 49/83/3 50/84/3 52/85/3 51/86/3
|
||||
f 53/87/7 54/88/7 55/89/7 56/90/7
|
||||
f 57/91/7 58/92/7 59/93/7 60/94/7
|
||||
f 53/95/3 56/96/3 60/97/3 57/91/3
|
||||
f 53/95/4 54/98/4 58/99/4 57/91/4
|
||||
f 56/100/4 55/101/4 59/102/4 60/103/4
|
||||
f 61/104/3 62/105/3 64/106/3 63/107/3
|
||||
g nodebox3_nodebox3_none_NONE
|
||||
f 9/108/7 10/109/7 11/110/7 12/111/7
|
||||
f 13/12/7 14/16/7 15/112/7 16/113/7
|
||||
BIN
mods/more_fire/models/lamp.blend
Normal file
133
mods/more_fire/models/more_fire_campfire.obj
Normal file
@@ -0,0 +1,133 @@
|
||||
# Blender v2.72 (sub 2) OBJ File: 'campfire.blend'
|
||||
# www.blender.org
|
||||
v 0.353153 -0.337287 0.000000
|
||||
v -0.366847 -0.337287 0.000000
|
||||
v -0.366847 0.382713 -0.000000
|
||||
v -0.186847 -0.337287 0.311769
|
||||
v 0.173153 -0.337287 -0.311769
|
||||
v -0.186846 0.382713 0.311769
|
||||
v 0.173154 0.382713 -0.311769
|
||||
v -0.186846 -0.337287 -0.311769
|
||||
v 0.173154 -0.337287 0.311769
|
||||
v -0.186846 0.382713 -0.311769
|
||||
v 0.173153 0.382713 0.311769
|
||||
v 0.353153 0.382713 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
g Flames.001_Cube.004_Fire
|
||||
s off
|
||||
f 4/1 5/2 7/3 6/4
|
||||
f 8/1 9/2 11/3 10/4
|
||||
f 1/1 2/2 3/3 12/4
|
||||
v 0.151217 -0.347540 0.439253
|
||||
v 0.151217 -0.207593 0.411057
|
||||
v 0.008458 -0.207593 0.411057
|
||||
v 0.008458 -0.347540 0.439253
|
||||
v 0.151217 -0.526542 -0.449208
|
||||
v 0.151217 -0.386595 -0.477403
|
||||
v 0.008458 -0.386595 -0.477403
|
||||
v 0.008458 -0.526542 -0.449208
|
||||
v -0.419949 -0.512482 0.485423
|
||||
v -0.419949 -0.369723 0.485423
|
||||
v -0.444739 -0.369723 0.344833
|
||||
v -0.444739 -0.512482 0.344833
|
||||
v 0.472595 -0.512482 0.328044
|
||||
v 0.472595 -0.369723 0.328044
|
||||
v 0.447805 -0.369723 0.187453
|
||||
v 0.447805 -0.512482 0.187453
|
||||
v 0.033402 -0.347540 0.433815
|
||||
v 0.025205 -0.207593 0.406838
|
||||
v -0.111388 -0.207593 0.448342
|
||||
v -0.103191 -0.347540 0.475320
|
||||
v -0.224900 -0.526542 -0.416268
|
||||
v -0.233097 -0.386595 -0.443246
|
||||
v -0.369690 -0.386595 -0.401741
|
||||
v -0.361493 -0.526542 -0.374763
|
||||
v 0.254175 -0.345963 0.293196
|
||||
v 0.254175 -0.277187 0.265611
|
||||
v 0.181422 -0.282425 0.252550
|
||||
v 0.181422 -0.351201 0.280135
|
||||
v 0.343511 -0.517901 -0.135488
|
||||
v 0.343511 -0.449125 -0.163073
|
||||
v 0.270757 -0.454364 -0.176133
|
||||
v 0.270757 -0.523140 -0.148548
|
||||
v -0.418506 -0.513914 0.100698
|
||||
v -0.418472 -0.439812 0.100704
|
||||
v -0.392481 -0.439819 0.031309
|
||||
v -0.392514 -0.513921 0.031304
|
||||
v 0.022046 -0.514125 0.265705
|
||||
v 0.022080 -0.440022 0.265710
|
||||
v 0.048071 -0.440029 0.196316
|
||||
v 0.048038 -0.514131 0.196310
|
||||
v -0.249910 -0.307656 -0.062181
|
||||
v -0.249882 -0.234638 -0.074807
|
||||
v -0.278776 -0.246254 -0.142048
|
||||
v -0.278804 -0.319272 -0.129422
|
||||
v 0.183295 -0.339072 -0.242901
|
||||
v 0.183323 -0.266053 -0.255527
|
||||
v 0.154429 -0.277669 -0.322768
|
||||
v 0.154401 -0.350687 -0.310143
|
||||
vt 0.418293 0.016195
|
||||
vt 0.418293 0.216092
|
||||
vt 0.218396 0.216092
|
||||
vt 0.218396 0.016195
|
||||
vt 0.002609 0.212891
|
||||
vt 0.002609 0.012994
|
||||
vt 0.989254 0.012994
|
||||
vt 0.989254 0.212891
|
||||
vt 0.010050 0.219323
|
||||
vt 0.010050 0.019426
|
||||
vt 0.996695 0.019426
|
||||
vt 0.996695 0.219323
|
||||
vt 0.618448 0.016195
|
||||
vt 0.618448 0.216092
|
||||
vt 0.418551 0.216092
|
||||
vt 0.418551 0.016195
|
||||
vt 0.010050 0.228781
|
||||
vt 0.010050 0.028884
|
||||
vt 0.996695 0.028884
|
||||
vt 0.996695 0.228781
|
||||
vt 0.005089 0.207467
|
||||
vt 0.005089 0.007570
|
||||
vt 0.991734 0.007570
|
||||
vt 0.991734 0.207467
|
||||
g Campfire_Cube.003_Logs-Stone
|
||||
s off
|
||||
f 20/5 19/6 18/7 17/8
|
||||
f 14/9 13/10 17/11 18/12
|
||||
f 15/13 14/14 18/15 19/16
|
||||
f 13/17 14/18 15/19 16/20
|
||||
f 13/21 16/22 20/23 17/24
|
||||
f 16/25 15/26 19/27 20/28
|
||||
f 28/5 27/6 26/7 25/8
|
||||
f 22/9 21/10 25/11 26/12
|
||||
f 23/13 22/14 26/15 27/16
|
||||
f 21/17 22/18 23/19 24/20
|
||||
f 21/21 24/22 28/23 25/24
|
||||
f 24/25 23/26 27/27 28/28
|
||||
f 36/5 35/6 34/7 33/8
|
||||
f 30/9 29/10 33/11 34/12
|
||||
f 31/13 30/14 34/15 35/16
|
||||
f 29/17 30/18 31/19 32/20
|
||||
f 29/21 32/22 36/23 33/24
|
||||
f 32/25 31/26 35/27 36/28
|
||||
f 44/5 43/6 42/7 41/8
|
||||
f 38/9 37/10 41/11 42/12
|
||||
f 39/13 38/14 42/15 43/16
|
||||
f 37/17 38/18 39/19 40/20
|
||||
f 37/21 40/22 44/23 41/24
|
||||
f 40/25 39/26 43/27 44/28
|
||||
f 52/5 51/6 50/7 49/8
|
||||
f 46/9 45/10 49/11 50/12
|
||||
f 47/13 46/14 50/15 51/16
|
||||
f 45/17 46/18 47/19 48/20
|
||||
f 45/21 48/22 52/23 49/24
|
||||
f 48/25 47/26 51/27 52/28
|
||||
f 60/5 59/6 58/7 57/8
|
||||
f 54/9 53/10 57/11 58/12
|
||||
f 55/13 54/14 58/15 59/16
|
||||
f 53/17 54/18 55/19 56/20
|
||||
f 53/21 56/22 60/23 57/24
|
||||
f 56/25 55/26 59/27 60/28
|
||||
470
mods/more_fire/models/more_fire_contained_campfire.obj
Normal file
@@ -0,0 +1,470 @@
|
||||
# Blender v2.72 (sub 2) OBJ File: 'campfire.blend'
|
||||
# www.blender.org
|
||||
v 0.353153 -0.337287 0.000000
|
||||
v -0.366847 -0.337287 0.000000
|
||||
v -0.366847 0.382713 -0.000000
|
||||
v -0.186847 -0.337287 0.311769
|
||||
v 0.173153 -0.337287 -0.311769
|
||||
v -0.186846 0.382713 0.311769
|
||||
v 0.173154 0.382713 -0.311769
|
||||
v -0.186846 -0.337287 -0.311769
|
||||
v 0.173154 -0.337287 0.311769
|
||||
v -0.186846 0.382713 -0.311769
|
||||
v 0.173153 0.382713 0.311769
|
||||
v 0.353153 0.382713 0.000000
|
||||
vt 0.000000 0.000000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
g Flames_Cube.001_Fire
|
||||
s off
|
||||
f 4/1 5/2 7/3 6/4
|
||||
f 8/1 9/2 11/3 10/4
|
||||
f 1/1 2/2 3/3 12/4
|
||||
v 0.109850 -0.357143 0.305314
|
||||
v 0.109850 -0.248233 0.283371
|
||||
v -0.001248 -0.248233 0.283371
|
||||
v -0.001248 -0.357143 0.305314
|
||||
v 0.109850 -0.496446 -0.364085
|
||||
v 0.109850 -0.387536 -0.386027
|
||||
v -0.001248 -0.387536 -0.386027
|
||||
v -0.001248 -0.496446 -0.364085
|
||||
v -0.334643 -0.485504 0.341245
|
||||
v -0.334643 -0.374406 0.341245
|
||||
v -0.353935 -0.374406 0.231834
|
||||
v -0.353935 -0.485504 0.231834
|
||||
v 0.359953 -0.485504 0.218768
|
||||
v 0.359953 -0.374406 0.218768
|
||||
v 0.340661 -0.374406 0.109358
|
||||
v 0.340661 -0.485504 0.109358
|
||||
v 0.018164 -0.357143 0.301082
|
||||
v 0.011785 -0.248233 0.280088
|
||||
v -0.094515 -0.248233 0.312387
|
||||
v -0.088135 -0.357143 0.333382
|
||||
v -0.182852 -0.496446 -0.360470
|
||||
v -0.189231 -0.387536 -0.381465
|
||||
v -0.295531 -0.387536 -0.349165
|
||||
v -0.289151 -0.496446 -0.328171
|
||||
v 0.189974 -0.355916 0.191649
|
||||
v 0.189974 -0.302392 0.170182
|
||||
v 0.133356 -0.306469 0.160018
|
||||
v 0.133356 -0.359992 0.181485
|
||||
v 0.259497 -0.489722 -0.141961
|
||||
v 0.259497 -0.436199 -0.163429
|
||||
v 0.202879 -0.440275 -0.173592
|
||||
v 0.202879 -0.493798 -0.152125
|
||||
v -0.333520 -0.486619 0.041843
|
||||
v -0.333494 -0.428951 0.041848
|
||||
v -0.313267 -0.428956 -0.012156
|
||||
v -0.313293 -0.486624 -0.012161
|
||||
v 0.009327 -0.486782 0.170255
|
||||
v 0.009353 -0.429115 0.170259
|
||||
v 0.029580 -0.429120 0.116255
|
||||
v 0.029554 -0.486787 0.116251
|
||||
v -0.202316 -0.326105 -0.084912
|
||||
v -0.202294 -0.269280 -0.094738
|
||||
v -0.224779 -0.278320 -0.147066
|
||||
v -0.224801 -0.335144 -0.137240
|
||||
v 0.134814 -0.350553 -0.225553
|
||||
v 0.134835 -0.293728 -0.235379
|
||||
v 0.112350 -0.302768 -0.287707
|
||||
v 0.112328 -0.359592 -0.277881
|
||||
v 0.153727 -0.495469 0.450886
|
||||
v 0.130774 -0.495469 0.303732
|
||||
v 0.277929 -0.495469 0.280779
|
||||
v 0.300881 -0.495469 0.427933
|
||||
v 0.153727 -0.389072 0.450886
|
||||
v 0.130774 -0.389072 0.303732
|
||||
v 0.277929 -0.389072 0.280779
|
||||
v 0.300881 -0.389072 0.427933
|
||||
v -0.416606 -0.495469 -0.045338
|
||||
v -0.416606 -0.495469 -0.194272
|
||||
v -0.267672 -0.495469 -0.194272
|
||||
v -0.267672 -0.495469 -0.045338
|
||||
v -0.416606 -0.395652 -0.045338
|
||||
v -0.416606 -0.395652 -0.194272
|
||||
v -0.267672 -0.395652 -0.194272
|
||||
v -0.267672 -0.395652 -0.045338
|
||||
v -0.378793 -0.495469 0.237564
|
||||
v -0.480454 -0.495469 0.128724
|
||||
v -0.371615 -0.495469 0.027062
|
||||
v -0.269953 -0.495469 0.135902
|
||||
v -0.378793 -0.365755 0.237564
|
||||
v -0.480454 -0.365755 0.128724
|
||||
v -0.371615 -0.365755 0.027062
|
||||
v -0.269953 -0.365755 0.135902
|
||||
v -0.134183 -0.495469 -0.320969
|
||||
v -0.194093 -0.495469 -0.417106
|
||||
v -0.090445 -0.495469 -0.465129
|
||||
v -0.030535 -0.495469 -0.368992
|
||||
v -0.134183 -0.346536 -0.320969
|
||||
v -0.194093 -0.346536 -0.417106
|
||||
v -0.090445 -0.346536 -0.465129
|
||||
v -0.030535 -0.346536 -0.368992
|
||||
v 0.175251 -0.495469 -0.228071
|
||||
v 0.133971 -0.495469 -0.371169
|
||||
v 0.277070 -0.495469 -0.412449
|
||||
v 0.318350 -0.495469 -0.269350
|
||||
v 0.175251 -0.380117 -0.228071
|
||||
v 0.133971 -0.380117 -0.371169
|
||||
v 0.277070 -0.380117 -0.412449
|
||||
v 0.318350 -0.380117 -0.269350
|
||||
v 0.251956 -0.495469 0.058110
|
||||
v 0.281764 -0.495469 -0.087810
|
||||
v 0.427684 -0.495469 -0.058002
|
||||
v 0.397876 -0.495469 0.087918
|
||||
v 0.251956 -0.422654 0.058110
|
||||
v 0.281764 -0.422654 -0.087810
|
||||
v 0.427684 -0.422654 -0.058002
|
||||
v 0.397876 -0.422654 0.087918
|
||||
v -0.232717 -0.495469 0.492217
|
||||
v -0.255669 -0.495469 0.345062
|
||||
v -0.108515 -0.495469 0.322110
|
||||
v -0.085563 -0.495469 0.469264
|
||||
v -0.232717 -0.382356 0.492217
|
||||
v -0.255669 -0.382356 0.345062
|
||||
v -0.108515 -0.382356 0.322110
|
||||
v -0.085563 -0.382356 0.469264
|
||||
v -0.033985 -0.495469 0.350689
|
||||
v 0.113554 -0.495469 0.371024
|
||||
v 0.101929 -0.495469 0.455372
|
||||
v -0.045610 -0.495469 0.435037
|
||||
v -0.033985 -0.346536 0.350689
|
||||
v 0.113554 -0.346536 0.371024
|
||||
v 0.101929 -0.346536 0.455372
|
||||
v -0.045610 -0.346536 0.435037
|
||||
v 0.339073 -0.495469 0.300291
|
||||
v 0.404643 -0.495469 0.166568
|
||||
v 0.481092 -0.495469 0.204054
|
||||
v 0.415522 -0.495469 0.337777
|
||||
v 0.339073 -0.409221 0.300291
|
||||
v 0.404643 -0.409221 0.166568
|
||||
v 0.481092 -0.409221 0.204054
|
||||
v 0.415522 -0.409221 0.337777
|
||||
v -0.359990 -0.495469 0.467998
|
||||
v -0.461166 -0.495469 0.358706
|
||||
v -0.398683 -0.495469 0.300864
|
||||
v -0.297508 -0.495469 0.410156
|
||||
v -0.359990 -0.409788 0.467998
|
||||
v -0.461166 -0.409788 0.358706
|
||||
v -0.398683 -0.409788 0.300864
|
||||
v -0.297508 -0.409788 0.410156
|
||||
v -0.413457 -0.495469 -0.313766
|
||||
v -0.368533 -0.495469 -0.455763
|
||||
v -0.287353 -0.495469 -0.430081
|
||||
v -0.332277 -0.495469 -0.288084
|
||||
v -0.413457 -0.409221 -0.313766
|
||||
v -0.368533 -0.409221 -0.455763
|
||||
v -0.287353 -0.409221 -0.430081
|
||||
v -0.332277 -0.409221 -0.288084
|
||||
v 0.037431 -0.495469 -0.491183
|
||||
v 0.185487 -0.495469 -0.475036
|
||||
v 0.176256 -0.495469 -0.390393
|
||||
v 0.028200 -0.495469 -0.406539
|
||||
v 0.037431 -0.398994 -0.491183
|
||||
v 0.185487 -0.398994 -0.475036
|
||||
v 0.176256 -0.398994 -0.390393
|
||||
v 0.028200 -0.398994 -0.406539
|
||||
vt 0.343750 0.203125
|
||||
vt 0.156250 0.203125
|
||||
vt 0.156250 0.406250
|
||||
vt 0.343750 0.406250
|
||||
vt 0.015625 0.453125
|
||||
vt 1.000000 0.453125
|
||||
vt 1.000000 0.250000
|
||||
vt 0.015625 0.250000
|
||||
vt 0.015625 0.328125
|
||||
vt 1.000000 0.328125
|
||||
vt 1.000000 0.140625
|
||||
vt 0.015625 0.140625
|
||||
vt 0.781250 0.250000
|
||||
vt 0.578125 0.250000
|
||||
vt 0.578125 0.437500
|
||||
vt 0.781250 0.437500
|
||||
vt 0.015625 0.468750
|
||||
vt 1.000000 0.468750
|
||||
vt 1.000000 0.265625
|
||||
vt 0.015625 0.265625
|
||||
vt 0.015625 0.343750
|
||||
vt 1.000000 0.343750
|
||||
vt 0.921875 0.218750
|
||||
vt 0.718750 0.218750
|
||||
vt 0.718750 0.421875
|
||||
vt 0.921875 0.421875
|
||||
vt 0.000000 0.343750
|
||||
vt 0.984375 0.343750
|
||||
vt 0.984375 0.140625
|
||||
vt 0.000000 0.140625
|
||||
vt 0.000000 0.312500
|
||||
vt 1.000000 0.312500
|
||||
vt 1.000000 0.109375
|
||||
vt 0.000000 0.109375
|
||||
vt 0.828125 0.203125
|
||||
vt 0.625000 0.203125
|
||||
vt 0.625000 0.406250
|
||||
vt 0.828125 0.406250
|
||||
vt 0.015625 0.390625
|
||||
vt 1.000000 0.390625
|
||||
vt 1.000000 0.187500
|
||||
vt 0.015625 0.187500
|
||||
vt 0.000000 0.296875
|
||||
vt 1.000000 0.296875
|
||||
vt 1.000000 0.093750
|
||||
vt 0.000000 0.093750
|
||||
vt 0.343750 0.218750
|
||||
vt 0.140625 0.218750
|
||||
vt 0.140625 0.406250
|
||||
vt 0.002609 0.212891
|
||||
vt 0.989254 0.212891
|
||||
vt 0.989254 0.012994
|
||||
vt 0.002609 0.012994
|
||||
vt 0.010050 0.219323
|
||||
vt 0.996695 0.219323
|
||||
vt 0.996695 0.019426
|
||||
vt 0.010050 0.019426
|
||||
vt 0.593750 0.234375
|
||||
vt 0.406250 0.234375
|
||||
vt 0.406250 0.437500
|
||||
vt 0.593750 0.437500
|
||||
vt 0.010050 0.228781
|
||||
vt 0.996695 0.228781
|
||||
vt 0.996695 0.028884
|
||||
vt 0.010050 0.028884
|
||||
vt 0.005089 0.207467
|
||||
vt 0.991734 0.207467
|
||||
vt 0.991734 0.007570
|
||||
vt 0.005089 0.007570
|
||||
vt 0.625000 0.187500
|
||||
vt 0.421875 0.187500
|
||||
vt 0.421875 0.390625
|
||||
vt 0.625000 0.390625
|
||||
vt 0.796875 0.093750
|
||||
vt 0.593750 0.093750
|
||||
vt 0.593750 0.296875
|
||||
vt 0.796875 0.296875
|
||||
vt 0.640625 0.031250
|
||||
vt 0.437500 0.031250
|
||||
vt 0.437500 0.234375
|
||||
vt 0.640625 0.234375
|
||||
vt 0.984375 0.031250
|
||||
vt 0.781250 0.031250
|
||||
vt 0.781250 0.234375
|
||||
vt 0.984375 0.234375
|
||||
vt 0.687500 0.125000
|
||||
vt 0.484375 0.125000
|
||||
vt 0.484375 0.328125
|
||||
vt 0.687500 0.328125
|
||||
vt 0.328125 0.046875
|
||||
vt 0.125000 0.046875
|
||||
vt 0.125000 0.250000
|
||||
vt 0.328125 0.250000
|
||||
vt 0.140625 0.781250
|
||||
vt 0.250000 0.781250
|
||||
vt 0.250000 0.625000
|
||||
vt 0.140625 0.625000
|
||||
vt 0.453125 0.843750
|
||||
vt 0.531250 0.843750
|
||||
vt 0.531250 0.718750
|
||||
vt 0.453125 0.718750
|
||||
vt 0.421875 0.718750
|
||||
vt 0.265625 0.718750
|
||||
vt 0.265625 0.937500
|
||||
vt 0.421875 0.937500
|
||||
vt 0.500000 0.609375
|
||||
vt 0.500000 1.000000
|
||||
vt 0.734375 1.000000
|
||||
vt 0.734375 0.609375
|
||||
vt 1.000000 0.953125
|
||||
vt 1.000000 0.875000
|
||||
vt 0.859375 0.875000
|
||||
vt 0.859375 0.953125
|
||||
vt 0.750000 0.531250
|
||||
vt 0.562500 0.531250
|
||||
vt 0.562500 0.765625
|
||||
vt 0.750000 0.765625
|
||||
vt 0.082031 0.968750
|
||||
vt 0.136719 0.968750
|
||||
vt 0.136719 0.882812
|
||||
vt 0.082031 0.882812
|
||||
vt 0.781250 0.921875
|
||||
vt 0.781250 0.796875
|
||||
vt 0.609375 0.796875
|
||||
vt 0.609375 0.921875
|
||||
vt 0.359375 0.718750
|
||||
vt 0.484375 0.718750
|
||||
vt 0.484375 0.500000
|
||||
vt 0.359375 0.500000
|
||||
vt 0.058594 0.882812
|
||||
vt 0.058594 0.968750
|
||||
vt 0.117188 0.968750
|
||||
vt 0.117188 0.882812
|
||||
vt 0.023438 0.925781
|
||||
vt 0.078125 0.925781
|
||||
vt 0.078125 0.839844
|
||||
vt 0.023438 0.839844
|
||||
vt 0.578125 0.828125
|
||||
vt 0.468750 0.828125
|
||||
vt 0.468750 1.000000
|
||||
vt 0.578125 1.000000
|
||||
vt 0.078125 0.750000
|
||||
vt 0.234375 0.750000
|
||||
vt 0.234375 0.546875
|
||||
vt 0.078125 0.546875
|
||||
vt 0.750000 0.906250
|
||||
vt 0.953125 0.906250
|
||||
vt 0.953125 0.546875
|
||||
vt 0.750000 0.546875
|
||||
vt 0.406250 0.500000
|
||||
vt 0.250000 0.500000
|
||||
vt 0.250000 0.703125
|
||||
vt 0.406250 0.703125
|
||||
vt 0.531250 0.890625
|
||||
vt 0.718750 0.890625
|
||||
vt 0.718750 0.609375
|
||||
vt 0.531250 0.609375
|
||||
vt 0.125000 1.000000
|
||||
vt 0.250000 1.000000
|
||||
vt 0.250000 0.828125
|
||||
vt 0.125000 0.828125
|
||||
vt 0.515625 0.671875
|
||||
vt 0.328125 0.671875
|
||||
vt 0.328125 0.953125
|
||||
vt 0.515625 0.953125
|
||||
vt 0.296875 0.984375
|
||||
vt 0.484375 0.984375
|
||||
vt 0.484375 0.703125
|
||||
vt 0.296875 0.703125
|
||||
vt 0.500000 0.703125
|
||||
vt 0.609375 0.703125
|
||||
vt 0.609375 0.500000
|
||||
vt 0.500000 0.500000
|
||||
vt 0.082031 0.796875
|
||||
vt 0.023438 0.796875
|
||||
vt 0.023438 0.882812
|
||||
vt 0.703125 1.000000
|
||||
vt 0.984375 1.000000
|
||||
vt 0.984375 0.625000
|
||||
vt 0.703125 0.625000
|
||||
vt 0.718750 0.687500
|
||||
vt 0.843750 0.687500
|
||||
vt 0.843750 0.546875
|
||||
vt 0.718750 0.546875
|
||||
vt 0.042969 0.859375
|
||||
vt 0.101562 0.859375
|
||||
vt 0.101562 0.773438
|
||||
vt 0.042969 0.773438
|
||||
vt 0.031250 0.984375
|
||||
vt 0.312500 0.984375
|
||||
vt 0.312500 0.625000
|
||||
vt 0.031250 0.625000
|
||||
vt 0.023438 0.968750
|
||||
g Contained_Fire_Cube.000_Logs-Stone
|
||||
s off
|
||||
f 20/5 17/6 18/7 19/8
|
||||
f 14/9 18/10 17/11 13/12
|
||||
f 15/13 19/14 18/15 14/16
|
||||
f 13/17 16/18 15/19 14/20
|
||||
f 13/21 17/22 20/23 16/24
|
||||
f 16/25 20/26 19/15 15/16
|
||||
f 28/27 25/28 26/29 27/30
|
||||
f 22/31 26/32 25/33 21/34
|
||||
f 23/35 27/36 26/37 22/38
|
||||
f 21/39 24/40 23/41 22/42
|
||||
f 21/43 25/44 28/45 24/46
|
||||
f 24/47 28/48 27/49 23/50
|
||||
f 36/51 33/52 34/53 35/8
|
||||
f 30/54 34/55 33/56 29/57
|
||||
f 31/58 35/59 34/60 30/61
|
||||
f 29/62 32/63 31/64 30/65
|
||||
f 29/66 33/67 36/68 32/69
|
||||
f 32/70 36/71 35/72 31/73
|
||||
f 44/74 41/75 42/76 43/77
|
||||
f 38/54 42/55 41/56 37/57
|
||||
f 39/58 43/59 42/60 38/61
|
||||
f 37/78 40/79 39/80 38/81
|
||||
f 37/66 41/67 44/68 40/69
|
||||
f 40/70 44/71 43/72 39/73
|
||||
f 52/82 49/83 50/84 51/85
|
||||
f 46/54 50/55 49/56 45/57
|
||||
f 47/58 51/59 50/60 46/61
|
||||
f 45/86 48/87 47/88 46/89
|
||||
f 45/66 49/67 52/68 48/69
|
||||
f 48/70 52/71 51/72 47/73
|
||||
f 60/90 57/91 58/92 59/93
|
||||
f 54/54 58/55 57/56 53/57
|
||||
f 55/58 59/59 58/60 54/61
|
||||
f 53/94 56/95 55/96 54/97
|
||||
f 53/66 57/67 60/68 56/69
|
||||
f 56/70 60/71 59/72 55/73
|
||||
f 65/98 61/99 62/100 66/101
|
||||
f 66/102 62/103 63/104 67/105
|
||||
f 67/106 63/107 64/108 68/109
|
||||
f 68/110 64/111 61/112 65/113
|
||||
f 61/114 64/115 63/116 62/117
|
||||
f 68/118 65/119 66/120 67/121
|
||||
f 73/122 69/123 70/124 74/125
|
||||
f 74/126 70/127 71/128 75/129
|
||||
f 75/130 71/131 72/132 76/133
|
||||
f 76/134 72/135 69/136 73/137
|
||||
f 69/138 72/139 71/140 70/141
|
||||
f 76/142 73/143 74/144 75/145
|
||||
f 81/122 77/123 78/124 82/125
|
||||
f 82/146 78/147 79/148 83/149
|
||||
f 83/150 79/151 80/152 84/153
|
||||
f 84/134 80/135 77/136 81/137
|
||||
f 77/138 80/139 79/140 78/141
|
||||
f 84/154 81/155 82/156 83/157
|
||||
f 89/122 85/123 86/124 90/125
|
||||
f 90/158 86/159 87/160 91/161
|
||||
f 91/162 87/163 88/164 92/165
|
||||
f 92/134 88/135 85/136 89/137
|
||||
f 85/138 88/139 87/140 86/141
|
||||
f 92/166 89/167 90/168 91/169
|
||||
f 97/122 93/123 94/124 98/125
|
||||
f 98/170 94/171 95/172 99/173
|
||||
f 99/174 95/175 96/176 100/177
|
||||
f 100/134 96/135 93/136 97/137
|
||||
f 93/138 96/139 95/140 94/141
|
||||
f 100/178 97/179 98/180 99/125
|
||||
f 105/122 101/123 102/124 106/125
|
||||
f 106/181 102/182 103/183 107/184
|
||||
f 107/185 103/186 104/187 108/188
|
||||
f 108/134 104/135 101/136 105/137
|
||||
f 101/138 104/139 103/140 102/141
|
||||
f 108/178 105/179 106/180 107/125
|
||||
f 113/122 109/123 110/124 114/125
|
||||
f 114/189 110/190 111/191 115/192
|
||||
f 115/193 111/194 112/195 116/196
|
||||
f 116/134 112/135 109/136 113/137
|
||||
f 109/138 112/139 111/140 110/141
|
||||
f 116/178 113/179 114/180 115/125
|
||||
f 121/122 117/123 118/124 122/125
|
||||
f 122/189 118/190 119/191 123/192
|
||||
f 123/197 119/122 120/125 124/180
|
||||
f 124/134 120/135 117/136 121/137
|
||||
f 117/138 120/139 119/140 118/141
|
||||
f 124/178 121/179 122/180 123/125
|
||||
f 129/122 125/123 126/124 130/125
|
||||
f 130/189 126/190 127/191 131/192
|
||||
f 131/197 127/122 128/125 132/180
|
||||
f 132/134 128/135 125/136 129/137
|
||||
f 125/138 128/139 127/140 126/141
|
||||
f 132/178 129/179 130/180 131/125
|
||||
f 137/122 133/123 134/124 138/125
|
||||
f 138/189 134/190 135/191 139/192
|
||||
f 139/197 135/122 136/125 140/180
|
||||
f 140/134 136/135 133/136 137/137
|
||||
f 133/138 136/139 135/140 134/141
|
||||
f 140/178 137/179 138/180 139/125
|
||||
f 145/122 141/123 142/124 146/125
|
||||
f 146/189 142/190 143/191 147/192
|
||||
f 147/197 143/122 144/125 148/180
|
||||
f 148/134 144/135 141/136 145/137
|
||||
f 141/138 144/139 143/140 142/141
|
||||
f 148/178 145/179 146/180 147/125
|
||||
f 153/122 149/123 150/124 154/125
|
||||
f 154/189 150/190 151/191 155/192
|
||||
f 155/197 151/122 152/125 156/180
|
||||
f 156/134 152/135 149/136 153/137
|
||||
f 149/138 152/139 151/140 150/141
|
||||
f 156/178 153/179 154/180 155/125
|
||||
112
mods/more_fire/models/more_fire_kindling.obj
Normal file
@@ -0,0 +1,112 @@
|
||||
# Blender v2.72 (sub 2) OBJ File: 'campfire.blend'
|
||||
# www.blender.org
|
||||
v 0.151217 -0.347540 0.439253
|
||||
v 0.151217 -0.207593 0.411057
|
||||
v 0.008458 -0.207593 0.411057
|
||||
v 0.008458 -0.347540 0.439253
|
||||
v 0.151217 -0.526542 -0.449208
|
||||
v 0.151217 -0.386595 -0.477403
|
||||
v 0.008458 -0.386595 -0.477403
|
||||
v 0.008458 -0.526542 -0.449208
|
||||
v -0.419949 -0.512482 0.485423
|
||||
v -0.419949 -0.369723 0.485423
|
||||
v -0.444739 -0.369723 0.344833
|
||||
v -0.444739 -0.512482 0.344833
|
||||
v 0.472595 -0.512482 0.328044
|
||||
v 0.472595 -0.369723 0.328044
|
||||
v 0.447805 -0.369723 0.187453
|
||||
v 0.447805 -0.512482 0.187453
|
||||
v 0.033402 -0.347540 0.433815
|
||||
v 0.025205 -0.207593 0.406838
|
||||
v -0.111388 -0.207593 0.448342
|
||||
v -0.103191 -0.347540 0.475320
|
||||
v -0.224900 -0.526542 -0.416268
|
||||
v -0.233097 -0.386595 -0.443246
|
||||
v -0.369690 -0.386595 -0.401741
|
||||
v -0.361493 -0.526542 -0.374763
|
||||
v 0.254175 -0.345963 0.293196
|
||||
v 0.254175 -0.277187 0.265611
|
||||
v 0.181422 -0.282425 0.252550
|
||||
v 0.181422 -0.351201 0.280135
|
||||
v 0.343511 -0.517901 -0.135488
|
||||
v 0.343511 -0.449125 -0.163073
|
||||
v 0.270757 -0.454364 -0.176133
|
||||
v 0.270757 -0.523140 -0.148548
|
||||
v -0.418506 -0.513914 0.100698
|
||||
v -0.418472 -0.439812 0.100704
|
||||
v -0.392481 -0.439819 0.031309
|
||||
v -0.392514 -0.513921 0.031304
|
||||
v 0.022046 -0.514125 0.265705
|
||||
v 0.022080 -0.440022 0.265710
|
||||
v 0.048071 -0.440029 0.196316
|
||||
v 0.048038 -0.514131 0.196310
|
||||
v -0.249910 -0.307656 -0.062181
|
||||
v -0.249882 -0.234638 -0.074807
|
||||
v -0.278776 -0.246254 -0.142048
|
||||
v -0.278804 -0.319272 -0.129422
|
||||
v 0.183295 -0.339072 -0.242901
|
||||
v 0.183323 -0.266053 -0.255527
|
||||
v 0.154429 -0.277669 -0.322768
|
||||
v 0.154401 -0.350687 -0.310143
|
||||
vt 0.418293 0.016195
|
||||
vt 0.418293 0.216092
|
||||
vt 0.218396 0.216092
|
||||
vt 0.218396 0.016195
|
||||
vt 0.002609 0.212891
|
||||
vt 0.002609 0.012994
|
||||
vt 0.989254 0.012994
|
||||
vt 0.989254 0.212891
|
||||
vt 0.010050 0.219323
|
||||
vt 0.010050 0.019426
|
||||
vt 0.996695 0.019426
|
||||
vt 0.996695 0.219323
|
||||
vt 0.618448 0.016195
|
||||
vt 0.618448 0.216092
|
||||
vt 0.418551 0.216092
|
||||
vt 0.418551 0.016195
|
||||
vt 0.010050 0.228781
|
||||
vt 0.010050 0.028884
|
||||
vt 0.996695 0.028884
|
||||
vt 0.996695 0.228781
|
||||
vt 0.005089 0.207467
|
||||
vt 0.005089 0.007570
|
||||
vt 0.991734 0.007570
|
||||
vt 0.991734 0.207467
|
||||
g Campfire_Cube.003_Logs-Stone
|
||||
s off
|
||||
f 8/1 7/2 6/3 5/4
|
||||
f 2/5 1/6 5/7 6/8
|
||||
f 3/9 2/10 6/11 7/12
|
||||
f 1/13 2/14 3/15 4/16
|
||||
f 1/17 4/18 8/19 5/20
|
||||
f 4/21 3/22 7/23 8/24
|
||||
f 16/1 15/2 14/3 13/4
|
||||
f 10/5 9/6 13/7 14/8
|
||||
f 11/9 10/10 14/11 15/12
|
||||
f 9/13 10/14 11/15 12/16
|
||||
f 9/17 12/18 16/19 13/20
|
||||
f 12/21 11/22 15/23 16/24
|
||||
f 24/1 23/2 22/3 21/4
|
||||
f 18/5 17/6 21/7 22/8
|
||||
f 19/9 18/10 22/11 23/12
|
||||
f 17/13 18/14 19/15 20/16
|
||||
f 17/17 20/18 24/19 21/20
|
||||
f 20/21 19/22 23/23 24/24
|
||||
f 32/1 31/2 30/3 29/4
|
||||
f 26/5 25/6 29/7 30/8
|
||||
f 27/9 26/10 30/11 31/12
|
||||
f 25/13 26/14 27/15 28/16
|
||||
f 25/17 28/18 32/19 29/20
|
||||
f 28/21 27/22 31/23 32/24
|
||||
f 40/1 39/2 38/3 37/4
|
||||
f 34/5 33/6 37/7 38/8
|
||||
f 35/9 34/10 38/11 39/12
|
||||
f 33/13 34/14 35/15 36/16
|
||||
f 33/17 36/18 40/19 37/20
|
||||
f 36/21 35/22 39/23 40/24
|
||||
f 48/1 47/2 46/3 45/4
|
||||
f 42/5 41/6 45/7 46/8
|
||||
f 43/9 42/10 46/11 47/12
|
||||
f 41/13 42/14 43/15 44/16
|
||||
f 41/17 44/18 48/19 45/20
|
||||
f 44/21 43/22 47/23 48/24
|
||||
449
mods/more_fire/models/more_fire_kindling_contained.obj
Normal file
@@ -0,0 +1,449 @@
|
||||
# Blender v2.72 (sub 2) OBJ File: 'campfire.blend'
|
||||
# www.blender.org
|
||||
v 0.109850 -0.357143 0.305314
|
||||
v 0.109850 -0.248233 0.283371
|
||||
v -0.001248 -0.248233 0.283371
|
||||
v -0.001248 -0.357143 0.305314
|
||||
v 0.109850 -0.496446 -0.364085
|
||||
v 0.109850 -0.387536 -0.386027
|
||||
v -0.001248 -0.387536 -0.386027
|
||||
v -0.001248 -0.496446 -0.364085
|
||||
v -0.334643 -0.485504 0.341245
|
||||
v -0.334643 -0.374406 0.341245
|
||||
v -0.353935 -0.374406 0.231834
|
||||
v -0.353935 -0.485504 0.231834
|
||||
v 0.359953 -0.485504 0.218768
|
||||
v 0.359953 -0.374406 0.218768
|
||||
v 0.340661 -0.374406 0.109358
|
||||
v 0.340661 -0.485504 0.109358
|
||||
v 0.018164 -0.357143 0.301082
|
||||
v 0.011785 -0.248233 0.280088
|
||||
v -0.094515 -0.248233 0.312387
|
||||
v -0.088135 -0.357143 0.333382
|
||||
v -0.182852 -0.496446 -0.360470
|
||||
v -0.189231 -0.387536 -0.381465
|
||||
v -0.295531 -0.387536 -0.349165
|
||||
v -0.289151 -0.496446 -0.328171
|
||||
v 0.189974 -0.355916 0.191649
|
||||
v 0.189974 -0.302392 0.170182
|
||||
v 0.133356 -0.306469 0.160018
|
||||
v 0.133356 -0.359992 0.181485
|
||||
v 0.259497 -0.489722 -0.141961
|
||||
v 0.259497 -0.436199 -0.163429
|
||||
v 0.202879 -0.440275 -0.173592
|
||||
v 0.202879 -0.493798 -0.152125
|
||||
v -0.333520 -0.486619 0.041843
|
||||
v -0.333494 -0.428951 0.041848
|
||||
v -0.313267 -0.428956 -0.012156
|
||||
v -0.313293 -0.486624 -0.012161
|
||||
v 0.009327 -0.486782 0.170255
|
||||
v 0.009353 -0.429115 0.170259
|
||||
v 0.029580 -0.429120 0.116255
|
||||
v 0.029554 -0.486787 0.116251
|
||||
v -0.202316 -0.326105 -0.084912
|
||||
v -0.202294 -0.269280 -0.094738
|
||||
v -0.224779 -0.278320 -0.147066
|
||||
v -0.224801 -0.335144 -0.137240
|
||||
v 0.134814 -0.350553 -0.225553
|
||||
v 0.134835 -0.293728 -0.235379
|
||||
v 0.112350 -0.302768 -0.287707
|
||||
v 0.112328 -0.359592 -0.277881
|
||||
v 0.153727 -0.495469 0.450886
|
||||
v 0.130774 -0.495469 0.303732
|
||||
v 0.277929 -0.495469 0.280779
|
||||
v 0.300881 -0.495469 0.427933
|
||||
v 0.153727 -0.389072 0.450886
|
||||
v 0.130774 -0.389072 0.303732
|
||||
v 0.277929 -0.389072 0.280779
|
||||
v 0.300881 -0.389072 0.427933
|
||||
v -0.416606 -0.495469 -0.045338
|
||||
v -0.416606 -0.495469 -0.194272
|
||||
v -0.267672 -0.495469 -0.194272
|
||||
v -0.267672 -0.495469 -0.045338
|
||||
v -0.416606 -0.395652 -0.045338
|
||||
v -0.416606 -0.395652 -0.194272
|
||||
v -0.267672 -0.395652 -0.194272
|
||||
v -0.267672 -0.395652 -0.045338
|
||||
v -0.378793 -0.495469 0.237564
|
||||
v -0.480454 -0.495469 0.128724
|
||||
v -0.371615 -0.495469 0.027062
|
||||
v -0.269953 -0.495469 0.135902
|
||||
v -0.378793 -0.365755 0.237564
|
||||
v -0.480454 -0.365755 0.128724
|
||||
v -0.371615 -0.365755 0.027062
|
||||
v -0.269953 -0.365755 0.135902
|
||||
v -0.134183 -0.495469 -0.320969
|
||||
v -0.194093 -0.495469 -0.417106
|
||||
v -0.090445 -0.495469 -0.465129
|
||||
v -0.030535 -0.495469 -0.368992
|
||||
v -0.134183 -0.346536 -0.320969
|
||||
v -0.194093 -0.346536 -0.417106
|
||||
v -0.090445 -0.346536 -0.465129
|
||||
v -0.030535 -0.346536 -0.368992
|
||||
v 0.175251 -0.495469 -0.228071
|
||||
v 0.133971 -0.495469 -0.371169
|
||||
v 0.277070 -0.495469 -0.412449
|
||||
v 0.318350 -0.495469 -0.269350
|
||||
v 0.175251 -0.380117 -0.228071
|
||||
v 0.133971 -0.380117 -0.371169
|
||||
v 0.277070 -0.380117 -0.412449
|
||||
v 0.318350 -0.380117 -0.269350
|
||||
v 0.251956 -0.495469 0.058110
|
||||
v 0.281764 -0.495469 -0.087810
|
||||
v 0.427684 -0.495469 -0.058002
|
||||
v 0.397876 -0.495469 0.087918
|
||||
v 0.251956 -0.422654 0.058110
|
||||
v 0.281764 -0.422654 -0.087810
|
||||
v 0.427684 -0.422654 -0.058002
|
||||
v 0.397876 -0.422654 0.087918
|
||||
v -0.232717 -0.495469 0.492217
|
||||
v -0.255669 -0.495469 0.345062
|
||||
v -0.108515 -0.495469 0.322110
|
||||
v -0.085563 -0.495469 0.469264
|
||||
v -0.232717 -0.382356 0.492217
|
||||
v -0.255669 -0.382356 0.345062
|
||||
v -0.108515 -0.382356 0.322110
|
||||
v -0.085563 -0.382356 0.469264
|
||||
v -0.033985 -0.495469 0.350689
|
||||
v 0.113554 -0.495469 0.371024
|
||||
v 0.101929 -0.495469 0.455372
|
||||
v -0.045610 -0.495469 0.435037
|
||||
v -0.033985 -0.346536 0.350689
|
||||
v 0.113554 -0.346536 0.371024
|
||||
v 0.101929 -0.346536 0.455372
|
||||
v -0.045610 -0.346536 0.435037
|
||||
v 0.339073 -0.495469 0.300291
|
||||
v 0.404643 -0.495469 0.166568
|
||||
v 0.481092 -0.495469 0.204054
|
||||
v 0.415522 -0.495469 0.337777
|
||||
v 0.339073 -0.409221 0.300291
|
||||
v 0.404643 -0.409221 0.166568
|
||||
v 0.481092 -0.409221 0.204054
|
||||
v 0.415522 -0.409221 0.337777
|
||||
v -0.359990 -0.495469 0.467998
|
||||
v -0.461166 -0.495469 0.358706
|
||||
v -0.398683 -0.495469 0.300864
|
||||
v -0.297508 -0.495469 0.410156
|
||||
v -0.359990 -0.409788 0.467998
|
||||
v -0.461166 -0.409788 0.358706
|
||||
v -0.398683 -0.409788 0.300864
|
||||
v -0.297508 -0.409788 0.410156
|
||||
v -0.413457 -0.495469 -0.313766
|
||||
v -0.368533 -0.495469 -0.455763
|
||||
v -0.287353 -0.495469 -0.430081
|
||||
v -0.332277 -0.495469 -0.288084
|
||||
v -0.413457 -0.409221 -0.313766
|
||||
v -0.368533 -0.409221 -0.455763
|
||||
v -0.287353 -0.409221 -0.430081
|
||||
v -0.332277 -0.409221 -0.288084
|
||||
v 0.037431 -0.495469 -0.491183
|
||||
v 0.185487 -0.495469 -0.475036
|
||||
v 0.176256 -0.495469 -0.390393
|
||||
v 0.028200 -0.495469 -0.406539
|
||||
v 0.037431 -0.398994 -0.491183
|
||||
v 0.185487 -0.398994 -0.475036
|
||||
v 0.176256 -0.398994 -0.390393
|
||||
v 0.028200 -0.398994 -0.406539
|
||||
vt 0.343750 0.203125
|
||||
vt 0.156250 0.203125
|
||||
vt 0.156250 0.406250
|
||||
vt 0.343750 0.406250
|
||||
vt 0.015625 0.453125
|
||||
vt 1.000000 0.453125
|
||||
vt 1.000000 0.250000
|
||||
vt 0.015625 0.250000
|
||||
vt 0.015625 0.328125
|
||||
vt 1.000000 0.328125
|
||||
vt 1.000000 0.140625
|
||||
vt 0.015625 0.140625
|
||||
vt 0.781250 0.250000
|
||||
vt 0.578125 0.250000
|
||||
vt 0.578125 0.437500
|
||||
vt 0.781250 0.437500
|
||||
vt 0.015625 0.468750
|
||||
vt 1.000000 0.468750
|
||||
vt 1.000000 0.265625
|
||||
vt 0.015625 0.265625
|
||||
vt 0.015625 0.343750
|
||||
vt 1.000000 0.343750
|
||||
vt 0.921875 0.218750
|
||||
vt 0.718750 0.218750
|
||||
vt 0.718750 0.421875
|
||||
vt 0.921875 0.421875
|
||||
vt 0.000000 0.343750
|
||||
vt 0.984375 0.343750
|
||||
vt 0.984375 0.140625
|
||||
vt 0.000000 0.140625
|
||||
vt 0.000000 0.312500
|
||||
vt 1.000000 0.312500
|
||||
vt 1.000000 0.109375
|
||||
vt 0.000000 0.109375
|
||||
vt 0.828125 0.203125
|
||||
vt 0.625000 0.203125
|
||||
vt 0.625000 0.406250
|
||||
vt 0.828125 0.406250
|
||||
vt 0.015625 0.390625
|
||||
vt 1.000000 0.390625
|
||||
vt 1.000000 0.187500
|
||||
vt 0.015625 0.187500
|
||||
vt 0.000000 0.296875
|
||||
vt 1.000000 0.296875
|
||||
vt 1.000000 0.093750
|
||||
vt 0.000000 0.093750
|
||||
vt 0.343750 0.218750
|
||||
vt 0.140625 0.218750
|
||||
vt 0.140625 0.406250
|
||||
vt 0.002609 0.212891
|
||||
vt 0.989254 0.212891
|
||||
vt 0.989254 0.012994
|
||||
vt 0.002609 0.012994
|
||||
vt 0.010050 0.219323
|
||||
vt 0.996695 0.219323
|
||||
vt 0.996695 0.019426
|
||||
vt 0.010050 0.019426
|
||||
vt 0.593750 0.234375
|
||||
vt 0.406250 0.234375
|
||||
vt 0.406250 0.437500
|
||||
vt 0.593750 0.437500
|
||||
vt 0.010050 0.228781
|
||||
vt 0.996695 0.228781
|
||||
vt 0.996695 0.028884
|
||||
vt 0.010050 0.028884
|
||||
vt 0.005089 0.207467
|
||||
vt 0.991734 0.207467
|
||||
vt 0.991734 0.007570
|
||||
vt 0.005089 0.007570
|
||||
vt 0.625000 0.187500
|
||||
vt 0.421875 0.187500
|
||||
vt 0.421875 0.390625
|
||||
vt 0.625000 0.390625
|
||||
vt 0.796875 0.093750
|
||||
vt 0.593750 0.093750
|
||||
vt 0.593750 0.296875
|
||||
vt 0.796875 0.296875
|
||||
vt 0.640625 0.031250
|
||||
vt 0.437500 0.031250
|
||||
vt 0.437500 0.234375
|
||||
vt 0.640625 0.234375
|
||||
vt 0.984375 0.031250
|
||||
vt 0.781250 0.031250
|
||||
vt 0.781250 0.234375
|
||||
vt 0.984375 0.234375
|
||||
vt 0.687500 0.125000
|
||||
vt 0.484375 0.125000
|
||||
vt 0.484375 0.328125
|
||||
vt 0.687500 0.328125
|
||||
vt 0.328125 0.046875
|
||||
vt 0.125000 0.046875
|
||||
vt 0.125000 0.250000
|
||||
vt 0.328125 0.250000
|
||||
vt 0.140625 0.781250
|
||||
vt 0.250000 0.781250
|
||||
vt 0.250000 0.625000
|
||||
vt 0.140625 0.625000
|
||||
vt 0.453125 0.843750
|
||||
vt 0.531250 0.843750
|
||||
vt 0.531250 0.718750
|
||||
vt 0.453125 0.718750
|
||||
vt 0.421875 0.718750
|
||||
vt 0.265625 0.718750
|
||||
vt 0.265625 0.937500
|
||||
vt 0.421875 0.937500
|
||||
vt 0.500000 0.609375
|
||||
vt 0.500000 1.000000
|
||||
vt 0.734375 1.000000
|
||||
vt 0.734375 0.609375
|
||||
vt 1.000000 0.953125
|
||||
vt 1.000000 0.875000
|
||||
vt 0.859375 0.875000
|
||||
vt 0.859375 0.953125
|
||||
vt 0.750000 0.531250
|
||||
vt 0.562500 0.531250
|
||||
vt 0.562500 0.765625
|
||||
vt 0.750000 0.765625
|
||||
vt 0.082031 0.968750
|
||||
vt 0.136719 0.968750
|
||||
vt 0.136719 0.882812
|
||||
vt 0.082031 0.882812
|
||||
vt 0.781250 0.921875
|
||||
vt 0.781250 0.796875
|
||||
vt 0.609375 0.796875
|
||||
vt 0.609375 0.921875
|
||||
vt 0.359375 0.718750
|
||||
vt 0.484375 0.718750
|
||||
vt 0.484375 0.500000
|
||||
vt 0.359375 0.500000
|
||||
vt 0.058594 0.882812
|
||||
vt 0.058594 0.968750
|
||||
vt 0.117188 0.968750
|
||||
vt 0.117188 0.882812
|
||||
vt 0.023438 0.925781
|
||||
vt 0.078125 0.925781
|
||||
vt 0.078125 0.839844
|
||||
vt 0.023438 0.839844
|
||||
vt 0.578125 0.828125
|
||||
vt 0.468750 0.828125
|
||||
vt 0.468750 1.000000
|
||||
vt 0.578125 1.000000
|
||||
vt 0.078125 0.750000
|
||||
vt 0.234375 0.750000
|
||||
vt 0.234375 0.546875
|
||||
vt 0.078125 0.546875
|
||||
vt 0.750000 0.906250
|
||||
vt 0.953125 0.906250
|
||||
vt 0.953125 0.546875
|
||||
vt 0.750000 0.546875
|
||||
vt 0.406250 0.500000
|
||||
vt 0.250000 0.500000
|
||||
vt 0.250000 0.703125
|
||||
vt 0.406250 0.703125
|
||||
vt 0.531250 0.890625
|
||||
vt 0.718750 0.890625
|
||||
vt 0.718750 0.609375
|
||||
vt 0.531250 0.609375
|
||||
vt 0.125000 1.000000
|
||||
vt 0.250000 1.000000
|
||||
vt 0.250000 0.828125
|
||||
vt 0.125000 0.828125
|
||||
vt 0.515625 0.671875
|
||||
vt 0.328125 0.671875
|
||||
vt 0.328125 0.953125
|
||||
vt 0.515625 0.953125
|
||||
vt 0.296875 0.984375
|
||||
vt 0.484375 0.984375
|
||||
vt 0.484375 0.703125
|
||||
vt 0.296875 0.703125
|
||||
vt 0.500000 0.703125
|
||||
vt 0.609375 0.703125
|
||||
vt 0.609375 0.500000
|
||||
vt 0.500000 0.500000
|
||||
vt 0.082031 0.796875
|
||||
vt 0.023438 0.796875
|
||||
vt 0.023438 0.882812
|
||||
vt 0.703125 1.000000
|
||||
vt 0.984375 1.000000
|
||||
vt 0.984375 0.625000
|
||||
vt 0.703125 0.625000
|
||||
vt 0.718750 0.687500
|
||||
vt 0.843750 0.687500
|
||||
vt 0.843750 0.546875
|
||||
vt 0.718750 0.546875
|
||||
vt 0.042969 0.859375
|
||||
vt 0.101562 0.859375
|
||||
vt 0.101562 0.773438
|
||||
vt 0.042969 0.773438
|
||||
vt 0.031250 0.984375
|
||||
vt 0.312500 0.984375
|
||||
vt 0.312500 0.625000
|
||||
vt 0.031250 0.625000
|
||||
vt 0.023438 0.968750
|
||||
g Contained_Fire_Cube.000_Logs-Stone
|
||||
s off
|
||||
f 8/1 5/2 6/3 7/4
|
||||
f 2/5 6/6 5/7 1/8
|
||||
f 3/9 7/10 6/11 2/12
|
||||
f 1/13 4/14 3/15 2/16
|
||||
f 1/17 5/18 8/19 4/20
|
||||
f 4/21 8/22 7/11 3/12
|
||||
f 16/23 13/24 14/25 15/26
|
||||
f 10/27 14/28 13/29 9/30
|
||||
f 11/31 15/32 14/33 10/34
|
||||
f 9/35 12/36 11/37 10/38
|
||||
f 9/39 13/40 16/41 12/42
|
||||
f 12/43 16/44 15/45 11/46
|
||||
f 24/47 21/48 22/49 23/4
|
||||
f 18/50 22/51 21/52 17/53
|
||||
f 19/54 23/55 22/56 18/57
|
||||
f 17/58 20/59 19/60 18/61
|
||||
f 17/62 21/63 24/64 20/65
|
||||
f 20/66 24/67 23/68 19/69
|
||||
f 32/70 29/71 30/72 31/73
|
||||
f 26/50 30/51 29/52 25/53
|
||||
f 27/54 31/55 30/56 26/57
|
||||
f 25/74 28/75 27/76 26/77
|
||||
f 25/62 29/63 32/64 28/65
|
||||
f 28/66 32/67 31/68 27/69
|
||||
f 40/78 37/79 38/80 39/81
|
||||
f 34/50 38/51 37/52 33/53
|
||||
f 35/54 39/55 38/56 34/57
|
||||
f 33/82 36/83 35/84 34/85
|
||||
f 33/62 37/63 40/64 36/65
|
||||
f 36/66 40/67 39/68 35/69
|
||||
f 48/86 45/87 46/88 47/89
|
||||
f 42/50 46/51 45/52 41/53
|
||||
f 43/54 47/55 46/56 42/57
|
||||
f 41/90 44/91 43/92 42/93
|
||||
f 41/62 45/63 48/64 44/65
|
||||
f 44/66 48/67 47/68 43/69
|
||||
f 53/94 49/95 50/96 54/97
|
||||
f 54/98 50/99 51/100 55/101
|
||||
f 55/102 51/103 52/104 56/105
|
||||
f 56/106 52/107 49/108 53/109
|
||||
f 49/110 52/111 51/112 50/113
|
||||
f 56/114 53/115 54/116 55/117
|
||||
f 61/118 57/119 58/120 62/121
|
||||
f 62/122 58/123 59/124 63/125
|
||||
f 63/126 59/127 60/128 64/129
|
||||
f 64/130 60/131 57/132 61/133
|
||||
f 57/134 60/135 59/136 58/137
|
||||
f 64/138 61/139 62/140 63/141
|
||||
f 69/118 65/119 66/120 70/121
|
||||
f 70/142 66/143 67/144 71/145
|
||||
f 71/146 67/147 68/148 72/149
|
||||
f 72/130 68/131 65/132 69/133
|
||||
f 65/134 68/135 67/136 66/137
|
||||
f 72/150 69/151 70/152 71/153
|
||||
f 77/118 73/119 74/120 78/121
|
||||
f 78/154 74/155 75/156 79/157
|
||||
f 79/158 75/159 76/160 80/161
|
||||
f 80/130 76/131 73/132 77/133
|
||||
f 73/134 76/135 75/136 74/137
|
||||
f 80/162 77/163 78/164 79/165
|
||||
f 85/118 81/119 82/120 86/121
|
||||
f 86/166 82/167 83/168 87/169
|
||||
f 87/170 83/171 84/172 88/173
|
||||
f 88/130 84/131 81/132 85/133
|
||||
f 81/134 84/135 83/136 82/137
|
||||
f 88/174 85/175 86/176 87/121
|
||||
f 93/118 89/119 90/120 94/121
|
||||
f 94/177 90/178 91/179 95/180
|
||||
f 95/181 91/182 92/183 96/184
|
||||
f 96/130 92/131 89/132 93/133
|
||||
f 89/134 92/135 91/136 90/137
|
||||
f 96/174 93/175 94/176 95/121
|
||||
f 101/118 97/119 98/120 102/121
|
||||
f 102/185 98/186 99/187 103/188
|
||||
f 103/189 99/190 100/191 104/192
|
||||
f 104/130 100/131 97/132 101/133
|
||||
f 97/134 100/135 99/136 98/137
|
||||
f 104/174 101/175 102/176 103/121
|
||||
f 109/118 105/119 106/120 110/121
|
||||
f 110/185 106/186 107/187 111/188
|
||||
f 111/193 107/118 108/121 112/176
|
||||
f 112/130 108/131 105/132 109/133
|
||||
f 105/134 108/135 107/136 106/137
|
||||
f 112/174 109/175 110/176 111/121
|
||||
f 117/118 113/119 114/120 118/121
|
||||
f 118/185 114/186 115/187 119/188
|
||||
f 119/193 115/118 116/121 120/176
|
||||
f 120/130 116/131 113/132 117/133
|
||||
f 113/134 116/135 115/136 114/137
|
||||
f 120/174 117/175 118/176 119/121
|
||||
f 125/118 121/119 122/120 126/121
|
||||
f 126/185 122/186 123/187 127/188
|
||||
f 127/193 123/118 124/121 128/176
|
||||
f 128/130 124/131 121/132 125/133
|
||||
f 121/134 124/135 123/136 122/137
|
||||
f 128/174 125/175 126/176 127/121
|
||||
f 133/118 129/119 130/120 134/121
|
||||
f 134/185 130/186 131/187 135/188
|
||||
f 135/193 131/118 132/121 136/176
|
||||
f 136/130 132/131 129/132 133/133
|
||||
f 129/134 132/135 131/136 130/137
|
||||
f 136/174 133/175 134/176 135/121
|
||||
f 141/118 137/119 138/120 142/121
|
||||
f 142/185 138/186 139/187 143/188
|
||||
f 143/193 139/118 140/121 144/176
|
||||
f 144/130 140/131 137/132 141/133
|
||||
f 137/134 140/135 139/136 138/137
|
||||
f 144/174 141/175 142/176 143/121
|
||||
160
mods/more_fire/models/more_fire_lamp_table.obj
Normal file
@@ -0,0 +1,160 @@
|
||||
# Blender v2.74 (sub 5) OBJ File: 'lamp.blend'
|
||||
# www.blender.org
|
||||
o TabletopLamp_Cube.002
|
||||
v 0.140000 -0.399025 -0.139882
|
||||
v 0.200000 0.200975 -0.199882
|
||||
v 0.140000 -0.399025 0.140118
|
||||
v 0.200000 0.200975 0.200118
|
||||
v -0.140000 -0.399025 -0.139882
|
||||
v -0.200000 0.200975 -0.199882
|
||||
v -0.140000 -0.399025 0.140118
|
||||
v -0.200000 0.200975 0.200118
|
||||
v 0.196000 -0.399025 -0.195882
|
||||
v 0.196000 -0.399025 0.196118
|
||||
v -0.196000 -0.399025 -0.195882
|
||||
v -0.196000 -0.399025 0.196118
|
||||
v 0.196000 -0.498858 -0.195882
|
||||
v 0.196000 -0.498858 0.196118
|
||||
v -0.196000 -0.498857 -0.195882
|
||||
v -0.196000 -0.498857 0.196118
|
||||
v 0.063585 -0.434677 0.063703
|
||||
v 0.063585 -0.434677 -0.063467
|
||||
v -0.063585 -0.434677 0.063703
|
||||
v -0.063585 -0.434677 -0.063467
|
||||
v 0.000000 -0.362197 -0.068012
|
||||
v 0.000000 -0.362197 0.067749
|
||||
v 0.000000 -0.296697 -0.029923
|
||||
v 0.000000 -0.296697 0.029661
|
||||
v 0.067880 -0.362197 -0.068012
|
||||
v 0.067880 -0.362197 0.067749
|
||||
v 0.029792 -0.296697 -0.029923
|
||||
v 0.029792 -0.296697 0.029661
|
||||
v -0.067880 -0.362197 -0.068011
|
||||
v -0.067880 -0.362197 0.067749
|
||||
v -0.029792 -0.296697 -0.029923
|
||||
v -0.029792 -0.296697 0.029661
|
||||
v 0.000000 -0.095525 -0.000131
|
||||
v 0.000000 -0.414885 -0.000131
|
||||
v 0.029792 -0.296697 -0.000131
|
||||
v 0.067880 -0.362197 -0.000131
|
||||
v -0.067880 -0.362197 -0.000131
|
||||
v -0.029792 -0.296697 -0.000131
|
||||
vt 0.000184 0.100646
|
||||
vt 0.245094 0.025548
|
||||
vt 0.321566 0.406010
|
||||
vt 0.150129 0.458578
|
||||
vt 0.500000 0.000184
|
||||
vt 0.500000 0.388255
|
||||
vt 0.754906 0.025548
|
||||
vt 0.678434 0.406010
|
||||
vt 0.999816 0.100646
|
||||
vt 0.849871 0.458578
|
||||
vt 0.126413 0.785921
|
||||
vt 0.324583 0.785910
|
||||
vt 0.364220 0.825542
|
||||
vt 0.086781 0.825558
|
||||
vt 0.364204 0.548103
|
||||
vt 0.086765 0.548119
|
||||
vt 0.086761 0.477462
|
||||
vt 0.364200 0.477446
|
||||
vt 0.324572 0.587740
|
||||
vt 0.126401 0.587751
|
||||
vt 0.538369 0.694413
|
||||
vt 0.828479 0.694413
|
||||
vt 0.828479 0.984522
|
||||
vt 0.538370 0.984522
|
||||
vt 0.434861 0.548099
|
||||
vt 0.434876 0.825538
|
||||
vt 0.016124 0.825562
|
||||
vt 0.016108 0.548123
|
||||
vt 0.364224 0.896199
|
||||
vt 0.086785 0.896215
|
||||
vt 0.128242 0.782956
|
||||
vt 0.128359 0.588263
|
||||
vt 0.184733 0.643133
|
||||
vt 0.183276 0.726280
|
||||
vt 0.266422 0.644797
|
||||
vt 0.267527 0.727647
|
||||
vt 0.321989 0.589472
|
||||
vt 0.323247 0.783309
|
||||
vt 0.710670 0.483156
|
||||
vt 0.731303 0.458009
|
||||
vt 0.938416 0.548420
|
||||
vt 0.722804 0.505829
|
||||
vt 0.668840 0.608672
|
||||
vt 0.623856 0.671057
|
||||
vt 0.584008 0.546251
|
||||
vt 0.665070 0.585205
|
||||
vt 0.730212 0.636289
|
||||
vt 0.709888 0.610891
|
||||
vt 0.722299 0.588369
|
||||
vt 0.669598 0.484873
|
||||
vt 0.665541 0.508292
|
||||
vt 0.625380 0.421942
|
||||
vt 0.710294 0.566741
|
||||
vt 0.676652 0.564725
|
||||
vt 0.670759 0.546782
|
||||
vt 0.721862 0.547095
|
||||
vt 0.710535 0.527308
|
||||
vt 0.676871 0.528913
|
||||
vn 0.995000 -0.099500 -0.000000
|
||||
vn 0.000000 -0.099500 0.995000
|
||||
vn -0.995000 -0.099500 0.000000
|
||||
vn -0.000000 -0.099500 -0.995000
|
||||
vn 0.000000 1.000000 0.000000
|
||||
vn -0.000000 0.000000 -1.000000
|
||||
vn -0.000000 -1.000000 0.000000
|
||||
vn -1.000000 0.000000 0.000000
|
||||
vn 1.000000 -0.000000 -0.000000
|
||||
vn 0.000000 0.000000 1.000000
|
||||
vn 0.000000 0.906200 0.422800
|
||||
vn 0.422800 0.906200 -0.000000
|
||||
vn -0.422800 0.906200 0.000000
|
||||
vn -0.000000 0.906200 -0.422800
|
||||
vn 0.692100 0.205000 -0.692100
|
||||
vn -0.340200 -0.876600 -0.340200
|
||||
vn -0.692100 0.205000 -0.692100
|
||||
vn 0.864500 0.502700 -0.000000
|
||||
vn 0.340200 -0.876600 -0.340200
|
||||
vn -0.864500 0.502700 0.000000
|
||||
vn -0.000000 0.502700 -0.864500
|
||||
vn 0.000000 0.502700 0.864500
|
||||
vn 0.692100 0.205000 0.692100
|
||||
vn -0.340200 -0.876600 0.340200
|
||||
vn -0.692100 0.205000 0.692100
|
||||
vn 0.340200 -0.876600 0.340200
|
||||
s off
|
||||
f 2/1/1 4/2/1 3/3/1 1/4/1
|
||||
f 4/2/2 8/5/2 7/6/2 3/3/2
|
||||
f 8/5/3 6/7/3 5/8/3 7/6/3
|
||||
f 6/7/4 2/9/4 1/10/4 5/8/4
|
||||
f 3/11/5 7/12/5 12/13/5 10/14/5
|
||||
f 11/15/6 9/16/6 13/17/6 15/18/6
|
||||
f 5/19/5 1/20/5 9/16/5 11/15/5
|
||||
f 7/12/5 5/19/5 11/15/5 12/13/5
|
||||
f 1/20/5 3/11/5 10/14/5 9/16/5
|
||||
f 13/21/7 14/22/7 16/23/7 15/24/7
|
||||
f 12/13/8 11/15/8 15/25/8 16/26/8
|
||||
f 9/16/9 10/14/9 14/27/9 13/28/9
|
||||
f 10/14/10 12/13/10 16/29/10 14/30/10
|
||||
f 1/31/11 5/32/11 20/33/11 18/34/11
|
||||
f 19/35/5 17/36/5 18/34/5 20/33/5
|
||||
f 5/32/12 7/37/12 19/35/12 20/33/12
|
||||
f 3/38/13 1/31/13 18/34/13 17/36/13
|
||||
f 7/37/14 3/38/14 17/36/14 19/35/14
|
||||
f 27/39/15 23/40/15 33/41/15 35/42/15
|
||||
f 29/43/16 21/44/16 34/45/16 37/46/16
|
||||
f 23/47/17 31/48/17 38/49/17 33/41/17
|
||||
f 25/50/18 27/39/18 35/42/18 36/51/18
|
||||
f 21/52/19 25/50/19 36/51/19 34/45/19
|
||||
f 31/48/20 29/43/20 37/46/20 38/49/20
|
||||
f 27/39/21 25/50/21 21/52/21 23/40/21
|
||||
f 32/53/22 30/54/22 22/55/22 24/56/22
|
||||
f 35/42/23 33/41/23 24/56/23 28/57/23
|
||||
f 37/46/24 34/45/24 22/55/24 30/54/24
|
||||
f 23/47/21 21/44/21 29/43/21 31/48/21
|
||||
f 24/56/22 22/55/22 26/58/22 28/57/22
|
||||
f 33/41/25 38/49/25 32/53/25 24/56/25
|
||||
f 36/51/18 35/42/18 28/57/18 26/58/18
|
||||
f 34/45/26 36/51/26 26/58/26 22/55/26
|
||||
f 38/49/20 37/46/20 30/54/20 32/53/20
|
||||
187
mods/more_fire/models/more_fire_lamp_wall.obj
Normal file
@@ -0,0 +1,187 @@
|
||||
# Blender v2.74 (sub 5) OBJ File: 'lamp.blend'
|
||||
# www.blender.org
|
||||
o Cube.001
|
||||
v 0.140000 -0.280515 0.022415
|
||||
v 0.200000 0.319485 -0.037585
|
||||
v 0.140000 -0.280515 0.302415
|
||||
v 0.200000 0.319485 0.362415
|
||||
v -0.140000 -0.280515 0.022415
|
||||
v -0.200000 0.319485 -0.037585
|
||||
v -0.140000 -0.280515 0.302415
|
||||
v -0.200000 0.319485 0.362415
|
||||
v 0.196000 -0.280515 -0.033585
|
||||
v 0.196000 -0.280515 0.358415
|
||||
v -0.196000 -0.280515 -0.033585
|
||||
v -0.196000 -0.280515 0.358415
|
||||
v 0.196000 -0.380348 -0.033585
|
||||
v 0.196000 -0.380348 0.358415
|
||||
v -0.196000 -0.380348 -0.033585
|
||||
v -0.196000 -0.380348 0.358415
|
||||
v -0.117783 -0.280515 0.437568
|
||||
v 0.117783 -0.280515 0.437568
|
||||
v -0.117783 -0.380348 0.437568
|
||||
v 0.117783 -0.380348 0.437568
|
||||
v -0.222778 -0.190702 0.499030
|
||||
v 0.222778 -0.190702 0.499029
|
||||
v -0.222778 -0.380348 0.499030
|
||||
v 0.222778 -0.380348 0.499029
|
||||
v 0.063585 -0.316167 0.226000
|
||||
v 0.063585 -0.316167 0.098830
|
||||
v -0.063585 -0.316167 0.226000
|
||||
v -0.063585 -0.316167 0.098830
|
||||
v 0.000000 -0.243687 0.094285
|
||||
v 0.000000 -0.243687 0.230046
|
||||
v 0.000000 -0.178187 0.132373
|
||||
v 0.000000 -0.178187 0.191958
|
||||
v 0.067880 -0.243687 0.094285
|
||||
v 0.067880 -0.243687 0.230046
|
||||
v 0.029792 -0.178187 0.132373
|
||||
v 0.029792 -0.178187 0.191958
|
||||
v -0.067880 -0.243687 0.094285
|
||||
v -0.067880 -0.243687 0.230046
|
||||
v -0.029792 -0.178187 0.132373
|
||||
v -0.029792 -0.178187 0.191958
|
||||
v 0.000000 0.022985 0.162166
|
||||
v 0.000000 -0.296375 0.162166
|
||||
v 0.029792 -0.178187 0.162166
|
||||
v 0.067880 -0.243687 0.162166
|
||||
v -0.067880 -0.243687 0.162166
|
||||
v -0.029792 -0.178187 0.162166
|
||||
vt 0.000184 0.100646
|
||||
vt 0.245094 0.025548
|
||||
vt 0.321566 0.406010
|
||||
vt 0.150129 0.458578
|
||||
vt 0.500000 0.000184
|
||||
vt 0.500000 0.388255
|
||||
vt 0.754906 0.025548
|
||||
vt 0.678434 0.406010
|
||||
vt 0.999816 0.100646
|
||||
vt 0.849871 0.458578
|
||||
vt 0.314421 0.800681
|
||||
vt 0.318222 0.575143
|
||||
vt 0.363809 0.525366
|
||||
vt 0.362687 0.863618
|
||||
vt 0.105089 0.564675
|
||||
vt 0.089347 0.790322
|
||||
vt 0.017624 0.857183
|
||||
vt 0.018081 0.506752
|
||||
vt 0.138376 0.596328
|
||||
vt 0.130292 0.760686
|
||||
vt 0.605426 0.689137
|
||||
vt 0.886635 0.689137
|
||||
vt 0.886635 0.970346
|
||||
vt 0.605426 0.970346
|
||||
vt 0.354343 0.937588
|
||||
vt 0.465557 0.832974
|
||||
vt 0.442159 0.934100
|
||||
vt 0.361926 0.441181
|
||||
vt 0.570612 0.907416
|
||||
vt 0.489202 0.967153
|
||||
vt 0.441846 0.565238
|
||||
vt 0.426006 0.454242
|
||||
vt 0.943417 0.745248
|
||||
vt 0.943417 0.914235
|
||||
vt 0.570612 0.498898
|
||||
vt 0.485731 0.420788
|
||||
vt 0.987508 0.669927
|
||||
vt 0.987508 0.989556
|
||||
vt 0.315130 0.800066
|
||||
vt 0.132668 0.760847
|
||||
vt 0.188257 0.717364
|
||||
vt 0.266689 0.731056
|
||||
vt 0.186969 0.642567
|
||||
vt 0.267853 0.635424
|
||||
vt 0.138529 0.595618
|
||||
vt 0.318539 0.576008
|
||||
vt 0.710670 0.483156
|
||||
vt 0.731303 0.458009
|
||||
vt 0.938416 0.548420
|
||||
vt 0.722804 0.505829
|
||||
vt 0.668840 0.608672
|
||||
vt 0.623856 0.671057
|
||||
vt 0.584008 0.546251
|
||||
vt 0.665070 0.585205
|
||||
vt 0.730212 0.636289
|
||||
vt 0.709888 0.610891
|
||||
vt 0.722299 0.588369
|
||||
vt 0.669598 0.484873
|
||||
vt 0.665541 0.508292
|
||||
vt 0.625380 0.421942
|
||||
vt 0.710294 0.566741
|
||||
vt 0.676652 0.564725
|
||||
vt 0.670759 0.546782
|
||||
vt 0.721862 0.547095
|
||||
vt 0.710535 0.527308
|
||||
vt 0.676871 0.528913
|
||||
vn 0.995000 -0.099500 -0.000000
|
||||
vn 0.000000 -0.099500 0.995000
|
||||
vn -0.995000 -0.099500 0.000000
|
||||
vn -0.000000 -0.099500 -0.995000
|
||||
vn 0.000000 1.000000 0.000000
|
||||
vn -0.000000 0.000000 -1.000000
|
||||
vn -0.000000 -1.000000 0.000000
|
||||
vn 0.711300 -0.000000 0.702900
|
||||
vn -1.000000 0.000000 0.000000
|
||||
vn 1.000000 -0.000000 -0.000000
|
||||
vn 0.505200 0.000000 -0.863000
|
||||
vn -0.711300 0.000000 0.702900
|
||||
vn -0.000000 0.564800 -0.825300
|
||||
vn -0.505200 0.000000 -0.863000
|
||||
vn 0.000000 0.906200 0.422800
|
||||
vn 0.422800 0.906200 -0.000000
|
||||
vn -0.422800 0.906200 0.000000
|
||||
vn 0.000000 0.906200 -0.422800
|
||||
vn 0.692100 0.205000 -0.692100
|
||||
vn -0.340200 -0.876600 -0.340200
|
||||
vn -0.692100 0.205000 -0.692100
|
||||
vn 0.864500 0.502700 -0.000000
|
||||
vn 0.340200 -0.876600 -0.340200
|
||||
vn -0.864500 0.502700 0.000000
|
||||
vn -0.000000 0.502700 -0.864500
|
||||
vn 0.000000 0.502700 0.864500
|
||||
vn 0.692100 0.205000 0.692100
|
||||
vn -0.340200 -0.876600 0.340200
|
||||
vn -0.692100 0.205000 0.692100
|
||||
vn 0.340200 -0.876600 0.340200
|
||||
s off
|
||||
f 2/1/1 4/2/1 3/3/1 1/4/1
|
||||
f 4/2/2 8/5/2 7/6/2 3/3/2
|
||||
f 8/5/3 6/7/3 5/8/3 7/6/3
|
||||
f 6/7/4 2/9/4 1/10/4 5/8/4
|
||||
f 3/11/5 7/12/5 12/13/5 10/14/5
|
||||
f 11/15/6 9/16/6 13/17/6 15/18/6
|
||||
f 5/19/5 1/20/5 9/16/5 11/15/5
|
||||
f 7/12/5 5/19/5 11/15/5 12/13/5
|
||||
f 1/20/5 3/11/5 10/14/5 9/16/5
|
||||
f 13/21/7 14/22/7 16/23/7 15/24/7
|
||||
f 14/25/8 10/14/8 18/26/8 20/27/8
|
||||
f 12/13/9 11/15/9 15/18/9 16/28/9
|
||||
f 9/16/10 10/14/10 14/25/10 13/17/10
|
||||
f 20/27/11 18/26/11 22/29/11 24/30/11
|
||||
f 10/14/5 12/13/5 17/31/5 18/26/5
|
||||
f 12/13/12 16/28/12 19/32/12 17/31/12
|
||||
f 16/23/7 14/22/7 20/33/7 19/34/7
|
||||
f 18/26/13 17/31/13 21/35/13 22/29/13
|
||||
f 17/31/14 19/32/14 23/36/14 21/35/14
|
||||
f 19/34/7 20/33/7 24/37/7 23/38/7
|
||||
f 1/39/15 5/40/15 28/41/15 26/42/15
|
||||
f 27/43/5 25/44/5 26/42/5 28/41/5
|
||||
f 5/40/16 7/45/16 27/43/16 28/41/16
|
||||
f 3/46/17 1/39/17 26/42/17 25/44/17
|
||||
f 7/45/18 3/46/18 25/44/18 27/43/18
|
||||
f 35/47/19 31/48/19 41/49/19 43/50/19
|
||||
f 37/51/20 29/52/20 42/53/20 45/54/20
|
||||
f 31/55/21 39/56/21 46/57/21 41/49/21
|
||||
f 33/58/22 35/47/22 43/50/22 44/59/22
|
||||
f 29/60/23 33/58/23 44/59/23 42/53/23
|
||||
f 39/56/24 37/51/24 45/54/24 46/57/24
|
||||
f 35/47/25 33/58/25 29/60/25 31/48/25
|
||||
f 40/61/26 38/62/26 30/63/26 32/64/26
|
||||
f 43/50/27 41/49/27 32/64/27 36/65/27
|
||||
f 45/54/28 42/53/28 30/63/28 38/62/28
|
||||
f 31/55/25 29/52/25 37/51/25 39/56/25
|
||||
f 32/64/26 30/63/26 34/66/26 36/65/26
|
||||
f 41/49/29 46/57/29 40/61/29 32/64/29
|
||||
f 44/59/22 43/50/22 36/65/22 34/66/22
|
||||
f 42/53/30 44/59/30 34/66/30 30/63/30
|
||||
f 46/57/24 45/54/24 38/62/24 40/61/24
|
||||
BIN
mods/more_fire/models/torch.blend
Normal file
285
mods/more_fire/molotov.lua
Normal file
@@ -0,0 +1,285 @@
|
||||
--Molotov Cocktail_[rev002]
|
||||
--base code is from throwing enhanced and potions mods
|
||||
|
||||
local MOD_NAME = minetest.get_current_modname()
|
||||
local MOD_PATH = minetest.get_modpath(MOD_NAME)
|
||||
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
|
||||
|
||||
minetest.register_craftitem('more_fire:molotov_cocktail', {
|
||||
description = 'Throwable Firebomb',
|
||||
inventory_image = 'more_fire_molotov_cocktail.png',
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
itemstack:take_item()
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
n = minetest.get_node(pointed_thing)
|
||||
if pointed_thing.type == 'node' then
|
||||
minetest.add_node(pointed_thing.above, {name='fire:basic_flame'})
|
||||
minetest.sound_play('more_fire_ignite', {pos,pos})
|
||||
end
|
||||
--Shattered glass Particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 40,
|
||||
time = 0.1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=2, y=0.2, z=2},
|
||||
maxvel = {x=-2, y=0.5, z=-2},
|
||||
minacc = {x=0, y=-6, z=0},
|
||||
maxacc = {x=0, y=-10, z=0},
|
||||
minexptim = 0.5,
|
||||
maxexptime = 2,
|
||||
minsize = 0.2,
|
||||
maxsize = 5,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_shatter.png'})
|
||||
--fire ember particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 100,
|
||||
time = 0.1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=-2, y=0.5, z=-2},
|
||||
maxvel = {x=2, y=0.5, z=2},
|
||||
minacc = {x=0, y=-10, z=0},
|
||||
maxacc = {x=0, y=-6, z=0},
|
||||
minexptime = 2,
|
||||
maxexptime = 3,
|
||||
minsize = 0.25,
|
||||
maxsize = 0.5,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_spark.png'})
|
||||
local dir = Vec3(user:get_look_dir()) *20
|
||||
minetest.add_particle(
|
||||
{x=user:getpos().x, y=user:getpos().y+1.5, z=user:getpos().z}, {x=dir.x, y=dir.y, z=dir.z}, {x=0, y=-10, z=0}, 0.2,
|
||||
6, false, 'more_fire_molotov_cocktail.png')
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
local function throw_cocktail(item, player)
|
||||
local playerpos = player:getpos()
|
||||
local obj = minetest.add_entity({x=playerpos.x,y=playerpos.y+1.625,z=playerpos.z}, 'more_fire:molotov_entity')
|
||||
local dir = player:get_look_dir()
|
||||
obj:setvelocity({x=dir.x*30, y=dir.y*30, z=dir.z*30})
|
||||
obj:setacceleration({x=dir.x*-3, y=-dir.y^8*80-10, z=dir.z*-3})
|
||||
if not minetest.settings:get_bool('creative_mode') then
|
||||
item:take_item()
|
||||
end
|
||||
return item
|
||||
end
|
||||
|
||||
local radius = 5.0
|
||||
|
||||
local function add_effects(pos, radius)
|
||||
minetest.add_particlespawner({
|
||||
amount = 10,
|
||||
time = 0.2,
|
||||
minpos = vector.subtract(pos, radius / 2),
|
||||
maxpos = vector.add(pos, radius / 2),
|
||||
minvel = {x=-2, y=-2, z=-2},
|
||||
maxvel = {x=2, y=-4, z=2},
|
||||
minacc = {x=0, y=-4, z=0},
|
||||
--~ maxacc = {x=-20, y=-50, z=-50},
|
||||
minexptime = 1,
|
||||
maxexptime = 1.5,
|
||||
minsize = 1,
|
||||
maxsize = 2,
|
||||
texture = 'more_fire_spark.png',
|
||||
})
|
||||
minetest.add_particlespawner({
|
||||
amount = 10,
|
||||
time = 0.2,
|
||||
minpos = vector.subtract(pos, radius / 2),
|
||||
maxpos = vector.add(pos, radius / 2),
|
||||
minvel = {x=-1.25, y=-1.25, z=-1.25},
|
||||
maxvel = {x=0.5, y=-4, z=0.5},
|
||||
minacc = {x=1.25, y=-1.25, z=1.25},
|
||||
--~ maxacc = {x=-20, y=-50, z=-50},
|
||||
minexptime =1,
|
||||
maxexptime = 1.5,
|
||||
minsize = 1,
|
||||
maxsize = 2,
|
||||
texture = 'more_fire_spark.png',
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
||||
local MORE_FIRE_MOLOTOV_ENTITY = {
|
||||
timer=0,
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
physical = false,
|
||||
textures = {'more_fire_molotov_cocktail.png'},
|
||||
lastpos={},
|
||||
}
|
||||
|
||||
MORE_FIRE_MOLOTOV_ENTITY.on_step = function(self, dtime)
|
||||
self.timer = self.timer + dtime
|
||||
local pos = self.object:getpos()
|
||||
local node = minetest.get_node(pos)
|
||||
minetest.add_particlespawner({
|
||||
amount = 10,
|
||||
time = 0.5,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-0, y=0, z=-0.5},
|
||||
maxvel = {x=0, y=0, z=-0.75},
|
||||
minacc = vector.new(),
|
||||
maxacc = vector.new(),
|
||||
minexptime = 0.5,
|
||||
maxexptime = 1,
|
||||
minsize = 0.25,
|
||||
maxsize = 0.5,
|
||||
texture = 'more_fire_smoke.png',
|
||||
})
|
||||
minetest.add_particlespawner({
|
||||
amount = 100,
|
||||
time = 0.25,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-0, y=0, z=-0.5},
|
||||
maxvel = {x=0, y=0, z=-0.75},
|
||||
minacc = {x=0, y=0, z=-0.75},
|
||||
maxacc = {x=-0, y=0, z=-0.5},
|
||||
minexptime = 0.25,
|
||||
maxexptime = 0.5,
|
||||
minsize = 0.5,
|
||||
maxsize = 0.75,
|
||||
texture = 'more_fire_spark.png',
|
||||
})
|
||||
if self.timer>0.2 then
|
||||
local objs = minetest.get_objects_inside_radius({x=pos.x,y=pos.y,z=pos.z}, 1)
|
||||
for k, obj in pairs(objs) do
|
||||
if obj:get_luaentity() ~= nil then
|
||||
if obj:get_luaentity().name ~= 'more_fire:molotov_entity' and obj:get_luaentity().name ~= '__builtin:item' then
|
||||
if self.node ~= '' then
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
for dx=-3,3 do
|
||||
for dy=-3,3 do
|
||||
for dz=-3,3 do
|
||||
local p = {x=pos.x+dx, y=pos.y+dy, z=pos.z+dz}
|
||||
local n = minetest.get_node(pos).name
|
||||
if n == "default:grass" then
|
||||
--if minetest.registered_nodes[n].groups.flammable or math.random(1, 100) <= 20 then
|
||||
minetest.sound_play('more_fire_ignite', {pos = self.lastpos})
|
||||
minetest.set_node(p, {name='fire:basic_flame'})
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self.object:remove()
|
||||
end
|
||||
else
|
||||
if self.node ~= '' then
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
for dx=-2,2 do
|
||||
for dy=-2,2 do
|
||||
for dz=-2,2 do
|
||||
local p = {x=pos.x+dx, y=pos.y+dy, z=pos.z+dz}
|
||||
local n = minetest.get_node(pos).name
|
||||
if n == "default:grass" then
|
||||
--if minetest.registered_nodes[n].groups.flammable or math.random(1, 100) <= 20 then
|
||||
minetest.sound_play('more_fire_ignite', {pos = self.lastpos})
|
||||
minetest.set_node(p, {name='fire:basic_flame'})
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if self.lastpos.x~=nil then
|
||||
if node.name ~= 'air' then
|
||||
if self.node ~= '' then
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
for dx=-1,1 do
|
||||
for dy=-1,1 do
|
||||
for dz=-1,1 do
|
||||
local p = {x = pos.x + dx, y = pos.y + dy, z = pos.z + dz}
|
||||
local p1 = {x = pos.x + dx, y=pos.y + dy - 1, z = pos.z + dz}
|
||||
local n = minetest.get_node(p).name
|
||||
local n1 = minetest.get_node(p1).name
|
||||
if n == "air" and n1 ~= "fire:basic_flame" or math.random(1, 100) <= 5 then
|
||||
minetest.sound_play('more_fire_ignite', {pos = self.lastpos})
|
||||
minetest.set_node(p, {name='fire:basic_flame'})
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
self.lastpos={x=pos.x, y=pos.y, z=pos.z}
|
||||
end
|
||||
|
||||
minetest.register_entity('more_fire:molotov_entity', MORE_FIRE_MOLOTOV_ENTITY)
|
||||
|
||||
minetest.override_item('more_fire:molotov_cocktail', {on_use = throw_cocktail})
|
||||
|
||||
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames={'fire:basic_flame'},
|
||||
neighbors={'air'},
|
||||
interval = 1,
|
||||
chance = 2,
|
||||
action = function(pos, node)
|
||||
if minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z}).name == 'air' and
|
||||
minetest.get_node({x=pos.x, y=pos.y+2.0, z=pos.z}).name == 'air' then
|
||||
minetest.add_particlespawner({
|
||||
amount = 1,
|
||||
time = 2,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-2, y=2, z=-2},
|
||||
maxvel = {x=1, y=3, z=1},
|
||||
minacc = {x=0, y=6, z=0},
|
||||
maxacc = {x=0, y=2, z=0},
|
||||
minexptime = 1,
|
||||
maxexptime = 3,
|
||||
minsize = 10,
|
||||
maxsize = 20,
|
||||
collisiondetection = false,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
minetest.add_particlespawner({
|
||||
amount = 15,
|
||||
time = 4,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=0, y= 3, z=0},
|
||||
maxvel = {x=0, y=5, z=0},
|
||||
minacc = {x=0.1, y=0.5, z=-0.1},
|
||||
maxacc = {x=-0.2, y=2, z=0.2},
|
||||
minexptime = 1,
|
||||
maxexptime = 3,
|
||||
minsize = 5,
|
||||
maxsize = 10,
|
||||
collisiondetection = false,
|
||||
texture ='more_fire_smoke.png'})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
--crafting recipes
|
||||
minetest.register_craft( {
|
||||
output = 'more_fire:molotov_cocktail',
|
||||
recipe = {
|
||||
{'farming:cotton'},
|
||||
{'more_fire:oil'},
|
||||
{'vessels:glass_bottle'},
|
||||
}
|
||||
})
|
||||
|
||||
-- fuel recipes
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'more_fire:molotov_cocktail',
|
||||
burntime = 5,
|
||||
})
|
||||
194
mods/more_fire/pipebomb.lua
Normal file
@@ -0,0 +1,194 @@
|
||||
--Pipe Bomb
|
||||
--base code is from throwing enhanced and potions mods
|
||||
|
||||
local MOD_NAME = minetest.get_current_modname()
|
||||
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', {
|
||||
description = 'Pipe Bomb',
|
||||
inventory_image = 'more_fire_pipebomb.png',
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
itemstack:take_item()
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
|
||||
--smoke particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 400,
|
||||
time = 0.1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=2, y=0.2, z=2},
|
||||
maxvel = {x=-2, y=0.5, z=-2},
|
||||
minacc = {x=0, y=-6, z=0},
|
||||
maxacc = {x=0, y=-10, z=0},
|
||||
minexptime = 5,
|
||||
maxexptime = 2,
|
||||
minsize = 5,
|
||||
maxsize = 20,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
--more smoke particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 600,
|
||||
time = 1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=10, y= 3, z=10},
|
||||
maxvel = {x=-10, y= 3, z=-10},
|
||||
minacc = {x=2, y=2, z=2},
|
||||
maxacc = {x=-2, y=1, z=-2},
|
||||
minexptime = 2,
|
||||
maxexptime = 3,
|
||||
minsize = 2,
|
||||
maxsize = 20,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
--even more smoke particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 400,
|
||||
time = 1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=0.2, y=0.2, z=0.2},
|
||||
maxvel = {x=-0.2, y=0.5, z=-0.2},
|
||||
minacc = {x=10, y= 2, z=10},
|
||||
maxacc = {x=-10, y= 1, z=-10},
|
||||
minexptime = 2,
|
||||
maxexptime = 3,
|
||||
minsize = 20,
|
||||
maxsize = 2,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
local dir = Vec3(user:get_look_dir()) *20
|
||||
minetest.add_particle(
|
||||
{x=user:getpos().x, y=user:getpos().y+1.5, z=user:getpos().z}, {x=dir.x, y=dir.y, z=dir.z}, {x=0, y=-10, z=0}, 0.2,
|
||||
6, false, 'more_fire_smokebomb.png')
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
local function throw_pipebomb(item, player)
|
||||
local playerpos = player:getpos()
|
||||
local obj = minetest.add_entity({x = playerpos.x, y = playerpos.y + 1.625, z = playerpos.z}, 'more_fire:pipebomb_entity')
|
||||
local dir = player:get_look_dir()
|
||||
obj:setvelocity({x = dir.x * 30, y = dir.y * 30, z = dir.z * 30})
|
||||
obj:setacceleration({x = dir.x * -3, y = -dir.y^8 * 80 - 10, z = dir.z * -3})
|
||||
item:take_item()
|
||||
playerWhoThrewObject = player
|
||||
return item
|
||||
end
|
||||
|
||||
local function add_effects(pos)
|
||||
minetest.add_particlespawner({
|
||||
amount = 200,
|
||||
time = 0.1,
|
||||
minpos = vector.subtract(pos, 5 / 3),
|
||||
maxpos = vector.add(pos, 5 / 3),
|
||||
minvel = {x=2, y=0.2, z=2},
|
||||
maxvel = {x=-2, y=-0.5, z=-2},
|
||||
minacc = {x=1, y=-6, z=1},
|
||||
maxacc = {x=1, y=-10, z=1},
|
||||
minexptime = 1,
|
||||
maxexptime = 5,
|
||||
minsize = 10,
|
||||
maxsize = 20,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
minetest.add_particlespawner({
|
||||
amount = 100,
|
||||
time = 2,
|
||||
minpos = vector.subtract(pos, 5 / 2),
|
||||
maxpos = vector.add(pos, 5 / 2),
|
||||
minvel = {x=0.2, y=0.2, z=0.2},
|
||||
maxvel = {x=-0.2, y=0.5, z=-0.2},
|
||||
minacc = {x=10, y= 2, z=10},
|
||||
maxacc = {x=-10, y= 1, z=-10},
|
||||
minexptime =1,
|
||||
maxexptime = 3,
|
||||
minsize = 5,
|
||||
maxsize = 15,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
end
|
||||
|
||||
local function plume(pos)
|
||||
minetest.set_node(pos, {name='more_fire:plume'})
|
||||
minetest.get_node_timer(pos):start(3.0)
|
||||
add_effects(pos)
|
||||
end
|
||||
|
||||
local MORE_FIRE_PIPEBOMB_ENTITY = {
|
||||
timer=0,
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
physical = false,
|
||||
textures = {'more_fire_pipebomb.png'},
|
||||
lastpos={},
|
||||
}
|
||||
|
||||
|
||||
MORE_FIRE_PIPEBOMB_ENTITY.on_step = function(self, dtime)
|
||||
self.timer = self.timer + dtime
|
||||
local pos = self.object:getpos()
|
||||
local node = minetest.get_node(pos)
|
||||
if self.timer > 0.01 then
|
||||
local objs = minetest.get_objects_inside_radius({x=pos.x,y=pos.y,z=pos.z}, 1)
|
||||
for k, obj in pairs(objs) do
|
||||
if obj:get_luaentity() ~= nil then
|
||||
if obj:get_luaentity().name ~= 'more_fire:pipebomb_entity' and obj:get_luaentity().name ~= '__builtin:item' then
|
||||
if self.node ~= '' then
|
||||
explosives.boom(pos, {})
|
||||
local damage = 1
|
||||
obj:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups={fleshy=damage},
|
||||
}, nil)
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
if self.lastpos.x ~= nil then
|
||||
if node.name ~= 'air' then
|
||||
self.object:remove()
|
||||
|
||||
explosives.boom(pos, {
|
||||
owner = playerWhoThrewObject
|
||||
})
|
||||
|
||||
minetest.add_particlespawner({
|
||||
amount = 64,
|
||||
time = 0.5,
|
||||
minpos = {x = pos.x - 2, y = pos.y - 2, z = pos.z - 2},
|
||||
maxpos = {x = pos.x + 2, y = pos.y + 2, z = pos.z + 2},
|
||||
minvel = {x = -10, y = -10, z = -10},
|
||||
maxvel = {x = 10, y = 10, z = 10},
|
||||
minacc = vector.new(),
|
||||
maxacc = vector.new(),
|
||||
minexptime = 1,
|
||||
maxexptime = 2.5,
|
||||
minsize = 2,
|
||||
maxsize = 5,
|
||||
texture = "tnt_smoke.png",
|
||||
})
|
||||
|
||||
end
|
||||
end
|
||||
self.lastpos={x=pos.x, y=pos.y, z=pos.z}
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_entity('more_fire:pipebomb_entity', MORE_FIRE_PIPEBOMB_ENTITY)
|
||||
|
||||
minetest.override_item('more_fire:pipebomb', {on_use = throw_pipebomb})
|
||||
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'more_fire:pipe_bomb',
|
||||
recipe = {
|
||||
{'more_fire:flintstone'},
|
||||
{'more_fire:charcoal'},
|
||||
{'vessels:glass_bottle'},
|
||||
}
|
||||
})
|
||||
31
mods/more_fire/readme.md
Normal file
@@ -0,0 +1,31 @@
|
||||
If you have any ideas for more fire related things please let me know, or consider forking the project on GIT. I'm always ready to add more good stuff.
|
||||
|
||||
# Mod Contributors
|
||||
Nathan
|
||||
Napiophelios
|
||||
|
||||
# More_fire
|
||||
This is a Minetest mod that adds more/better fire related stuff
|
||||
|
||||
## Forum Topic
|
||||
https://forum.minetest.net/viewtopic.php?f=11&t=10372
|
||||
|
||||
## Licensing
|
||||
CC0
|
||||
|
||||
## Dependencies
|
||||
- default
|
||||
- farming
|
||||
- fire
|
||||
- vessels
|
||||
|
||||
#
|
||||
Items currently included:
|
||||
- Campfires
|
||||
- Finite torches, they burn out (configurable in config.txt)
|
||||
- oil lanterns, use these instead of torches
|
||||
- oil for the lanterns of course
|
||||
- a lighter, for starting the campfires.
|
||||
- charcoal, much like coal, but made by cooking wood
|
||||
- a smoke bomb
|
||||
- molotov cocktail
|
||||
BIN
mods/more_fire/screenshot.png
Normal file
|
After Width: | Height: | Size: 184 KiB |
8
mods/more_fire/settingtypes.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
#How long in seconds a torch will burn.
|
||||
#Default is 960 seconds (16 minutes)
|
||||
more_fire.torch_burn_time (Burn time of new torches) int 960
|
||||
#How long in seconds a bottle of lamp oil will burn.
|
||||
#Default is 720 seconds (12 minutes)
|
||||
more_fire.oillamp_burn_time (Burn time of oil lamp) int 720
|
||||
more_fire.finite_torches (Should torches burn out?) bool true
|
||||
more_fire.pyromania (Enable molotov cocktails?) bool false
|
||||
288
mods/more_fire/smokebomb.lua
Normal file
@@ -0,0 +1,288 @@
|
||||
--Smoke Bomb_[rev001]
|
||||
--base code is from throwing enhanced and potions mods
|
||||
|
||||
local MOD_NAME = minetest.get_current_modname()
|
||||
local MOD_PATH = minetest.get_modpath(MOD_NAME)
|
||||
local Vec3 = dofile(MOD_PATH..'/lib/Vec3_1-0.lua')
|
||||
|
||||
minetest.register_craftitem('more_fire:smokebomb', {
|
||||
description = 'Smoke Bomb',
|
||||
inventory_image = 'more_fire_smokebomb.png',
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
itemstack:take_item()
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
--Shattered glass Particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 40,
|
||||
time = 0.1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=2, y=0.2, z=2},
|
||||
maxvel = {x=-2, y=0.5, z=-2},
|
||||
minacc = {x=0, y=-6, z=0},
|
||||
maxacc = {x=0, y=-10, z=0},
|
||||
minexptime = 0.5,
|
||||
maxexptime = 2,
|
||||
minsize = 0.2,
|
||||
maxsize = 5,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_shatter.png'})
|
||||
--smoke particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 400,
|
||||
time = 0.1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=2, y=0.2, z=2},
|
||||
maxvel = {x=-2, y=0.5, z=-2},
|
||||
minacc = {x=0, y=-6, z=0},
|
||||
maxacc = {x=0, y=-10, z=0},
|
||||
minexptime = 5,
|
||||
maxexptime = 2,
|
||||
minsize = 5,
|
||||
maxsize = 20,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
--more smoke particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 600,
|
||||
time = 1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=10, y= 3, z=10},
|
||||
maxvel = {x=-10, y= 3, z=-10},
|
||||
minacc = {x=2, y=2, z=2},
|
||||
maxacc = {x=-2, y=1, z=-2},
|
||||
minexptime = 2,
|
||||
maxexptime = 3,
|
||||
minsize = 2,
|
||||
maxsize = 20,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
--even more smoke particles
|
||||
minetest.add_particlespawner({
|
||||
amount = 400,
|
||||
time = 1,
|
||||
minpos = pointed_thing.above,
|
||||
maxpos = pointed_thing.above,
|
||||
minvel = {x=0.2, y=0.2, z=0.2},
|
||||
maxvel = {x=-0.2, y=0.5, z=-0.2},
|
||||
minacc = {x=10, y= 2, z=10},
|
||||
maxacc = {x=-10, y= 1, z=-10},
|
||||
minexptime = 2,
|
||||
maxexptime = 3,
|
||||
minsize = 20,
|
||||
maxsize = 2,
|
||||
collisiondetection = true,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
local dir = Vec3(user:get_look_dir()) *20
|
||||
minetest.add_particle(
|
||||
{x=user:getpos().x, y=user:getpos().y+1.5, z=user:getpos().z}, {x=dir.x, y=dir.y, z=dir.z}, {x=0, y=-10, z=0}, 0.2,
|
||||
6, false, 'more_fire_smokebomb.png')
|
||||
return itemstack
|
||||
end,
|
||||
})
|
||||
|
||||
local function throw_smokebomb(item, player)
|
||||
local playerpos = player:getpos()
|
||||
local obj = minetest.add_entity({x=playerpos.x,y=playerpos.y+1.625,z=playerpos.z}, 'more_fire:smokebomb_entity')
|
||||
local dir = player:get_look_dir()
|
||||
obj:setvelocity({x=dir.x*30, y=dir.y*30, z=dir.z*30})
|
||||
obj:setacceleration({x=dir.x*-3, y=-dir.y^8*80-10, z=dir.z*-3})
|
||||
if not minetest.settings:get_bool('creative_mode') then
|
||||
item:take_item()
|
||||
end
|
||||
return item
|
||||
end
|
||||
|
||||
local function add_effects(pos)
|
||||
minetest.add_particlespawner({
|
||||
amount = 200,
|
||||
time = 0.1,
|
||||
minpos = vector.subtract(pos, 5 / 3),
|
||||
maxpos = vector.add(pos, 5 / 3),
|
||||
minvel = {x=2, y=0.2, z=2},
|
||||
maxvel = {x=-2, y=-0.5, z=-2},
|
||||
minacc = {x=1, y=-6, z=1},
|
||||
maxacc = {x=1, y=-10, z=1},
|
||||
minexptime = 1,
|
||||
maxexptime = 5,
|
||||
minsize = 10,
|
||||
maxsize = 20,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
minetest.add_particlespawner({
|
||||
amount = 100,
|
||||
time = 2,
|
||||
minpos = vector.subtract(pos, 5 / 2),
|
||||
maxpos = vector.add(pos, 5 / 2),
|
||||
minvel = {x=0.2, y=0.2, z=0.2},
|
||||
maxvel = {x=-0.2, y=0.5, z=-0.2},
|
||||
minacc = {x=10, y= 2, z=10},
|
||||
maxacc = {x=-10, y= 1, z=-10},
|
||||
minexptime =1,
|
||||
maxexptime = 3,
|
||||
minsize = 5,
|
||||
maxsize = 15,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
end
|
||||
|
||||
local function plume(pos)
|
||||
minetest.set_node(pos, {name='more_fire:plume'})
|
||||
minetest.get_node_timer(pos):start(3.0)
|
||||
add_effects(pos)
|
||||
end
|
||||
|
||||
local MORE_FIRE_SMOKEBOMB_ENTITY = {
|
||||
timer=0,
|
||||
collisionbox = {0,0,0,0,0,0},
|
||||
physical = false,
|
||||
textures = {'more_fire_smokebomb.png'},
|
||||
lastpos={},
|
||||
}
|
||||
|
||||
MORE_FIRE_SMOKEBOMB_ENTITY.on_step = function(self, dtime)
|
||||
self.timer = self.timer + dtime
|
||||
local pos = self.object:getpos()
|
||||
local node = minetest.get_node(pos)
|
||||
minetest.add_particlespawner({
|
||||
amount = 10,
|
||||
time = 0.5,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-0, y=0, z=-0.5},
|
||||
maxvel = {x=0, y=0, z=-0.75},
|
||||
minacc = vector.new(),
|
||||
maxacc = vector.new(),
|
||||
minexptime = 0.5,
|
||||
maxexptime = 1,
|
||||
minsize = 0.25,
|
||||
maxsize = 0.5,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
minetest.add_particlespawner({
|
||||
amount = 10,
|
||||
time = 0.25,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-0, y=0, z=-0.5},
|
||||
maxvel = {x=0, y=0, z=-0.75},
|
||||
minacc = {x=0, y=0, z=-0.75},
|
||||
maxacc = {x=-0, y=0, z=-0.5},
|
||||
minexptime = 0.25,
|
||||
maxexptime = 0.5,
|
||||
minsize = 0.5,
|
||||
maxsize = 0.75,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
if self.timer>0.2 then
|
||||
local objs = minetest.get_objects_inside_radius({x=pos.x,y=pos.y,z=pos.z}, 1)
|
||||
for k, obj in pairs(objs) do
|
||||
if obj:get_luaentity() ~= nil then
|
||||
if obj:get_luaentity().name ~= 'more_fire:smokebomb_entity' and obj:get_luaentity().name ~= '__builtin:item' then
|
||||
if self.node ~= '' then
|
||||
minetest.sound_play('more_fire_shatter', {gain = 1.0})
|
||||
local damage = 1
|
||||
obj:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups={fleshy=damage},
|
||||
}, nil)
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
if self.lastpos.x~=nil then
|
||||
if node.name ~= 'air' then
|
||||
self.object:remove()
|
||||
plume(self.lastpos)
|
||||
end
|
||||
end
|
||||
self.lastpos={x=pos.x, y=pos.y, z=pos.z}
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_entity('more_fire:smokebomb_entity', MORE_FIRE_SMOKEBOMB_ENTITY)
|
||||
|
||||
minetest.override_item('more_fire:smokebomb', {on_use = throw_smokebomb})
|
||||
|
||||
minetest.register_node('more_fire:plume', {
|
||||
drawtype = 'plantlike',
|
||||
description = 'Smoke Plume',
|
||||
tiles = {{
|
||||
name='more_fire_smoke_animated.png',
|
||||
animation={type='vertical_frames', aspect_w=16, aspect_h=16, length=1},
|
||||
}},
|
||||
inventory_image = 'more_fire_smoke.png',
|
||||
light_source = 8,
|
||||
groups = {dig_immediate=3, not_in_creative_inventory =1, not_in_craft_guide=1},
|
||||
drop = '',
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
damage_per_second = 1,
|
||||
on_timer = function(pos, elapsed)
|
||||
minetest.remove_node(pos)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames={'more_fire:plume'},
|
||||
neighbors={'air'},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos, node)
|
||||
if minetest.get_node({x=pos.x, y=pos.y+1.0, z=pos.z}).name == 'air' and
|
||||
minetest.get_node({x=pos.x, y=pos.y+2.0, z=pos.z}).name == 'air' then
|
||||
minetest.add_particlespawner({
|
||||
amount = 400,
|
||||
time = 3,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=2, y=-0.2, z=2},
|
||||
maxvel = {x=-2, y=-0.5, z=-2},
|
||||
minacc = {x=0, y=-6, z=0},
|
||||
maxacc = {x=0, y=-10, z=0},
|
||||
minexptime = 2,
|
||||
maxexptime = 6,
|
||||
minsize = 0.05,
|
||||
maxsize = 0.5,
|
||||
collisiondetection =false,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
minetest.add_particlespawner({
|
||||
amount = 50,
|
||||
time = 2,
|
||||
minpos = pos,
|
||||
maxpos = pos,
|
||||
minvel = {x=-2, y=0.5, z=-2},
|
||||
maxvel = {x=2, y=0.5, z=2},
|
||||
minacc = {x=0, y=0.04, z=0},
|
||||
maxacc = {x=0, y=0.01, z=0},
|
||||
minexptime = 1,
|
||||
maxexptime = 3,
|
||||
minsize = 3,
|
||||
maxsize = 5,
|
||||
collisiondetection = false,
|
||||
texture = 'more_fire_smoke.png'})
|
||||
minetest.add_particlespawner({
|
||||
amount = 400,
|
||||
time = 2,
|
||||
minpos = vector.subtract(pos, 5 / 2),
|
||||
maxpos = vector.add(pos, 5 / 2),
|
||||
minvel = {x=0.2, y=2, z=0.2},
|
||||
maxvel = {x=-0.2, y=2, z=-0.2},
|
||||
minacc = {x=10, y= 2, z=10},
|
||||
maxacc = {x=-10, y= 1, z=-10},
|
||||
minexptime =1,
|
||||
maxexptime = 3,
|
||||
minsize = 5,
|
||||
maxsize = 15,
|
||||
texture = 'more_fire_smoke.png',})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'more_fire:smoke_bomb',
|
||||
recipe = {
|
||||
{'more_fire:flintstone'},
|
||||
{'more_fire:charcoal'},
|
||||
{'vessels:glass_bottle'},
|
||||
}
|
||||
})
|
||||
BIN
mods/more_fire/sounds/more_fire_ignite.0.ogg
Normal file
BIN
mods/more_fire/sounds/more_fire_shatter.0.ogg
Normal file
BIN
mods/more_fire/sounds/more_fire_shatter.1.ogg
Normal file
BIN
mods/more_fire/sounds/spark.ogg
Normal file
BIN
mods/more_fire/textures/more_fire_gas_can.png
Normal file
|
After Width: | Height: | Size: 222 B |
BIN
mods/more_fire/textures/more_fire_molotov_cocktail.png
Normal file
|
After Width: | Height: | Size: 482 B |
BIN
mods/more_fire/textures/more_fire_oil.png
Normal file
|
After Width: | Height: | Size: 219 B |
BIN
mods/more_fire/textures/more_fire_pipebomb.png
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
mods/more_fire/textures/more_fire_propane_tank.png
Normal file
|
After Width: | Height: | Size: 212 B |
BIN
mods/more_fire/textures/more_fire_shatter.png
Normal file
|
After Width: | Height: | Size: 115 B |
BIN
mods/more_fire/textures/more_fire_smoke.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
mods/more_fire/textures/more_fire_smokebomb.png
Normal file
|
After Width: | Height: | Size: 145 B |
BIN
mods/more_fire/textures/more_fire_spark.png
Normal file
|
After Width: | Height: | Size: 268 B |