From 79c1c484eab6fbf36a69d155a324540887e38880 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 29 Oct 2016 17:51:13 -0400 Subject: Got shops working --- gamemode/shared/npcsystem/rat.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gamemode/shared/npcsystem/rat.lua') diff --git a/gamemode/shared/npcsystem/rat.lua b/gamemode/shared/npcsystem/rat.lua index d1c5422..ab96883 100644 --- a/gamemode/shared/npcsystem/rat.lua +++ b/gamemode/shared/npcsystem/rat.lua @@ -23,8 +23,8 @@ NPC.IdleSequences = { --Drops should be formated as [index]={["item name"], percent_drop} where percent_drop is a number from 0 to 100 NPC.Drops = { - [0] = {"Meat",100},--Rats will drop at least 1 meat, and have a 50% chance of dropping 2 - [1] = {"Meat",50}, + [0] = {"Rat Meat",100},--Rats will drop at least 1 meat, and have a 50% chance of dropping 2 + [1] = {"Rat Meat",50}, } --Attacks should be formated as [i]={function attackpriority() = function doattack()} @@ -47,7 +47,7 @@ local dorun = function(self,ply) direction:Normalize() local addition = direction * 1000 local topos = self:GetPos() + addition - print("I want to go to ", topos) + --print("I want to go to ", topos) self.TargetPos = topos end NPC.Attacks = { -- cgit v1.2.3-70-g09d2