mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 19:45:22 +09:00
Fixed Some Bugs
This commit is contained in:
@@ -149,7 +149,7 @@ groups['Root']:add_rank{
|
||||
name='Developer',
|
||||
short_hand='Dev',
|
||||
tag='[Dev]',
|
||||
colour={r=179,g=125,b=46},
|
||||
colour={r=57,g=192,b=207},
|
||||
is_admin = true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
@@ -260,7 +260,7 @@ ranks['Sponsor']:edit('allow',false,{
|
||||
['bonus']=true,
|
||||
['bonus-respawn']=true
|
||||
})
|
||||
ranks['Subscription']:edit('allow',false,{
|
||||
ranks['Pay to Win']:edit('allow',false,{
|
||||
['jail']=true,
|
||||
['unjail']=true,
|
||||
['bonus']=true,
|
||||
|
||||
@@ -149,7 +149,7 @@ user:add_rank{
|
||||
name='Guest',
|
||||
short_hand='',
|
||||
tag='',
|
||||
colour={r=132,g=88,b=155},
|
||||
colour={r=143,g=46,b=46},
|
||||
is_default=true,
|
||||
disallow={
|
||||
'build_terrain',
|
||||
|
||||
@@ -120,8 +120,8 @@ Event.register(defines.events.on_built_entity, function(event)
|
||||
local surface = player.surface
|
||||
if entities[entity.name] then
|
||||
local size = entities[entity.name]
|
||||
for (x in 0,size) do for (y in 0,size) do
|
||||
local pos = [entity.position.x+x,entity.position.y+y]
|
||||
for x in 0,size do for y in 0,size do
|
||||
local pos = {entity.position.x+x,entity.position.y+y}
|
||||
local tile = surface.get_tile(pos).name
|
||||
if math.random() < paths[tile]*size*10 then
|
||||
down_grade(surface,pos)
|
||||
|
||||
@@ -30,7 +30,7 @@ end
|
||||
_verbose = false -- Set to true for more on the loading of the files
|
||||
function verbose(str) if _verbose then log(str) print(str) end end
|
||||
verbose('============================= START =============================')
|
||||
require_return_err = false -- Set to false when removing files; set to true for debuging
|
||||
require_return_err = true -- Set to false when removing files; set to true for debuging
|
||||
_require = require
|
||||
require = function(path)
|
||||
local _path = path
|
||||
|
||||
Reference in New Issue
Block a user