From 806ed1d9ca29c7ecdf33c1e7847e4afe48421de5 Mon Sep 17 00:00:00 2001 From: Pavel Litvinoff Date: Tue, 7 Feb 2017 10:39:39 +0200 Subject: [PATCH] first commit --- LICENSE.txt | 14 + README.md | 38 +++ depends.txt | 2 + description.txt | 1 + init.lua | 208 +++++++++++++++ mod.conf | 1 + models/License.of.media.txt | 10 + models/contained_campfire.obj | 475 ++++++++++++++++++++++++++++++++++ textures/campfire.png | Bin 0 -> 636 bytes textures/fire.png | Bin 0 -> 225 bytes textures/invisible.png | Bin 0 -> 91 bytes textures/smoke.png | Bin 0 -> 197 bytes 12 files changed, 749 insertions(+) create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 depends.txt create mode 100644 description.txt create mode 100644 init.lua create mode 100644 mod.conf create mode 100644 models/License.of.media.txt create mode 100644 models/contained_campfire.obj create mode 100644 textures/campfire.png create mode 100644 textures/fire.png create mode 100644 textures/invisible.png create mode 100644 textures/smoke.png diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..95da9f3 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,14 @@ +License of source code +---------------------- + +GNU Lesser General Public License, version 2.1 +Copyright (C) 2011-2016 googol, Pavel Litvinoff + +This program is free software; you can redistribute it and/or modify it under the terms +of the GNU Lesser General Public License as published by the Free Software Foundation; +either version 2.1 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +See the GNU Lesser General Public License for more details: +https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..d3e48c1 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +Minetest mod "New Campfire" +====================== +Version: 0.1.0 + +# License of source code: +- Copyright (C) 2017 Pavel Litvinoff + +# Authors of media (contained_campfire.obj) and (campfire.png) files: +- Nathan Salapat + +- License of media (models): CC BY-SA + +# Notice: +- This mod is only useable with Minetest 0.4.14 or above! + +# Description: +- You can craft and use better campfire. + +# Using the mod: +- To use the campfire, you have to craft one. You need 2 stick and 3 stone to craft it following way: +- +- group:stick +- group:stone group:stick group:stone +- group:stone +- +- Just rightclick with a flint_and_steel in your hand on the campfire and it will flame. + +# Change Log +#### [0.1.0] - 2017-02-07 +- Release + + +# Links: +- Forum Topic: +- + +- Bitbucket: +- diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..571d566 --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +default +fire diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..b5c6a24 --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +A mod that adds an air bubbles under water. There is also an API to register new generators of air bubbles. diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..a385cde --- /dev/null +++ b/init.lua @@ -0,0 +1,208 @@ +-- VARIABLES +new_campfire = {} +local id = {} + +-- FUNCTIONS +local function fire_particles_on(pos) -- 3 layers of fire + local meta = minetest.get_meta(pos) + id = minetest.add_particlespawner({ -- 1 layer big particles fire + amount = 33, + time = 3, + minpos = {x = pos.x - 0.2, y = pos.y - 0.4, z = pos.z - 0.2}, + maxpos = {x = pos.x + 0.2, y = pos.y, z = pos.z + 0.2}, + minvel = {x= 0, y= 0, z= 0}, + maxvel = {x= 0, y= 0.1, z= 0}, + minacc = {x= 0, y= 0, z= 0}, + maxacc = {x= 0, y= 1, z= 0}, + minexptime = 0.3, + maxexptime = 0.3, + minsize = 2, + maxsize = 4, + collisiondetection = false, + vertical = true, + texture = "fire.png", + -- playername = "singleplayer" + }) +-- print(id) + meta:set_int("layer_1", id) + + id = minetest.add_particlespawner({ -- 2 layer smol particles fire + amount = 3, + time = 3, + minpos = {x = pos.x - 0.1, y = pos.y, z = pos.z - 0.1}, + maxpos = {x = pos.x + 0.1, y = pos.y + 0.4, z = pos.z + 0.1}, + minvel = {x= 0, y= 0, z= 0}, + maxvel = {x= 0, y= 0.1, z= 0}, + minacc = {x= 0, y= 0, z= 0}, + maxacc = {x= 0, y= 1, z= 0}, + minexptime = 0.3, + maxexptime = 0.3, + minsize = 0.3, + maxsize = 0.7, + collisiondetection = false, + vertical = true, + texture = "fire.png", + -- playername = "singleplayer" -- показывать только определенному игроку. + }) +-- print(id) + meta:set_int("layer_2", id) + + id = minetest.add_particlespawner({ --3 layer smoke + amount = 6, + time = 3, + minpos = {x = pos.x - 0.1, y = pos.y - 0.2, z = pos.z - 0.1}, + maxpos = {x = pos.x + 0.1, y = pos.y + 0.4, z = pos.z + 0.1}, + minvel = {x= 0, y= 0, z= 0}, + maxvel = {x= 0, y= 0.1, z= 0}, + minacc = {x= 0, y= 0, z= 0}, + maxacc = {x= 0, y= 1, z= 0}, + minexptime = 0.6, + maxexptime = 0.6, + minsize = 1, + maxsize = 4, + collisiondetection = true, + vertical = true, + texture = "smoke.png", + -- playername = "singleplayer" + }) +-- print(id) + meta:set_int("layer_3", id) +end + +local function fire_particles_off(pos) + local meta = minetest.get_meta(pos) + local id_1 = meta:get_int("layer_1"); + local id_2 = meta:get_int("layer_2"); + local id_3 = meta:get_int("layer_3"); + minetest.delete_particlespawner(id_1) + minetest.delete_particlespawner(id_2) + minetest.delete_particlespawner(id_3) +end + +-- NODES + +minetest.register_node('new_campfire:campfire', { + description = 'Campfire', + drawtype = 'mesh', + mesh = 'contained_campfire.obj', + tiles = { + {name='invisible.png'}, {name='[combine:16x16:0,0=default_cobble.png:0,8=default_wood.png'}}, + inventory_image = "campfire.png", + wield_image = "[combine:16x16:0,0=fire_basic_flame.png:0,12=default_cobble.png", + walkable = false, + buildable_to = false, + sunlight_propagates = true, + groups = {dig_immediate=3, flammable=0}, + paramtype = 'light', + selection_box = { + type = 'fixed', + fixed = { -0.48, -0.5, -0.48, 0.48, -0.4, 0.48 }, + }, + sounds = default.node_sound_stone_defaults(), + + on_construct = function(pos) + local meta = minetest.env:get_meta(pos) + meta:set_string('infotext', 'Campfire'); + end, + + on_rightclick = function(pos, node, player, itemstack, pointed_thing) + if itemstack:get_name() == "fire:flint_and_steel" then + minetest.sound_play( + "fire_flint_and_steel", + {pos = pos, gain = 0.5, max_hear_distance = 8} + ) + minetest.set_node(pos, {name = 'new_campfire:campfire_active'}) + minetest.add_particle({ + pos = {x = pos.x, y = pos.y, z = pos.z}, + velocity = {x=0, y=0.1, z=0}, + acceleration = {x=0, y=0, z=0}, + expirationtime = 2, + size = 4, + collisiondetection = true, + vertical = true, + texture = "smoke.png", +-- playername = "singleplayer" + }) + end + end, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + end, +}) + +minetest.register_node('new_campfire:campfire_active', { + description = 'Active campfire', + drawtype = 'mesh', + mesh = 'contained_campfire.obj', + tiles = { + {name='invisible.png'}, {name='[combine:16x16:0,0=default_cobble.png:0,8=default_wood.png'}}, + inventory_image = "campfire.png", + wield_image = "[combine:16x16:0,0=fire_basic_flame.png:0,12=default_cobble.png", + walkable = false, + buildable_to = false, + sunlight_propagates = true, + groups = {dig_immediate=3, flammable=0, not_in_creative_inventory=1}, + paramtype = 'light', + light_source = 13, + damage_per_second = 3, + drop = "new_campfire:campfire", + sounds = default.node_sound_stone_defaults(), + selection_box = { + type = 'fixed', + fixed = { -0.48, -0.5, -0.48, 0.48, -0.4, 0.48 }, + }, + + on_construct = function(pos) + local meta = minetest.env:get_meta(pos) + meta:set_string('infotext', 'Active campfire'); + minetest.get_node_timer(pos):start(2) + end, + + on_destruct = function(pos, oldnode, oldmetadata, digger) + fire_particles_off(pos) + local meta = minetest.get_meta(pos) + local handle = meta:get_int("handle") + minetest.sound_stop(handle) + end, + + on_timer = function(pos) -- Every 6 seconds play sound fire_small + local meta = minetest.get_meta(pos) + local handle = minetest.sound_play("fire_small",{pos=pos, max_hear_distance = 18, loop=false, gain=0.1}) + meta:set_int("handle", handle) +-- print (handle) + minetest.get_node_timer(pos):start(6) + end, +}) + +-- ABM +minetest.register_abm({ + nodenames = {"new_campfire:campfire_active"}, +-- neighbors = {"group:puts_out_fire"}, + interval = 3.0, -- Run every 3 seconds + chance = 1, -- Select every 1 in 1 nodes + catch_up = false, + action = function(pos, node, active_object_count, active_object_count_wider) + local fpos, num = minetest.find_nodes_in_area( + {x=pos.x-1, y=pos.y, z=pos.z-1}, + {x=pos.x+1, y=pos.y+1, z=pos.z+1}, + {"group:water"} + ) + if #fpos > 0 then + minetest.set_node(pos, {name = 'new_campfire:campfire'}) + minetest.sound_play("fire_extinguish_flame", + {pos = pos, max_hear_distance = 16, gain = 0.15}) + else + fire_particles_on(pos) + end + end +}) + +-- CRAFTS +minetest.register_craft({ + output = "new_campfire:campfire", + recipe = { + {'', 'group:stick', ''}, + {'group:stone','default:stick', 'group:stone'}, + {'', 'group:stone', ''}, + } +}) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..6749d69 --- /dev/null +++ b/mod.conf @@ -0,0 +1 @@ +name = new_campfire diff --git a/models/License.of.media.txt b/models/License.of.media.txt new file mode 100644 index 0000000..d2c023a --- /dev/null +++ b/models/License.of.media.txt @@ -0,0 +1,10 @@ +========================== +Minetest 0.4 mod: more_fire +-------------------------------------- +Authors of model file: +Nathan Salapat + +contained_campfire.obj + +License of media (models): CC BY-SA +========================== \ No newline at end of file diff --git a/models/contained_campfire.obj b/models/contained_campfire.obj new file mode 100644 index 0000000..2500e35 --- /dev/null +++ b/models/contained_campfire.obj @@ -0,0 +1,475 @@ +# Blender v2.71 (sub 6) OBJ File: 'campfire.blend' +# www.blender.org +mtllib more_fire_contained_campfire.mtl +o Flames_Cube.001 +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 +usemtl 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 +o Contained_Fire_Cube.000 +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 +usemtl 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 diff --git a/textures/campfire.png b/textures/campfire.png new file mode 100644 index 0000000000000000000000000000000000000000..d402fb54a813edebb3e726a9f2203fd8bbcebe32 GIT binary patch literal 636 zcmV-?0)zdDP)D+wJIrn_O_rm|E`Iw*inE&6%(;npC zdM{F1S5G+rx1&A@Fq?q4XZt$DDP8N3Kh`Ao<6iE^y|T+7>8Jv*mUp14D)$C^Veuctcr-T8pbT}w&;V{TNgTncxOu)Vy4)1$F=Cm{g}`8)vY zw+5s?;Kt!<0O0BmlQ=!ly~MufIZ@0P>7DTNc_u2OgMOA~5|3r9m(Xa8y0@KJ_={97 z)Vd7-d;tZmtf60w($F2~>A+3t6to;BfsqjAt10<)X@l6g^q&p1kQWgbl*@a#V?K;x z^;5&w!t$vY0h_vPk(#@V^*wUbpm4We0t6qe3!$pG8g8CFTsdXC6?0$I5kVJDmqydJ zAg=SRkU9E{S0*Ad9Pu)w3;IJ&bPY5GPM+vxIa9&3TkKUOHR&K{Kz6lCcDu?#W>+Wx zFQ1N(+bmOWLCutGH53eIi#Lk~CCj4HY_V_GX;@WOGbJ{*+F}4PnGDMGu^xu|8%WDW zIwXp4Vwe_-U)nKU!1xfL9_}kw^0D!w(jH+l8SH!vRfYGz+<&h#>7Z;j56>UgcEwLf W2;P$E2BR0uxb~_ ikcwN$KmPx>XJ+8|!}PD>$fgZI2?kGBKbLh*2~7Yf0~Z|t literal 0 HcmV?d00001 diff --git a/textures/smoke.png b/textures/smoke.png new file mode 100644 index 0000000000000000000000000000000000000000..594b2c2816e0d2bd79fa649eecb13f42142602c6 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPE^4e$wZ%`eI|HZ^f^a}5g*D<~}J z?CxB=Wa&Nemajksj3q&S!3+-1ZlnP@ah@)YAsp9}6ArM=c&H=B+~J@#W&VQ|42df^ z3>}utm=Y8c++Y&TFnNKqLB~OXlt+tB95`@FY>~)>6ebbRQjwB^M6rYfff4}`5knRu r30BsrEUb>VBw44nD5x1V{a_H;%E@?P+V4j|n;1M@{an^LB{Ts5noK^m literal 0 HcmV?d00001