Browse Source

improve particles and spider sounds

master
poikilos 6 years ago
committed by Jacob Gustafson
parent
commit
9409acc437
  1. 53
      patches/BG-20190416-spider.diff
  2. 37
      patches/Bucket_Game-basis/mods/codermobs/codermobs/LICENSE
  3. 130
      patches/Bucket_Game-basis/mods/codermobs/codermobs/lott_spider.lua
  4. 19
      patches/Bucket_Game-basis/mods/codermobs/codermobs/oldcoder.txt
  5. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_blood.png
  6. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_fireball.png
  7. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png
  8. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood.png
  9. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood_blue.png
  10. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_stone_blood.png
  11. BIN
      patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/doom_blood_effect.png
  12. 28
      patches/Bucket_Game-basis/mods/codermobs/mobs/license.txt
  13. 41
      patches/Bucket_Game-basis/mods/codermobs/mobs/oldcoder.txt
  14. BIN
      patches/Bucket_Game-basis/mods/codermobs/mobs/textures/mobs_blood.png
  15. 12
      patches/Bucket_Game-patched/mods/LICENSE
  16. 175
      patches/Bucket_Game-patched/mods/codermobs/codermobs/LICENSE
  17. 131
      patches/Bucket_Game-patched/mods/codermobs/codermobs/lott_spider.lua
  18. 19
      patches/Bucket_Game-patched/mods/codermobs/codermobs/oldcoder.txt
  19. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_damage_giant_exoskeleton.ogg
  20. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_death_giant_bug.ogg
  21. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_use_giant_exoskeleton.ogg
  22. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton0b.wav
  23. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton1b.wav
  24. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2.wav
  25. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2b.wav
  26. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2c.wav
  27. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_death_giant_bug.wav
  28. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_parry_exoskeleton.wav
  29. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_use_giant_exoskeleton.wav
  30. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_blood_doom.png
  31. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_blue.png
  32. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_red.png
  33. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood.png
  34. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood_big.png
  35. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug.png
  36. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug_big.png
  37. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone.png
  38. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone_big.png
  39. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat.png
  40. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat_big.png
  41. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_fireball.png
  42. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_blood.png
  43. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_damage_stone.png
  44. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_fireball.png
  45. BIN
      patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png
  46. 28
      patches/Bucket_Game-patched/mods/codermobs/mobs/license.txt
  47. 41
      patches/Bucket_Game-patched/mods/codermobs/mobs/oldcoder.txt
  48. BIN
      patches/Bucket_Game-patched/mods/codermobs/mobs/textures/mobs_blood.png
  49. 13
      patches/Bucket_Game-patched/mods/codermobs/oldcoder.txt
  50. 135
      patches/prepatch.sh

53
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

37
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

130
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.

19
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".

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_fireball.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_nssm_blood_blue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/codermobs_stone_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
patches/Bucket_Game-basis/mods/codermobs/codermobs/textures/doom_blood_effect.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

28
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.

41
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.

BIN
patches/Bucket_Game-basis/mods/codermobs/mobs/textures/mobs_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

12
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.

175
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 <blockmen2015@gmail.com>
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)

131
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.

19
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".

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_damage_giant_exoskeleton.ogg

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_death_giant_bug.ogg

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/sounds/codermobs_use_giant_exoskeleton.ogg

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton0b.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton1b.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2b.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_damage_exoskeleton2c.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_death_giant_bug.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_parry_exoskeleton.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/codermobs_use_giant_exoskeleton.wav

Binary file not shown.

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_blood_doom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_blue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/already-included-but-newname/codermobs_damage_nssm_red.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_blood_big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_bug_big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_stone_big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_damage_sweat_big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/src/newnames/codermobs_fireball.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_damage_stone.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_fireball.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
patches/Bucket_Game-patched/mods/codermobs/codermobs/textures/codermobs_lott_spider_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

28
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.

41
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.

BIN
patches/Bucket_Game-patched/mods/codermobs/mobs/textures/mobs_blood.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

13
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.

135
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 <file_path>"
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
Loading…
Cancel
Save