diff --git a/patches/BG-20190416-spider.diff b/patches/BG-20190416-spider.diff new file mode 100644 index 0000000..73d02d8 --- /dev/null +++ b/patches/BG-20190416-spider.diff @@ -0,0 +1,53 @@ +diff -r -u Bucket_Game-basis/mods/codermobs/codermobs/LICENSE Bucket_Game-patched/mods/codermobs/codermobs/LICENSE +--- Bucket_Game-basis/mods/codermobs/codermobs/LICENSE 2019-04-16 13:46:28.398846208 -0400 ++++ Bucket_Game-patched/mods/codermobs/codermobs/LICENSE 2019-04-16 14:20:32.699460635 -0400 +@@ -100,6 +100,24 @@ + Other "mobs_mc" Polar Bear media: CC BY-SA 4.0. Attribution: "mobs_mc" + team. + ++Improved Spider/Bug Sounds ++-------------------------- ++codermobs_damage_giant_exoskeleton, codermobs_death_giant_bug, ++codermobs_use_giant_exoskeleton ++CC BY-SA 4.0. Attribution: Poikilos ++https://creativecommons.org/licenses/by-sa/4.0/ ++ ++Improved Particles ++------------------ ++codermobs_blood, codermobs_damage_stone, codermobs_lott_spider_blood ++CC BY-SA 4.0. Attribution: Poikilos ++https://creativecommons.org/licenses/by-sa/4.0/ ++ ++codermobs_fireball ++CC-BY-SA 3.0. Attribution: Sapier, OldCoder, Poikilos ++https://creativecommons.org/licenses/by-sa/4.0/ ++github.com/AntumMT/mp-animals_modpack/raw/master/animal_dm/License.txt ++ + ---------------------------------------------------------------------- + + Krupnov Pavel and TenPlus1 components: +diff -r -u Bucket_Game-basis/mods/codermobs/codermobs/lott_spider.lua Bucket_Game-patched/mods/codermobs/codermobs/lott_spider.lua +--- Bucket_Game-basis/mods/codermobs/codermobs/lott_spider.lua 2019-04-16 13:46:28.374846927 -0400 ++++ Bucket_Game-patched/mods/codermobs/codermobs/lott_spider.lua 2019-04-16 14:37:35.332705985 -0400 +@@ -113,8 +113,9 @@ + + sounds = { + war_cry = "codermobs_eerie", +- death = "codermobs_howl", +- attack = "codermobs_bellow", ++ damage = "codermobs_damage_giant_exoskeleton", ++ death = "codermobs_death_giant_bug", ++ attack = "codermobs_use_giant_exoskeleton", + }, + } + +Only in Bucket_Game-patched/mods/codermobs/codermobs: sounds +Only in Bucket_Game-patched/mods/codermobs/codermobs: src +Binary files Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_blood.png and Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_blood.png differ +Only in Bucket_Game-patched/mods/codermobs/codermobs/textures: codermobs_damage_stone.png +Binary files Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_fireball.png and Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_fireball.png differ +Binary files Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png and Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png differ +Only in Bucket_Game-basis/mods/codermobs/codermobs/textures: codermobs_nssm_blood_blue.png +Only in Bucket_Game-basis/mods/codermobs/codermobs/textures: codermobs_nssm_blood.png +Only in Bucket_Game-basis/mods/codermobs/codermobs/textures: codermobs_stone_blood.png +Only in Bucket_Game-basis/mods/codermobs/codermobs/textures: doom_blood_effect.png diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/LICENSE b/patches/Bucket_Game-basis/mods/codermobs/codermobs/LICENSE index a1255f3..0a5b9da 100644 --- a/patches/Bucket_Game-basis/mods/codermobs/codermobs/LICENSE +++ b/patches/Bucket_Game-basis/mods/codermobs/codermobs/LICENSE @@ -11,13 +11,44 @@ Kiraly). ---------------------------------------------------------------------- -Code and media for Sapier's "animal_materials", "deer", and "ostrich": -See the associated Lua source files. +Media for "animal_materials", "deer", "elk", "ostrich", and "sacreep- +er": + +See the 5 associated Lua source files. In general, the media is: +CC-BY-SA 3.0 attribution: Sapier and Poikilos except for "sacreeper" +which is just attribution: Sapier. + +The "ostrich" texture is also attribution: OldCoder. + +Code for "animal_materials": Same as media. The other 4 mobs listed +here use new code. + +More about the Elk: + +Pixel Art Elk texture: +CC BY SA 3.0 Attribution: Sapier, Polikilos (skinned by) + +HD (video-based) and Lo-fi (16-color video-based) Elk Textures: +based on Elk video "Elk.webm.360p.vp9" (CC BY 2.0 Generic) +Stephen Baker [BLM/Oregon](blm.gov/yg5c).jpg, Poikilos (skinned by) + +Additionally, "chicken.lua" uses Sapier's 3D egg. See that Lua source +file as well. ---------------------------------------------------------------------- +Car model: +CC-BY-NC-SA 3.0. Attribution: Melkor. +http://creativecommons.org/licenses/by-nc-sa/3.0/ + +---------------------------------------------------------------------- + +mdoege code and/or media +----------------------------- +WTFPL + PilzAdam code and/or media --------------------------- +----------------------------- WTFPL Bat diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/lott_spider.lua b/patches/Bucket_Game-basis/mods/codermobs/codermobs/lott_spider.lua new file mode 100644 index 0000000..f15784b --- /dev/null +++ b/patches/Bucket_Game-basis/mods/codermobs/codermobs/lott_spider.lua @@ -0,0 +1,130 @@ +-- Giant Spider. Descended from LOTT version. + +-- =================================================================== + +local lcname = "lott_spider" +local ucname = "LOTT Spider" +local msname = "codermobs_" .. lcname +local obj_name = "codermobs:" .. lcname + +-- =================================================================== + +mobs_param = { + lcname = lcname , + ucname = ucname , + obj_name = obj_name , + + aoc = 1 , + obr = 1 , + day_mode = true , + min_light = 0 , + max_light = 30 , + min_height = -31000 , + max_height = 31000 , + spawn_chance = 12000 , + spawn_type = "npc" , + + spawn_nodes = { + "default:junglegrass" , + "default:jungleleaves" , + "default:jungletree" , + } , + + add_egg = true , + egg_image = "default_stone.png" , +} + +-- =================================================================== + +codermobs.adjust_param() + +-- =================================================================== + +minetest.register_craftitem (obj_name .. "_meat", { + description = "Cooked Meat", + inventory_image = msname .. "_meat.png", + on_use = minetest.item_eat (4), +}) + +minetest.register_craftitem (obj_name .. "_meat_raw", { + description = "Raw Meat", + inventory_image = msname .. "_meat_raw.png", +}) + +minetest.register_craft ({ + type = "cooking", + output = obj_name .. "_meat", + recipe = obj_name .. "_meat_raw", +}) + +mobs_param.core_param = { + type = mobs_param.spawn_type , + passive = false, + attacks_monsters = true, + hp_min = 15, + hp_max = 30, + collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7}, + textures = { msname .. ".png"} , + visual_size = {x=7,y=7}, + visual = "mesh", + mesh = msname .. ".x", + makes_footstep_sound = true, + view_range = 15, + walk_velocity = 1, + run_velocity = 3, + armor = 200, + damage = 3, + + drops = { + {name = "farming:string", + chance = 2, + min = 1, + max = 3,}, + {name = obj_name .. "_meat_raw", + chance = 4, + min = 1, + max = 2,}, + + }, + + light_resistant = true, + drawtype = "front", + water_damage = 5, + lava_damage = 5, + light_damage = 0, + on_rightclick = nil, + attack_type = "dogfight", + + animation = { + speed_normal = 15, + speed_run = 15, + stand_start = 1, + stand_end = 1, + walk_start = 20, + walk_end = 40, + run_start = 20, + run_end = 40, + punch_start = 50, + punch_end = 90, + }, + jump = true, + step = 1, + blood_texture = msname .. "_blood.png", + + sounds = { + war_cry = "codermobs_eerie", + death = "codermobs_howl", + attack = "codermobs_bellow", + }, +} + +-- =================================================================== + +codermobs.setup_mob() + +mobs:alias_mob ("mobs_monster:spider" , obj_name) + +codermobs.log_done() + +-- =================================================================== +-- End of file. diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/oldcoder.txt b/patches/Bucket_Game-basis/mods/codermobs/codermobs/oldcoder.txt new file mode 100644 index 0000000..3a8d8b3 --- /dev/null +++ b/patches/Bucket_Game-basis/mods/codermobs/codermobs/oldcoder.txt @@ -0,0 +1,19 @@ +Name: codermobs +Source: New mod using existing media files +License: See "LICENSE" + +---------------------------------------------------------------------- + +1. This is a new mod which implements a number of Final Minetest 3D +mobs. + +For general information, see the "_game" documentation, which covers +this mod and the associated modpack in detail. + +---------------------------------------------------------------------- + +2. The code is largely new, but it includes elements from existing +mods. The media files, in most cases, have been extracted from the +same or similar mods. + +For license information, see "LICENSE". diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_blood.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_blood.png new file mode 100644 index 0000000..5dc4d83 Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_blood.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_fireball.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_fireball.png new file mode 100644 index 0000000..173a41b Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_fireball.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png new file mode 100644 index 0000000..5dc4d83 Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood.png new file mode 100644 index 0000000..19ee322 Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood_blue.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood_blue.png new file mode 100644 index 0000000..9231baf Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood_blue.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_stone_blood.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_stone_blood.png new file mode 100644 index 0000000..72234ab Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_stone_blood.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/doom_blood_effect.png b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/doom_blood_effect.png new file mode 100644 index 0000000..2d678a9 Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/doom_blood_effect.png differ diff --git a/patches/Bucket_Game-basis/mods/codermobs/mobs/license.txt b/patches/Bucket_Game-basis/mods/codermobs/mobs/license.txt new file mode 100644 index 0000000..14861e8 --- /dev/null +++ b/patches/Bucket_Game-basis/mods/codermobs/mobs/license.txt @@ -0,0 +1,28 @@ +License for new code not covered below: CC BY-SA 4.0 International. +Copyright (c) 2019 and attribution for the new code: OldCoder (Robert +Kiraly). + +---------------------------------------------------------------------- + +The MIT License (MIT) + +Copyright (c) 2016 TenPlus1 + +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. diff --git a/patches/Bucket_Game-basis/mods/codermobs/mobs/oldcoder.txt b/patches/Bucket_Game-basis/mods/codermobs/mobs/oldcoder.txt new file mode 100644 index 0000000..7cb96c9 --- /dev/null +++ b/patches/Bucket_Game-basis/mods/codermobs/mobs/oldcoder.txt @@ -0,0 +1,41 @@ +Name: mods +Source: For of upstream mod - Do not replace +License: See "license.txt" + +---------------------------------------------------------------------- + +1. This is a fork of an upstream mod. Don't attempt to update or re- +place it. + +To be documented. + +---------------------------------------------------------------------- + +2. Partial list of changes: + +* Multiple bug fixes related to old models that are rotated relative +to today's standard. + +* Bug fix related to behavior of mobs at the edge of cliffs. + +* Mobs that are sensitive to light can now optionally be configured to +burst into flames when light damage occurs. + +* Fix failure of API code to pass riding/driving parameters specified +by higher levels to riding/driving code. + +* Add support for more sophisticated approach to assessing mob densi- +ty. + +* Improve support for amphibious mobs. + +* Better TNT smoke texture. + +* Fix failure in riding/driving code to handle missing parameters. + +* Add support for steering both ground vehicles and aircraft using +the keyboard as well as the mouse. Note: These are separate features. + +* Talking mobs. Multiple languages are supported. + +* Add section to "license.txt" to cover new code. diff --git a/patches/Bucket_Game-basis/mods/codermobs/mobs/textures/mobs_blood.png b/patches/Bucket_Game-basis/mods/codermobs/mobs/textures/mobs_blood.png new file mode 100644 index 0000000..77cfbda Binary files /dev/null and b/patches/Bucket_Game-basis/mods/codermobs/mobs/textures/mobs_blood.png differ diff --git a/patches/Bucket_Game-patched/mods/LICENSE b/patches/Bucket_Game-patched/mods/LICENSE new file mode 100644 index 0000000..4ebf695 --- /dev/null +++ b/patches/Bucket_Game-patched/mods/LICENSE @@ -0,0 +1,12 @@ +For license information, see the following files, where they exist, in +each modpack or mod: + + oldcoder.txt + LICENSE + LICENSE.txt + license.txt + README.md + README.txt + readme.txt + +and/or files with similar names. diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/LICENSE b/patches/Bucket_Game-patched/mods/codermobs/codermobs/LICENSE new file mode 100644 index 0000000..400c27b --- /dev/null +++ b/patches/Bucket_Game-patched/mods/codermobs/codermobs/LICENSE @@ -0,0 +1,175 @@ +All of the files involved are used and distributed under FOSS licens- +es. + +---------------------------------------------------------------------- + +Original components which not covered under other licenses are licens- +ed as follows: + +License: CC BY-SA 4.0 International. Attribution: OldCoder (Robert +Kiraly). + +---------------------------------------------------------------------- + +Media for "animal_materials", "deer", "elk", "ostrich", and "sacreep- +er": + +See the 5 associated Lua source files. In general, the media is: +CC-BY-SA 3.0 attribution: Sapier and Poikilos except for "sacreeper" +which is just attribution: Sapier. + +The "ostrich" texture is also attribution: OldCoder. + +Code for "animal_materials": Same as media. The other 4 mobs listed +here use new code. + +More about the Elk: + +Pixel Art Elk texture: +CC BY SA 3.0 Attribution: Sapier, Polikilos (skinned by) + +HD (video-based) and Lo-fi (16-color video-based) Elk Textures: +based on Elk video "Elk.webm.360p.vp9" (CC BY 2.0 Generic) +Stephen Baker [BLM/Oregon](blm.gov/yg5c).jpg, Poikilos (skinned by) + +Additionally, "chicken.lua" uses Sapier's 3D egg. See that Lua source +file as well. + +---------------------------------------------------------------------- + +Car model: +CC-BY-NC-SA 3.0. Attribution: Melkor. +http://creativecommons.org/licenses/by-nc-sa/3.0/ + +---------------------------------------------------------------------- + +mdoege code and/or media +----------------------------- +WTFPL + +PilzAdam code and/or media +----------------------------- +WTFPL + +Bat +----------------------------- +Code: GPL +Model and texture: CC BY-SA 3.0. Attribution: Defense Subgame. +Sound file: WTFPL + +Birds +----------------------------- +CC BY-SA 3.0. Attribution: models by poikilos (based on sapier's anim- +al_gull.b3d from animals modpack), textures by poikilos. + +Butterfly +----------------------------- +CC BY-SA 3.0. Attribution: AspireMint. + +Realistic Milk Bucket +----------------------------- +Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) +Attribution: Copyright (C) 2015-2016 ElementW, Poikilos (modified by) + + +D00Med code +----------------------------- +GNU Lesser General Public License 2.1 + +D00Med models and/or textures +----------------------------- +CC BY-SA 3.0 Unported. Attribution: D00Med. + +Mr. Goat +----------------------------- +CC BY-SA 3.0. Attribution: Don Batman. + +NSSM components +----------------------------- +No NSSM are believed presently to be used. If they're used in the +future, the applicable license will be GPL3. + +Sapier components +----------------------------- +CC-BY-SA 3.0. Attribution: Sapier. + +"mobs_mc" components +----------------------------- +Code and models: GNU GPL V3 + +Other "mobs_mc" Polar Bear media: CC BY-SA 4.0. Attribution: "mobs_mc" +team. + +Improved Spider/Bug Sounds +-------------------------- +codermobs_damage_giant_exoskeleton, codermobs_death_giant_bug, +codermobs_use_giant_exoskeleton +CC BY-SA 4.0. Attribution: Poikilos +https://creativecommons.org/licenses/by-sa/4.0/ + +Improved Particles +------------------ +codermobs_blood, codermobs_damage_stone, codermobs_lott_spider_blood +CC BY-SA 4.0. Attribution: Poikilos +https://creativecommons.org/licenses/by-sa/4.0/ + +codermobs_fireball +CC-BY-SA 3.0. Attribution: Sapier, OldCoder, Poikilos +https://creativecommons.org/licenses/by-sa/4.0/ +github.com/AntumMT/mp-animals_modpack/raw/master/animal_dm/License.txt + +---------------------------------------------------------------------- + +Krupnov Pavel and TenPlus1 components: + +The MIT License (MIT) + +Copyright (c) 2014 Krupnov Pavel -- bugs, kpgmobs, pmobs +Copyright (c) 2014 Krupnov Pavel and 2016 TenPlus1 -- mobs_animal +Copyright (c) 2016 TenPlus1 -- mobs_monster and mobs_npc + +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. + +---------------------------------------------------------------------- + +Blockmen components: + +Copyright (c) 2015-2016 BlockMen + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must +not claim that you wrote the original software. If you use this +software in a product, an acknowledgment in the product documentation +is required. + +2. Altered source versions must be plainly marked as such, and must +not be misrepresented as being the original software. + +3. This notice may not be removed or altered from any source +distribution. + +(end of document) diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/lott_spider.lua b/patches/Bucket_Game-patched/mods/codermobs/codermobs/lott_spider.lua new file mode 100644 index 0000000..7469934 --- /dev/null +++ b/patches/Bucket_Game-patched/mods/codermobs/codermobs/lott_spider.lua @@ -0,0 +1,131 @@ +-- Giant Spider. Descended from LOTT version. + +-- =================================================================== + +local lcname = "lott_spider" +local ucname = "LOTT Spider" +local msname = "codermobs_" .. lcname +local obj_name = "codermobs:" .. lcname + +-- =================================================================== + +mobs_param = { + lcname = lcname , + ucname = ucname , + obj_name = obj_name , + + aoc = 1 , + obr = 1 , + day_mode = true , + min_light = 0 , + max_light = 30 , + min_height = -31000 , + max_height = 31000 , + spawn_chance = 12000 , + spawn_type = "npc" , + + spawn_nodes = { + "default:junglegrass" , + "default:jungleleaves" , + "default:jungletree" , + } , + + add_egg = true , + egg_image = "default_stone.png" , +} + +-- =================================================================== + +codermobs.adjust_param() + +-- =================================================================== + +minetest.register_craftitem (obj_name .. "_meat", { + description = "Cooked Meat", + inventory_image = msname .. "_meat.png", + on_use = minetest.item_eat (4), +}) + +minetest.register_craftitem (obj_name .. "_meat_raw", { + description = "Raw Meat", + inventory_image = msname .. "_meat_raw.png", +}) + +minetest.register_craft ({ + type = "cooking", + output = obj_name .. "_meat", + recipe = obj_name .. "_meat_raw", +}) + +mobs_param.core_param = { + type = mobs_param.spawn_type , + passive = false, + attacks_monsters = true, + hp_min = 15, + hp_max = 30, + collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7}, + textures = { msname .. ".png"} , + visual_size = {x=7,y=7}, + visual = "mesh", + mesh = msname .. ".x", + makes_footstep_sound = true, + view_range = 15, + walk_velocity = 1, + run_velocity = 3, + armor = 200, + damage = 3, + + drops = { + {name = "farming:string", + chance = 2, + min = 1, + max = 3,}, + {name = obj_name .. "_meat_raw", + chance = 4, + min = 1, + max = 2,}, + + }, + + light_resistant = true, + drawtype = "front", + water_damage = 5, + lava_damage = 5, + light_damage = 0, + on_rightclick = nil, + attack_type = "dogfight", + + animation = { + speed_normal = 15, + speed_run = 15, + stand_start = 1, + stand_end = 1, + walk_start = 20, + walk_end = 40, + run_start = 20, + run_end = 40, + punch_start = 50, + punch_end = 90, + }, + jump = true, + step = 1, + blood_texture = msname .. "_blood.png", + + sounds = { + war_cry = "codermobs_eerie", + damage = "codermobs_damage_giant_exoskeleton", + death = "codermobs_death_giant_bug", + attack = "codermobs_use_giant_exoskeleton", + }, +} + +-- =================================================================== + +codermobs.setup_mob() + +mobs:alias_mob ("mobs_monster:spider" , obj_name) + +codermobs.log_done() + +-- =================================================================== +-- End of file. diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/oldcoder.txt b/patches/Bucket_Game-patched/mods/codermobs/codermobs/oldcoder.txt new file mode 100644 index 0000000..3a8d8b3 --- /dev/null +++ b/patches/Bucket_Game-patched/mods/codermobs/codermobs/oldcoder.txt @@ -0,0 +1,19 @@ +Name: codermobs +Source: New mod using existing media files +License: See "LICENSE" + +---------------------------------------------------------------------- + +1. This is a new mod which implements a number of Final Minetest 3D +mobs. + +For general information, see the "_game" documentation, which covers +this mod and the associated modpack in detail. + +---------------------------------------------------------------------- + +2. The code is largely new, but it includes elements from existing +mods. The media files, in most cases, have been extracted from the +same or similar mods. + +For license information, see "LICENSE". diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_damage_giant_exoskeleton.ogg b/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_damage_giant_exoskeleton.ogg new file mode 100644 index 0000000..af7f325 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_damage_giant_exoskeleton.ogg differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_death_giant_bug.ogg b/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_death_giant_bug.ogg new file mode 100644 index 0000000..6854bb4 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_death_giant_bug.ogg differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_use_giant_exoskeleton.ogg b/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_use_giant_exoskeleton.ogg new file mode 100644 index 0000000..2e3e340 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_use_giant_exoskeleton.ogg differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton0b.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton0b.wav new file mode 100644 index 0000000..872c4a7 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton0b.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton1b.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton1b.wav new file mode 100644 index 0000000..c557c8a Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton1b.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2.wav new file mode 100644 index 0000000..90984d0 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2b.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2b.wav new file mode 100644 index 0000000..82f7151 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2b.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2c.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2c.wav new file mode 100644 index 0000000..2ffff2c Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2c.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_death_giant_bug.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_death_giant_bug.wav new file mode 100644 index 0000000..5dd187a Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_death_giant_bug.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_parry_exoskeleton.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_parry_exoskeleton.wav new file mode 100644 index 0000000..d596bf7 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_parry_exoskeleton.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_use_giant_exoskeleton.wav b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_use_giant_exoskeleton.wav new file mode 100644 index 0000000..cefe993 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_use_giant_exoskeleton.wav differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_blood_doom.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_blood_doom.png new file mode 100644 index 0000000..2d678a9 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_blood_doom.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_blue.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_blue.png new file mode 100644 index 0000000..9231baf Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_blue.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_red.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_red.png new file mode 100644 index 0000000..19ee322 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_red.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood.png new file mode 100644 index 0000000..de83eaa Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood_big.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood_big.png new file mode 100644 index 0000000..fead605 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood_big.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug.png new file mode 100644 index 0000000..fb3749b Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug_big.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug_big.png new file mode 100644 index 0000000..aed2383 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug_big.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone.png new file mode 100644 index 0000000..c1a3f9e Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone_big.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone_big.png new file mode 100644 index 0000000..fc4dfe0 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone_big.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat.png new file mode 100644 index 0000000..e7b8632 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat_big.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat_big.png new file mode 100644 index 0000000..ffa0a77 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat_big.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_fireball.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_fireball.png new file mode 100644 index 0000000..72e09fa Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_fireball.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_blood.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_blood.png new file mode 100644 index 0000000..de83eaa Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_blood.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_damage_stone.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_damage_stone.png new file mode 100644 index 0000000..c1a3f9e Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_damage_stone.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_fireball.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_fireball.png new file mode 100644 index 0000000..72e09fa Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_fireball.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png new file mode 100644 index 0000000..aed2383 Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/mobs/license.txt b/patches/Bucket_Game-patched/mods/codermobs/mobs/license.txt new file mode 100644 index 0000000..14861e8 --- /dev/null +++ b/patches/Bucket_Game-patched/mods/codermobs/mobs/license.txt @@ -0,0 +1,28 @@ +License for new code not covered below: CC BY-SA 4.0 International. +Copyright (c) 2019 and attribution for the new code: OldCoder (Robert +Kiraly). + +---------------------------------------------------------------------- + +The MIT License (MIT) + +Copyright (c) 2016 TenPlus1 + +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. diff --git a/patches/Bucket_Game-patched/mods/codermobs/mobs/oldcoder.txt b/patches/Bucket_Game-patched/mods/codermobs/mobs/oldcoder.txt new file mode 100644 index 0000000..7cb96c9 --- /dev/null +++ b/patches/Bucket_Game-patched/mods/codermobs/mobs/oldcoder.txt @@ -0,0 +1,41 @@ +Name: mods +Source: For of upstream mod - Do not replace +License: See "license.txt" + +---------------------------------------------------------------------- + +1. This is a fork of an upstream mod. Don't attempt to update or re- +place it. + +To be documented. + +---------------------------------------------------------------------- + +2. Partial list of changes: + +* Multiple bug fixes related to old models that are rotated relative +to today's standard. + +* Bug fix related to behavior of mobs at the edge of cliffs. + +* Mobs that are sensitive to light can now optionally be configured to +burst into flames when light damage occurs. + +* Fix failure of API code to pass riding/driving parameters specified +by higher levels to riding/driving code. + +* Add support for more sophisticated approach to assessing mob densi- +ty. + +* Improve support for amphibious mobs. + +* Better TNT smoke texture. + +* Fix failure in riding/driving code to handle missing parameters. + +* Add support for steering both ground vehicles and aircraft using +the keyboard as well as the mouse. Note: These are separate features. + +* Talking mobs. Multiple languages are supported. + +* Add section to "license.txt" to cover new code. diff --git a/patches/Bucket_Game-patched/mods/codermobs/mobs/textures/mobs_blood.png b/patches/Bucket_Game-patched/mods/codermobs/mobs/textures/mobs_blood.png new file mode 100644 index 0000000..77cfbda Binary files /dev/null and b/patches/Bucket_Game-patched/mods/codermobs/mobs/textures/mobs_blood.png differ diff --git a/patches/Bucket_Game-patched/mods/codermobs/oldcoder.txt b/patches/Bucket_Game-patched/mods/codermobs/oldcoder.txt new file mode 100644 index 0000000..1d6a449 --- /dev/null +++ b/patches/Bucket_Game-patched/mods/codermobs/oldcoder.txt @@ -0,0 +1,13 @@ +Name: codermobs +Source: New modpack mixing original and forked mods +License: See notes below + +---------------------------------------------------------------------- + +The full documentation for "codermobs" is presently merged into the +"_game" documentation. + +Media files are derived, in general, from older mods. The code mixes +old and new pieces. + +License files are present in the individual mod directories. diff --git a/patches/prepatch.sh b/patches/prepatch.sh new file mode 100755 index 0000000..3e50d37 --- /dev/null +++ b/patches/prepatch.sh @@ -0,0 +1,135 @@ +#!/bin/bash +# such as meld /home/owner/minetest/games/ENLIVEN/ /home/owner/git/EnlivenMinetest/patches/Bucket_Game-patched/ +me=`basename "$0"` + +customDie() { + if [ -z "$1" ]; then echo "Unknown error."; fi + echo "$1" + exit 1 +} + +project0=Bucket_Game +project1=Bucket_Game-basis +project2=Bucket_Game-patched +project0_path="$HOME/git/EnlivenMinetest/webapp/linux-minetest-kit/minetest/games/$project0" +patches="$HOME/git/EnlivenMinetest/patches" +project1_path="$patches/$project1" +project2_path="$patches/$project2" +if [ ! -d "$patches" ]; then + customDie "You are missing $patches so a patch basis and patched target cannot be created there." +fi +licenses="license.txt LICENSE LICENSE.txt oldcoder.txt LICENSE.md license.md" +usage() { + echo "$me " + echo "* will be copied to $project1 and $project2" + echo + echo "Example:" + echo "$me mods/coderfood/food_basic/init.lua" + echo + echo "* copies the file to $project1 and $project2)" + echo "* also copies $licenses and same in .. and ../.." + echo + echo +} + + + +if [ -z "$1" ]; then + usage + exit 1 +fi + +what=$1 + + + +file0_path="$project0_path/$what" +file1_path="$project1_path/$what" +file2_path="$project2_path/$what" + +echo "* getting parent of $file0_path..." +dir0="$(dirname -- "$(realpath -- "$file0_path")")" +# can't get realpath when directory doesn't exist yet (we make it): +dir1="$(dirname -- "$file1_path")" +dir2="$(dirname -- "$file2_path")" + +dir0_p="$(dirname -- "$(realpath -- "$dir0")")" +dir1_p="$(dirname -- "$dir1")" +dir2_p="$(dirname -- "$dir2")" + +dir0_pp="$(dirname -- "$(realpath -- "$dir0_p")")" +dir1_pp="$(dirname -- "$dir1_p")" +dir2_pp="$(dirname -- "$dir2_p")" + +#echo "* checking $dir0_pp..." +#echo "* checking $dir1_pp..." +#echo "* checking $dir2_pp..." + +if [ ! -d "$project0_path" ]; then + customDie "ERROR: You must have '$project0' installed as '$project0_path'" +fi + +if [ ! -f "$file0_path" ]; then + customDie "ERROR: Missing '$file0_path')" +fi + +if [ ! -d "$dir1" ]; then + mkdir -p "$dir1" || customDie "Cannot mkdir $dir1" +fi + +if [ ! -d "$dir2" ]; then + mkdir -p "$dir2" || customDie "Cannot mkdir $dir2" +fi + +# if file1 exists, overwriting is ok--update basis so diff will make patch correctly +echo "* updating $file1_path" +cp -f "$file0_path" "$file1_path" || customDie "Cannot cp '$file0_path' '$file1_path'" + +if [ -f "$file2_path" ]; then + customDie "Nothing done since '$file2_path' already exists." +fi +echo "* creating $file2_path" +cp -f "$file0_path" "$file2_path" || customDie "Cannot cp '$file0_path' '$file2_path'" + + +eval "arr=($licenses)" +for license in "${arr[@]}"; do + lic0="$dir0/$license" + lic1="$dir1/$license" + lic2="$dir2/$license" + if [ -f "$lic0" ]; then + echo "* updating LICENSE '$lic1'..." + cp -f "$lic0" "$lic1" || customDie "Cannot cp -f '$lic0' '$lic1'" + if [ ! -f "$lic2" ]; then + echo " - also for $project2..." + cp --no-clobber "$lic0" "$lic2" || customDie "Cannot cp -f '$lic0' '$lic2'" + fi + fi + lic0="$dir0_p/$license" + lic1="$dir1_p/$license" + lic2="$dir2_p/$license" + if [ -f "$lic0" ]; then + echo "* updating LICENSE '$lic1'..." + cp -f "$lic0" "$lic1" || customDie "Cannot cp -f '$lic0' '$lic1'" + if [ ! -f "$lic2" ]; then + echo " - also for $project2..." + cp --no-clobber "$lic0" "$lic2" || customDie "Cannot cp -f '$lic0' '$lic2'" + fi + fi + lic0="$dir0_pp/$license" + lic1="$dir1_pp/$license" + lic2="$dir2_pp/$license" + if [ -f "$lic0" ]; then + echo "* updating '$lic1'..." + cp -f "$lic0" "$lic1" || customDie "Cannot cp -f '$lic0' '$lic1'" + if [ ! -f "$lic2" ]; then + echo " - also for $project2..." + cp --no-clobber "$lic0" "$lic2" || customDie "Cannot cp -f '$lic0' '$lic2'" + fi + fi +done + +echo "Done." +echo +echo +