Browse Source

Extend "/se" to support additional "mob" mods

master
OldCoder 6 months ago
parent
commit
45d7927166
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      builtin/game/chatcommands.lua

+ 13
- 1
builtin/game/chatcommands.lua View File

@@ -798,17 +798,29 @@ local table_spawnentity = {

if not core.registered_entities [entityname] and
string.find (entityname, ":") == nil then
local s = "codermobs:" .. entityname
local s

if true then
s = "codermobs:" .. entityname
end
if core.registered_entities [s] == nil then
s = "codersea:" .. entityname
end
if core.registered_entities [s] == nil then
s = "critters:" .. entityname
end
if core.registered_entities [s] == nil then
s = "dmobs:" .. entityname
end
if core.registered_entities [s] == nil then
s = "fnaf:" .. entityname
end
if core.registered_entities [s] == nil then
s = "manaslimes:" .. entityname
end
if core.registered_entities [s] == nil then
s = "mobs:" .. entityname
end
if core.registered_entities [s] == nil then
s = "petores:" .. entityname
end


Loading…
Cancel
Save