mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
Added automated arbalest to throwing mod
- Chmod-ed all files - Removed whitespaces - Added automated arbalest in spreadsheet, throwing, and hunters' reserved items - Solves #206
This commit is contained in:
parent
21d9cc4203
commit
aa2f62afb3
0
mods/homedecor_modpack/homedecor/models/homedecor_desk_fan_uv.png
Normal file → Executable file
0
mods/homedecor_modpack/homedecor/models/homedecor_desk_fan_uv.png
Normal file → Executable file
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
@ -27,3 +27,4 @@ pclasses.api.register_class("hunter", {
|
||||
pclasses.api.reserve_item("hunter", "throwing:bow_minotaur_horn")
|
||||
pclasses.api.reserve_item("hunter", "throwing:bow_minotaur_horn_improved")
|
||||
pclasses.api.reserve_item("hunter", "throwing:arrow_mithril")
|
||||
pclasses.api.reserve_item("hunter", "throwing:arbalest_auto")
|
||||
|
0
mods/pclasses/textures/pclasses_grave_button.png
Normal file → Executable file
0
mods/pclasses/textures/pclasses_grave_button.png
Normal file → Executable file
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
@ -20,6 +20,10 @@ Grahpics & sounds: CC-BY 3.0 (see http://creativecommons.org/licenses/by/3.0/leg
|
||||
|
||||
Changelog:
|
||||
|
||||
Update 1.3:
|
||||
- Added automated arbalest, the ultimate weapon
|
||||
- New arbalest texture coherent with steel color
|
||||
|
||||
Update 1.2:
|
||||
- Added arbalest
|
||||
- Defaults initialized
|
||||
|
@ -31,6 +31,7 @@ minetest.register_node("throwing:arrow_build_box", {
|
||||
|
||||
local THROWING_ARROW_ENTITY={
|
||||
physical = false,
|
||||
timer=0,
|
||||
visual = "wielditem",
|
||||
visual_size = {x=0.1, y=0.1},
|
||||
textures = {"throwing:arrow_build_box"},
|
||||
@ -43,6 +44,7 @@ local THROWING_ARROW_ENTITY={
|
||||
}
|
||||
|
||||
THROWING_ARROW_ENTITY.on_step = function(self, dtime)
|
||||
self.timer=self.timer+dtime
|
||||
local newpos = self.object:getpos()
|
||||
if self.lastpos.x ~= nil then
|
||||
for _, pos in pairs(throwing_get_trajectoire(self, newpos)) do
|
||||
|
0
mods/throwing/crafts.lua
Normal file → Executable file
0
mods/throwing/crafts.lua
Normal file → Executable file
BIN
mods/throwing/textures/throwing_arbalest_auto.png
Executable file
BIN
mods/throwing/textures/throwing_arbalest_auto.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 739 B |
BIN
mods/throwing/textures/throwing_arbalest_auto_loaded.png
Executable file
BIN
mods/throwing/textures/throwing_arbalest_auto_loaded.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 798 B |
@ -69,3 +69,11 @@ if not DISABLE_ARBALEST then
|
||||
{'default:steel_ingot', 'farming:string', 'default:stick'},
|
||||
})
|
||||
end
|
||||
|
||||
if not DISABLE_AUTOMATED_ARBALEST then
|
||||
throwing_register_bow ('arbalest_auto', 'Automated arbalest', {x=1, y=1.3, z=0.5}, 40, 3.5, 60, true, {
|
||||
{'default:steel_ingot', 'farming:string', 'default:mese_crystal'},
|
||||
{'default:steel_ingot', 'farming:string', 'default:steel_ingot'},
|
||||
{'default:steel_ingot', 'farming:string', 'default:mese_crystal'},
|
||||
})
|
||||
end
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user