Add a stronger arrow (Diamond Arrow)

The craft of the Teleport Arrow has been changed to a mese crystal, and its texture color to green, so it is not confused with the diamond arrow.
This commit is contained in:
upsilon 2019-08-29 18:08:20 +02:00
parent 9e177d2712
commit a9e3bd5a95
No known key found for this signature in database
GPG Key ID: A80DAE1F266E1C3C
10 changed files with 20 additions and 1 deletions

View File

@ -8,6 +8,7 @@ The settings are the following:
```
throwing.enable_arrow = true
throwing.enable_golden_arrow = true
throwing.enable_diamond_arrow = true
throwing.enable_fire_arrow = true
throwing.enable_teleport_arrow = true
throwing.enable_dig_arrow = true

View File

@ -92,6 +92,24 @@ if get_setting("golden_arrow") then
})
end
if get_setting("diamond_arrow") then
throwing.register_arrow("throwing:arrow_diamond", {
itemcraft = "default:diamond",
craft_quantity = 16,
description = "Diamond Arrow",
tiles = {"throwing_arrow_diamond.png", "throwing_arrow_diamond.png", "throwing_arrow_diamond_back.png", "throwing_arrow_diamond_front.png", "throwing_arrow_diamond_2.png", "throwing_arrow_diamond.png"},
target = throwing.target_object,
allow_protected = true,
on_hit_sound = "throwing_arrow",
on_hit = function(self, pos, _, _, object, hitter)
object:punch(hitter, 1, {
full_punch_interval = 1,
damage_groups = {fleshy = 8}
})
end
})
end
if get_setting("dig_arrow") then
throwing.register_arrow("throwing:arrow_dig", {
itemcraft = "default:pick_wood",
@ -119,7 +137,7 @@ end
if get_setting("teleport_arrow") then
throwing.register_arrow("throwing:arrow_teleport", {
itemcraft = "default:diamond",
itemcraft = "default:mese_crystal",
description = "Teleport Arrow",
tiles = {"throwing_arrow_teleport.png", "throwing_arrow_teleport.png", "throwing_arrow_teleport_back.png", "throwing_arrow_teleport_front.png", "throwing_arrow_teleport_2.png", "throwing_arrow_teleport.png"},
allow_protected = true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

After

Width:  |  Height:  |  Size: 1.7 KiB