Skip to content
Snippets Groups Projects
Commit 2d60976c authored by dg's avatar dg
Browse files

Bows & Slings are only equipable for people with the Shoot talent

git-svn-id: http://svn.net-core.org/repos/t-engine4@4447 51575b47-30f0-44d4-a5cc-537603b46e54
parent c34b8f48
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,8 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local Talents = require "engine.interface.ActorTalents"
newEntity{
define_as = "BASE_LONGBOW",
slot = "MAINHAND",
......@@ -27,6 +29,7 @@ newEntity{
encumber = 4,
rarity = 5,
combat = { talented = "bow", sound = "actions/arrow", sound_miss = "actions/arrow",},
require = { talent = { Talents.T_SHOOT }, },
archery = "bow",
proj_image = resolvers.image_material("arrow", "wood"),
basic_ammo = { talented = "bow", damrange = 1.4 },
......
......@@ -17,6 +17,8 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local Talents = require "engine.interface.ActorTalents"
newEntity{
define_as = "BASE_SLING",
slot = "MAINHAND",
......@@ -27,6 +29,7 @@ newEntity{
rarity = 5,
combat = { talented = "sling", sound = "actions/arrow", sound_miss = "actions/arrow", },
archery = "sling",
require = { talent = { Talents.T_SHOOT }, },
proj_image = resolvers.image_material("shot_s", "metal"),
basic_ammo = { talented = "sling", damrange = 1.2},
desc = [[Slings are used to hurl stones or metal shots at your foes.]],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment