diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-03-07 18:49:41 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-03-07 18:49:41 -0500 |
| commit | 8a02f6693c40d99ab359065d53e8c22ef8554948 (patch) | |
| tree | 2e9cc27d73652bcdd31bfbdef5622b62572d50c6 /gamemode/itemsystem/items/fence.lua | |
| parent | 4d9d034503dac45eea6da1e32da7fa8b2e97ea6a (diff) | |
| download | wintersurvival2-8a02f6693c40d99ab359065d53e8c22ef8554948.tar.gz wintersurvival2-8a02f6693c40d99ab359065d53e8c22ef8554948.tar.bz2 wintersurvival2-8a02f6693c40d99ab359065d53e8c22ef8554948.zip | |
Added half-fence
Diffstat (limited to 'gamemode/itemsystem/items/fence.lua')
| -rw-r--r-- | gamemode/itemsystem/items/fence.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gamemode/itemsystem/items/fence.lua b/gamemode/itemsystem/items/fence.lua index 1749713..2f2c5bf 100644 --- a/gamemode/itemsystem/items/fence.lua +++ b/gamemode/itemsystem/items/fence.lua @@ -8,10 +8,7 @@ ITEM.Recipe = { Resources = {
["Plank"] = 2,
["Sap"] = 1,
- },
- Tools = {
- ["Crystal"] = 1,
- },
+ }
}
ITEM.Structure = {
@@ -26,7 +23,7 @@ ITEM.Structure = { ITEM.Ghost = {
{
- Model = "models/props_wasteland/wood_fence02a.mdl",
+ Model = "models/props_wasteland/wood_fence01a.mdl",
Size = Vector(1,1,1),
Pos = Vector(0,0,0),
Ang = Angle(0,0,0),
@@ -43,7 +40,7 @@ function ITEM:OnPrimary(pl,tr) if (tr.Hit) then
local drop = ents.Create("ws_prop")
- drop:SetModel("models/props_wasteland/wood_fence02a.mdl")
+ drop:SetModel("models/props_wasteland/wood_fence01a.mdl")
local Aim = Angle(0,pl:GetAimVector():Angle().y+90,0)
local Pos = tr.HitPos
if(pl:KeyDown(IN_SPEED)) then
|
