More spelling fixes

This commit is contained in:
bbassie
2019-07-03 16:16:39 +02:00
parent 786525f58f
commit 36aae4fd12
42 changed files with 312 additions and 312 deletions

View File

@@ -2,7 +2,7 @@
-- each button has the button define(s) given along side an auth function, and optional reason callback
-- if a reason callback is used then Store.set(action_name_store,player.name,'BUTTON_NAME') should be called during on_click
-- buttons can be removed from the gui by commenting them out of the config at the bottom of this file
-- the key used for the name of the button is the permision name used by the role system
-- the key used for the name of the button is the permission name used by the role system
local Gui = require 'expcore.gui'
local Roles = require 'expcore.roles'
local Store = require 'expcore.store'
@@ -235,7 +235,7 @@ return {
if not Roles.player_allowed(player,'command/give-warning') then
return not Roles.player_has_flag(action_player,'report-immune')
end
end, -- can report any player that isnt immune and you arnt able to give warnings
end, -- can report any player that isn't immune and you aren't able to give warnings
reason_callback=report_player_callback,
report_player
},

View File

@@ -40,7 +40,7 @@ return {
end,
},
command_admin_only = false, -- when true will only allow chat commands for admins
command_permission = 'command/chat-bot', -- the permision used to allow command prefixs
command_permission = 'command/chat-bot', -- the permission used to allow command prefixes
command_prefix = '!', -- prefix used for commands below and to print to all players (if enabled above)
commands = { -- will trigger only when command prefix is given
['dev']={'chat-bot.not-real-dev'},

View File

@@ -8,7 +8,7 @@ return {
['infinity-chest']=true
},
max_range=50, -- the max range that can be used with the repair command
allow_blueprint_repair=false, -- when true will allow blueprints (things not destroied by biters) to be build instently using the repair command
allow_ghost_revive=true, -- when true will allow ghosts (things destoried by biters) to be build instently using the repair command
allow_blueprint_repair=false, -- when true will allow blueprints (things not destroyed by biters) to be build instantly using the repair command
allow_ghost_revive=true, -- when true will allow ghosts (things destroyed by biters) to be build instantly using the repair command
allow_heal_entities=true -- when true will heal entities to full health that are within range
}

View File

@@ -7,11 +7,11 @@ return {
show_fastest_rocket = true, -- false will not show the time taken for the fastest rocket
show_total_rockets = true, -- false will not show the total number of rockets launched
show_game_avg = true, -- false will hide the avg across the entire map time
rolling_avg = { -- each number will be one stat; 5 means the avg time taken for the last 5 rockets
rolling_avg = { -- each number will be one statistic; 5 means the avg time taken for the last 5 rockets
5,10,25
}
},
milestones = { -- each number will be one stat; 5 means the time that the 5th rocket was launched
milestones = { -- each number will be one statistic; 5 means the time that the 5th rocket was launched
show_milestones=true, -- false will hide this section all together
1,2,5,
10,20,50,
@@ -25,9 +25,9 @@ return {
allow_zoom_to_map = true, -- false will disable the zoom to map feature
allow_remote_launch = true, -- false removes the remote launch button for all players
remote_launch_admins_only = false, -- true will remove the remote launch button for all non (game) admins
remote_launch_role_permision = 'gui/rocket-info/remote_launch', -- value used by custom permission system to allow or disllow the button
remote_launch_role_permission = 'gui/rocket-info/remote_launch', -- value used by custom permission system to allow or disallow the button
allow_toggle_active = true, -- false removes the remote toggle auto launch button for all players
toggle_active_admins_only = false, -- true will remove the toggle auto launch button for all non (game) admins
toggle_active_role_permision = 'gui/rocket-info/toggle-active' -- value used by custom permission system to allow or disllow the button
toggle_active_role_permission = 'gui/rocket-info/toggle-active' -- value used by custom permission system to allow or disallow the button
}
}

View File

@@ -5,7 +5,7 @@ local Roles = require 'expcore.roles'
local seconds, minutes, hours = 60, 3600, 216000
--[[
-- cant use a factory as it has upvalues ;-;
-- cant use a factory as it has up values ;-;
local function playtime(time_required)
return function(player)
if player.online_time > time_required then

View File

@@ -3,5 +3,5 @@ return {
any_user_can_add_new_task = true, -- when false only people with edit permission can make new reports
user_can_edit_own_tasks = true, -- when false only people with edit permission can edit reports
only_admins_can_edit = false, -- true will hide the edit and delete buttons from non (game) admins
edit_tasks_role_permision = 'gui/task-list/edit' -- value used with custom permision system
edit_tasks_role_permission = 'gui/task-list/edit' -- value used with custom permission system
}

View File

@@ -5,8 +5,8 @@ return {
minimum_distance = 100, -- The minimum distance that must be between warp points, creating new ones is blocked when too close
activation_range = 4, -- The distance the player must be to a warp in order to use the warp gui, gui can still be viewed but not used
spawn_activation_range = 20, -- A second activation range which is used for the forces spawn point
default_icon = 'discharge-defense-equipment', -- The deafult icon which is used by warps; must be an item name
user_can_edit_own_warps = false, -- When true the user can always edit warps which they created regaudless of other settings
default_icon = 'discharge-defense-equipment', -- The default icon which is used by warps; must be an item name
user_can_edit_own_warps = false, -- When true the user can always edit warps which they created regardless of other settings
any_user_can_add_new_warp = false, -- When true any user is able to create new warps, however editing may still be restricted
only_admins_can_edit = false, -- When true only admins can edit warps
edit_warps_role_permission = 'gui/warp-list/edit', -- Role permission used by the role system to allow editing warps