diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-24 18:08:43 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-24 18:08:43 -0400 |
| commit | cda70b47f13623d086188f686c005a017ccc5b25 (patch) | |
| tree | b3ecc32afbc1f96097ffac57279569b3cc31d7dd /lua/autorun | |
| parent | d370c6c0f7d9249065bcdb9b2c7b80c3fe6470a6 (diff) | |
| download | artery_editor-cda70b47f13623d086188f686c005a017ccc5b25.tar.gz artery_editor-cda70b47f13623d086188f686c005a017ccc5b25.tar.bz2 artery_editor-cda70b47f13623d086188f686c005a017ccc5b25.zip | |
Vairious updates
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 |
