diff options
Diffstat (limited to 'lua/autorun')
| -rw-r--r-- | lua/autorun/town.lua | 8 | ||||
| -rw-r--r-- | lua/autorun/zone_huntingground.lua | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lua/autorun/town.lua b/lua/autorun/town.lua index 40131df..0d36f41 100644 --- a/lua/autorun/town.lua +++ b/lua/autorun/town.lua @@ -80,6 +80,14 @@ local fakes = { GetItemByName = function(string) return {} end + }, + ["sv_huntingspawner.lua"] = { + CreateSpawnNode = function(tbl) + local pos = tbl.Position + local e = ents.Create("info_edit_huntablespawn") + e:SetPos(pos) + e:Spawn() + end } } fakes["core/npc/sv_npcsystem.lua"] = fakes["sv_npcsystem.lua"] diff --git a/lua/autorun/zone_huntingground.lua b/lua/autorun/zone_huntingground.lua index 57847ca..b2b76e0 100644 --- a/lua/autorun/zone_huntingground.lua +++ b/lua/autorun/zone_huntingground.lua @@ -77,7 +77,7 @@ hook.Add("ShowZoneOptions","artery_huntingground",function(zone,class,DPanel,zon monsterlb:SizeToContents() local freqlb = vgui.Create("DLabel",headerbar) freqlb:Dock(RIGHT) - freqlb:SetText("Spawn frequency (0-100) : Health") + freqlb:SetText("Health : Spawn frequency (0-100)") freqlb:SetDark(true) freqlb:SizeToContents() @@ -114,6 +114,7 @@ hook.Add("ShowZoneOptions","artery_huntingground",function(zone,class,DPanel,zon local monstertype = vgui.Create("DComboBox",thisbar) monstertype:Dock(LEFT) + if not monsters then find_monsters() end for i,j in pairs(monsters) do monstertype:AddChoice(j) end |
