content
stringlengths
5
1.05M
ev3=require "ev3" plop=TachoMotor:new("plop")
object_tangible_furniture_city_road_torch_12x32_03 = object_tangible_furniture_city_shared_road_torch_12x32_03:new { } ObjectTemplates:addTemplate(object_tangible_furniture_city_road_torch_12x32_03, "object/tangible/furniture/city/road_torch_12x32_03.iff")
local local0 = 0.3 local local1 = 0.3 - local0 local local2 = 0.3 - local0 local local3 = 0.3 - local0 local local4 = 3.2 - local0 local local5 = 0.3 - local0 local local6 = 0.3 - local0 local local7 = 0.3 - local0 local local8 = 0.3 - local0 local local9 = 0.3 - local0 function OnIf_263005(arg0, arg1, arg2) if arg...
print(0.0) print(-0.0)
--[[ Frame class - Frame() table<GUIObject> getChildren() void setSize(Vector2D offset, Vector2D scale) void setPosition(Vector2D offset, Vector2D scale) Vector2D, Vector2D getSize() Vector2D, Vector2D getPosition() ]]-- local Event = require("core/Event") local RGBColor = require("datatypes/RGBColor") loca...
local widget = require( "widget" ) local composer = require( "composer" ) local json = require ("json") local myData = require ("mydata") local upgrades = require("upgradeName") local loadsave = require( "loadsave" ) local terminalScene = composer.newScene() -------------------------------------------------------------...
-- Copyright 2022 SmartThings -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in ...
local keys_helper = require('apicast.policy.3scale_batcher.keys_helper') local setmetatable = setmetatable local ipairs = ipairs local insert = table.insert local resty_lock = require 'resty.lock' local _M = {} local mt = { __index = _M } local lock_timeout = 10 local lock_options = { timeout = lock_timeout } -- N...
local BF_NIL = "BF_NIL" local realmName local reseverdata={}; local AllReseverData={}; local BankSaveData; local function BigFootBank_SendData(sender) local completely = true local Str="BigFootBankData:"; local SayTab={} local ii =0; if BankSaveData[realmName].bankData then if BankSaveData[realmName].bankData.n...
return { source = { type = 'dist', location = 'https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.5.1.tar.bz2', sha256sum = '6c2f3af8ceeb303277d44ec0216d9a1271701f65b91d5942264cf7cefb4a11e3' }, build = { type = 'gnu', options = { '--includedir=/include'...
require('components/boss/items') require('components/boss/ai') require('components/boss/bosses') require('components/boss/spawn') require('components/boss/ngp')
require "prototypes.technologies.satellite-telemetry" local text ={ type = "flying-text", name = "introspection-flying_text", flags = {"placeable-off-grid", "not-on-map"}, time_to_live = 60, speed = 0.05 } data:extend{text}
fcEmptyAnimations = {--luacheck: allow defined top filename = "__TheFatController__/graphics/trans1.png", priority = "medium", width = 1, height = 1, direction_count = 18, frame_count = 1, animation_speed = 0.15, shift = {0.0, 0.0}, axially_symmetrical = true } fcEmptyLevel = {--lua...
data:extend( { { type = "virtual-signal", name = "counting-signal", icon = "__UsefulCombinators__/graphics/icons/signal/counting-signal.png", subgroup = "virtual-signal", order = "z[counting]" }, { type = "virtual-signal", name = "time-mod-signal", icon = "__UsefulCombi...
--------------------------------------------------------------------------------------------------- ---main_menu_manager.lua ---author: Karl ---date: 2021.5.9 ---desc: implements a menu manager object that initializes menu pages and handles menu exit for the --- main menus ------------------------------------------...
place = {"унутар", "ван"}
--// Fast table restore --// Add your default values to the LoaderHead --// You can add your hook on the someone scene: AddLoaderHook("FunctionName") function LoaderHead() Font["Name"] = "Arial" Font["Text"] = "Arial" Font["TextColor"] = "white" Font["NameColor"] = "red" end
object_tangible_quest_som_jedi_two_glyph_03 = object_tangible_quest_shared_som_jedi_two_glyph_03:new { } ObjectTemplates:addTemplate(object_tangible_quest_som_jedi_two_glyph_03, "object/tangible/quest/som_jedi_two_glyph_03.iff")
OpenNefia.Prototypes.Elona.EquipSlot.Elona = { Head = { Name = "頭", }, Neck = { Name = "首", }, Back = { Name = "背中", }, Body = { Name = "胴体", }, Hand = { Name = "手", }, Ring = { Name = "指", }, Arm = { Name = "腕",...
function EventHorizon:InitializeClass() self.config.gcdSpellID = 118 -- Polymorph self.config.hastedSpellID = {118,1.7} self.config.past = -1 -- Number of seconds to show in the past. Default = -1 self.config.future = 9 -- Number of seconds to show in the future. Default = 9 -- Arcane -- Clearcasting proc, ...
local function rot9r(n, m) local a,b,c,d,e,f,g,h,i=1,2,3,4,5,6,7,8,9 local s = "" for x=1,n do a,b,c,d,e,f,g,h,i=i,a,b,c,d,e,f,g,h if x == m then s = table.concat{a,b,c,d,e,f,g,h,i} end c,d = d,c end return table.concat{a,b,c,d,e,f,g,h,i, s} end assert(rot9r(0,0) == "123456789") assert(rot9r(10,0...
-- Databox -- This library automatically loads and saves it's storage into databox.json inside Documents directory. -- And it uses iCloud KVS storage on iOS and tvOS. -- It uses metatables to do it's job. -- Require the library and call it with a table of default values. Only 1 level deep table is supported. -- support...
-- This tests the format, not the randomness -- https://tools.ietf.org/html/rfc4122#section-4.4 local pattern = "^" .. table.concat({ string.rep("%x", 8), string.rep("%x", 4), "4" .. -- version string.rep("%x", 3), "[89ab]" .. -- reserved bits of 1 and 0 string.rep("%x", 3), string.rep("%x", 12), }, "%-") .. "...
resource_manifest_verion '44febabe-d386-4d18-afbe-5e627f4af937' game 'gta5' author 'Ardavan81' description 'Fix & Clean Command For Staff Team' client_script 'client.lua' server_script 'server.lua'
veermok_hunter = Creature:new { objectName = "@mob/creature_names:veermok_hunter", socialGroup = "veermok", faction = "", level = 17, chanceHit = 0.32, damageMin = 160, damageMax = 170, baseXp = 1257, baseHAM = 3500, baseHAMmax = 4300, armor = 0, resists = {115,-1,5,5,5,5,5,-1,-1}, meatType = "meat_carnivo...
require "oil" oil.main(function() local orb = oil.init() ------------------------------------------------------------------------------ orb:loadidl [[ module Adaptation { interface Server { boolean do_something_for(in long seconds); }; interface Adaptor { void update_definition(in string definitio...
local serialize = require "serialize" local t = require "testhelper" local function reco( v ) return load( 'return ' .. serialize( v ) )() end -- Simple values t( reco( nil ), nil, t.deepsame ) t( reco( true ), true, t.deepsame ) t( reco( 1 ), 1, t.deepsame ) t( reco( "hi" ), "hi", t.deepsame ) t( reco( {} ), {}, t...
local playsession = { {"ZeroBeta", {1081206}}, {"ManuelG", {1056004}}, {"cogito123", {1102163}}, {"Edyconex", {367832}}, {"yulingqixiao", {777960}}, {"captnemo", {287204}}, {"Kiwicake", {275970}}, {"kendoctor", {1059509}}, {"TheLeu", {539017}}, {"Lucasuper32", {291238}}, {"tykak", {387916}}, {"jackazzm", {9...
-------------------------------------------------------------------------------- -- 81-722 I/O module -------------------------------------------------------------------------------- -- Copyright (C) 2013-2018 Metrostroi Team & FoxWorks Aerospace s.r.o. -- Contains proprietary code. See license.txt for additional infor...
local Terminal = require('opus.terminal') local trace = require('opus.trace') local Util = require('opus.util') local colors = _G.colors local os = _G.os local printError = _G.printError local term = _G.term local window = _G.window local UID = 0 local multishell = { } local proc...
if not modules then modules = { } end modules ['font-otj'] = { version = 1.001, comment = "companion to font-lib.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files", } -- This property based...
local util = require("pandoc_vim_help.util") local M = {} local link_target_prefix function M.Meta(e) link_target_prefix = e.link_target_prefix return e end function M.Link(e) if not link_target_prefix then return e end if util.starts_with(e.target, "http://") or util.starts_with(e.target, "https://") ...
-- Copyright (c) 2008 Mikael Lind -- -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation -- files (the "Software"), to deal in the Software without -- restriction, including without limitation the rights to use, -- copy, modify, merge, publis...
-- NaoTH controller for the logfile based "simulator" project "GeneralAlignment" kind "ConsoleApp" language "C++" includedirs { "../Source/GeneralAlignment/", } files { "../Source/GeneralAlignment/**.cpp", "../Source/GeneralAlignment/**.h", "../Source/GeneralAlignment/**.hpp" } link...
--[[ Shine No Rookies - Server ]] local InfoHub = Shine.PlayerInfoHub local Plugin = ... Plugin.Version = "1.7" Plugin.ConfigName = "NoRookies.json" Plugin.DefaultConfig = { UseSteamTime = true, MinPlayer = 0, MinPlayerCom = 0, DisableAfterRoundtime = 0, MinPlaytime = 8, MinComPlaytime = 8, ShowInform = true,...
-- -- Ideal public usage: -- -- p = Python.New() -- p:Install({ -- Pip = true, -- PythonDev = true, -- VirtualEnv = true, -- Gunicorn = true, -- }) -- local Python = {} Python.__index = Python -- ---------------- -- private methods -- ---------------- local function installPythonDev() AptGet({ ...
local _, nCore = ... local unpack = unpack function nCore:CreateAnchor(name, width, height, location) local anchorFrame = CreateFrame("Frame", name.."_Anchor", UIParent, "BackdropTemplate") anchorFrame:SetSize(width, height) anchorFrame:SetScale(1) anchorFrame:SetPoint(unpack(location)) anchorFram...
coslogon.logoffUser()
--[[ "A moment of silence for my old Ipad 3 as FGO EN ditched support for iOS 9" - ryuga93 --]] local ankuluaUtils = require "ankulua-utils" local stringUtils = require "string-utils" --Constants --Weak, resist, etc. Compatiable for most server, but tricky, frequently fail. local Card1AffinRegion = Region...
object_tangible_furniture_rustic_armoire_rustic_s01 = object_tangible_furniture_rustic_shared_armoire_rustic_s01:new { } ObjectTemplates:addTemplate(object_tangible_furniture_rustic_armoire_rustic_s01, "object/tangible/furniture/rustic/armoire_rustic_s01.iff")
local defs = {} defs["ImColor"] = "struct ImColor" defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" defs["ImDrawChannel"] = "struct ImDrawChannel" defs["ImDrawCmd"] = "struct ImDrawCmd" defs["ImDrawCmdHeader"] = "struct ImDrawCmdHeader" defs["ImDrawData"] = "struct ImDrawData" def...
if not (GetLocale() == "deDE") then return end local _, db = ...
-- Note: Premake5 crashes if there is no valid platform for a project. -- Since this plugin is only supported on Windows, we must not define it -- if the host platform is not Windows. if not minko.platform.supports { "windows32", "windows64" } then return end PROJECT_NAME = path.getname(os.getcwd()) minko.project.l...
function init() local bounds = mcontroller.boundBox() effect.addStatModifierGroup({ {stat = "jumpModifier", amount = 20.0} }) end function update(dt) mcontroller.controlModifiers({ airJumpModifier = 7.0 }) end function uninit() end
local Native = require('lib.native.native') ---@class AbilityIntegerLevelField local AbilityIntegerLevelField = { ManaCost = Native.ConvertAbilityIntegerLevelField(0x616D6373), --ABILITY_ILF_MANA_COST NumberOfWaves = Native.ConvertAbilityIntegerLevelField(0x48627A31), --ABILITY_ILF_NUMBER_OF_WAVES NumberOf...
-- Generated by CSharp.lua Compiler local System = System System.namespace("Slipe.Client.Dx", function (namespace) -- <summary> -- Interface for drawable objects on render -- </summary> namespace.interface("IDrawable", function () return {} end) end)
local modpath = minetest.get_modpath("bromeliads") -- Add everything: local modname = "bromeliads" local regBrom = function(color, capColor) minetest.register_node("bromeliads:bromeliad_"..color, { description = capColor .. " Bromeliad", drawtype = "plantlike", waving = 1, visual_scale = 1.0, tiles = ...
local _, private = ... if private.isClassic then return end --[[ Lua Globals ]] -- luacheck: globals --[[ Core ]] local Aurora = private.Aurora local Base = Aurora.Base local Hook, Skin = Aurora.Hook, Aurora.Skin local Util = Aurora.Util do --[[ FrameXML\HelpTip.lua ]] local directions = { "Down", ...
cc = cc or {} ---EventListener object ---@class EventListener : Ref local EventListener = {} cc.EventListener = EventListener -------------------------------- --- Enables or disables the listener.<br> ---note Only listeners with `enabled` state will be able to receive events.<br> ---When an listener was initialized, i...
local addonName, addonScope = ... local data = addonScope.data local AL = addonScope.AL local ALIL = addonScope.ALIL local NORMAL_DIFF = addonScope.NORMAL_DIFF local ALLIANCE_DIFF = addonScope.ALLIANCE_DIFF local HORDE_DIFF = addonScope.HORDE_DIFF local LOAD_DIFF = addonScope.LOAD_DIFF local NORMAL_ITTYPE = addonScope....
----------------------------------------------------- ITEM.name = "Chartogne - Taillet 1902" ITEM.desc = "Bottle of Chartogne - Taillet Champagne, 1902." ITEM.category = "Alcohols" ITEM.model = "models/foodnhouseholditems/champagne2.mdl" ITEM.hunger = 10 ITEM.thirst = 40 ITEM.empty = false ITEM.permit = "cons...
local function find_digest_in_process_set(digest, threshold) local process_cursor = 0 local job_cursor = 0 local pattern = "*" .. digest .. "*" local found = false log_debug("Searching in process list", "for digest:", digest, "cursor:", process_cursor) repeat ...
-- Server Objects includeFile("custom_content/tangible/deed/player_house_deed/musty_house_deed.lua") includeFile("custom_content/tangible/deed/player_house_deed/jedi_house_deed.lua") includeFile("custom_content/tangible/deed/player_house_deed/vipbunker_house_deed.lua") includeFile("custom_content/tangible/deed/player_h...
local export = {} function export.new() local api = {} local log = require('log') local checks = require('checks') local netbox = require('net.box') local query = require('model.query').model() ----------------- -- API methods -- ----------------- function api.create_database() ...
data.raw["assembling-machine"]["centrifuge"].fast_replaceable_group = "centrifuge" data.raw["boiler"]["heat-exchanger"].fast_replaceable_group = "heat-exchanger" data.raw["reactor"]["nuclear-reactor"].fast_replaceable_group = "nuclear-reactor"
-- Reload recipes and technologies for _, force in pairs(game.forces) do force.reset_recipes() force.reset_technologies() -- Generate technology and recipe tables local tech = force.technologies local recipes = force.recipes -- Unlock researched recipes if tech["atomic-bomb"].researched then recipes["atomic-...
local list = {"proton", "neutron", "electron", "anti-electron", "anti-proton","muon", "up-quark", "down-quark", "photon", "strange-quark", "electron-neutrino", "muon-neutrino", "tauon", "charm-quark", "bottom-quark", "tau-neutrino", "w-boson", "z-boson", "top-quark", "gluon", "higgs-boson"} for k,v in pairs(list) do d...
local path = "?;?.lua;../?;../?.lua" package.path = path
local Mod = GameMain:GetMod("CanVox.NewCharRandomizer") Mod.InputFilter = Mod.InputFilter or {} local filter = { Name = "Basic", DisplayName = "Basic", Sort = 4000, DefaultPriority = 6000, Age = { Min = 23, Max = 40, }, Stats = { Total = { Min = 21, ...
--[[ MIT License Copyright (c) 2019 Michael Wiesendanger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
function moveCamKeys() local keyDown = love.keyboard.isDown local keys = { {"a", 1, 0.1}; {"d", 1, -0.1}, {"q", 2, 0.1}; {"e", 2, -0.1}, {"s", 3, 0.1}; {"w", 3, -0.1}, } for _,k in ipairs(keys) do if keyDown(k[1]) then local raw_offset = {0, 0, 0} raw_offset[k[2]] = k[3] loc...
local cjson = require "cjson" local http = require "resty.http" local balancer = require "ngx.balancer" local _M = {} _M._VERSION="0.1" function indexOf(array, value) for i, v in ipairs(array) do if v == value then return i end end return nil end function _M:refresh(tag) ...
local itemTypes = {} local npc_coins = { 10, 33, 88, 103, 138, 152, 251, 252, 253, 258, 274 } local npc_radishes = { 9, 184, 185, 249 } local npc_fire_plants = { 14, 182, 183 } local npc_ice_plants = { 264, 277 } local npc_lives = { 90, 186, 187 } local npc_shells = { 5, 7, 24, 73, 113, 114...
-- Format for overwriting define values: -- -- NDefines.NDiplomacy.DEMESNE_BASE_MAX_SIZE = 2.0 NDefines.NDiplomacy.LONG_REIGN_YEARS_START = 50 NDefines.NDiplomacy.MAX_LONG_REIGN_BONUS = 20 NDefines.NDiplomacy.RETIRE_TO_MONASTERY_INTERACTION_PIETY = 100000 NDefines.NDiplomacy.RETIRE_TO_MONASTERY_INTERACTION_ENABLED = 0 ...
-- -- Created by IntelliJ IDEA. -- User: damian -- Date: 13/01/2017 -- Time: 23:54 -- To change this template use File | Settings | File Templates. -- SectionB = {} function SectionB:new() o = {activeBassBlocks={}} setmetatable(o, self) self.__index = self return o end function SectionB:HandleKick() ...
-- Created by Elfansoer --[[ Ability checklist (erase if done/checked): - Scepter Upgrade - Break behavior - Linken/Reflect behavior - Spell Immune/Invulnerable/Invisible behavior - Illusion behavior - Stolen behavior ]] -------------------------------------------------------------------------------- modifier_generic_l...
if battle == 2 then character_2:UseSkill(1) end
local xxtea = require 'xxtea' local function randstr(n) local t = {} for i = 1, math.random(0, n) do t[i] = string.char(math.random(0, 255)) end return table.concat(t) end math.randomseed(os.time()) for i = 1, 1000 do local str = randstr(10000) local key = randstr(16) assert(xxtea.decrypt(xxtea.encrypt(str,...
--[[ Name: Sink-2.0 Revision: $Rev: 71 $ Author(s): Rabbit (rabbit.magtheridon@gmail.com), Antiarc (cheal@gmail.com) Website: http://rabbit.nihilum.eu Documentation: http://wiki.wowace.com/index.php/Sink-2.0 SVN: http://svn.wowace.com/wowace/trunk/SinkLib/Sink-2.0 Description: Library that handles chat output. Dependen...
-- this function gives time in ms; must be changed depending on system return draw.gettime
--------------------------------------------- -- Vitriolic Shower -- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadow -- Range: Cone --------------------------------------------- require("scripts/globals/...
-- rcore.cz -- Some-RP.cz -- forum.some-rp.cz ESX = nil AdminPlayers = {} TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) RegisterCommand('tag', function(source,args) local xPlayer = ESX.GetPlayerFromId(source) if AdminPlayers[source] == nil then if Config.TagByPermission then ...
arrestPlayer = function(thief, cop, command) local i = thief local player = cop local thiefData = players[thief] local copData = players[cop] if not copData then eventNewPlayer(cop) return arrestPlayer(thief, cop, command) elseif not thiefData then eventNewPlayer(thief) return arrestPlayer(thief, cop, com...
Ground = { def = "ground_actor", position = {0, -11}, tag = "spawned", layer = "foreground", } Bouncy = { def = "physics_event_actor", position = {0, 8}, layer = "foreground", tag = "spawned", } Hud = { def = "simple_actor", size = 3, position = {0, 1}, alpha = 1.0, layer = "hud", color = ...
local a=loadstring(game:HttpGet("https://raw.githubusercontent.com/miroeramaa/TurtleLib/main/TurtleUiLib.lua"))()local b=a:Window("Scripts")local c=a:Window("LocalPlayer")local d=a:Window("Teleport Areas")local e=a:Window("FE Commands")e:Button("Become Manager",function()local f=game:GetService("Teams").Manager:GetPlay...
data:extend( { { type = "recipe", name = "pneumatic-tube", enabled = true, ingredients = { {"copper-plate", 2}, {"iron-gear-wheel", 3} }, result = "pneumatic-tube", result_count = 2, requester_paste_multiplier = 4 } } )
local path = string.sub(..., 1, string.len(...) - string.len(".row")) local layout = require(path..'.layout') ---@class Row local row = {} row.__index = row ---@return layout function row.new() local self = setmetatable({}, row) return layout(self, self.draw) end function row:draw(x, y, width, height, children...
-- Some helpers around löve functions. local LG = love.graphics -- rotates the scene around the given x,y point. local function rotateAround(x, y, angle) if angle and angle ~= 0 then LG.translate(x, y) LG.rotate(angle) LG.translate(-x, -y) end end -- scale around the given x,y point. local function sc...
-- code128-encode.lua by ywnico -- Code 128 encoding following https://en.wikipedia.org/wiki/Code_128 local patterns = { [0] = {1,1,0,1,1,0,0,1,1,0,0}, [1] = {1,1,0,0,1,1,0,1,1,0,0}, [2] = {1,1,0,0,1,1,0,0,1,1,0}, [3] = {1,0,0,1,0,0,1,1,0,0,0}, [4] = {1,0,0,1,0,0,0,1,1,0,0}, [5] = ...
-------------------------------------------------------------------------- -- This derived class of MName handles the latest modifiers for both -- prereq and load. -- -- @classmod MN_Latest require("strict") -------------------------------------------------------------------------- -- Lmod License -------------------...
local Root = script:GetCustomProperty("Root"):WaitForObject() local enabled = Root:GetCustomProperty("Enabled") if not enabled then return end local Commands = require(script:GetCustomProperty("Commands")) function seperateMessage(Message) return {CoreString.Split(Message, " ")} end function VerifyPlayer() e...
--------------------------------------------------------------------------------------------------- -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0221-multiple-modules.md -- Description: -- HMI sent capabilities where every type of modules have only one module available to the ...
LookupTable = {} function LookupTable.new(XMin, XMax, YMin, YMax, Size, DataPoints) -- Make shallow copy of data local DP = { unpack(DataPoints) } -- And sort it by X value table.sort(DP, function (a,b) return a[1] < b[1] end) -- Add proper boundaries so we don't have to deal with the edges if DP[1][...
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: Particle Gate -- !pos -39 0 -319 34 ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) player:startEvent(172) return 1 end function onEventUpdate(player, csid, option) end ...
_player=_player||player local cable={}local net_cache={}function cable.receive(id,callback)if SERVER then cable.check_networked_string(id)end return net.Receive(id,function(length,player)local c_len=net.ReadUInt(8)local c_tables=table.map(string.split(net.ReadString(),";"),function(v)return tonumber(v)end)local args={}...
--[[ tp8_bend __ ______ __ __ | \ / \ | \ | \ _| $$_ ______ | $$$$$$\ | $$____ ______ _______ ____| $$ | $$ \ / \ | $$__/ $$ | $$ \ / \ | \ / ...
Config = {} Config.RestrictedChannels = 20 -- channels that are encrypted (EMS, Fire and police can be included there) if we give eg 10, channels from 1 - 10 will be encrypted Config.enableCmd = true -- /radio command should be active or not (if not you have to carry the item "radio") true / false Config.messages = ...
-- Make Y behave like other capitals D, C... vim.api.nvim_set_keymap('n', 'Y', 'y$', { noremap = true }) -- Fast nohls vim.api.nvim_set_keymap('n', '<TAB><CR>', ':nohls<CR>', { noremap = true }) -- Editing and sourcing the vimrc faster vim.api.nvim_set_keymap('n', '<leader>ev', ':find $MYVIMRC<CR>', { noremap = true ...
--[[ Copyright (c) 2009 Peter "Corsix" Cawley Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
return function(t) assert_table(t) local result = {} for k, v in pairs(t) do result[#result + 1] = {key = k, value = v} end return result end
--[[ Visual Novel Example ]] scenes = {} fonts = {} colors = { menuitem = Color.from_hex('#AAAAAA'), bg = Color.from_hex('#333333'), white = Color.from_hex("#ffffff") } game.on('init', function() -- create a font. font_tex1 = assets.load_texture("fonts/arial_20.png") font_sm1 = assets.load_spritema...
-- For the love of furry heck, THIS PLACE NEEDS A CLEAN! -- Props will autotaunt at specified intervals local isEnabled = false local isProp = false local delay = PHX.CVAR.AutoTauntDelay:GetInt() or 6 local started = false local timerID = "ph_autotaunt_timer" local teamCheckTimer = "ph_autotaunt_teamchecktimer" local ...
object_tangible_item_entertainer_console_stage_generated_backdrop_wide_04 = object_tangible_item_entertainer_console_shared_stage_generated_backdrop_wide_04:new { } ObjectTemplates:addTemplate(object_tangible_item_entertainer_console_stage_generated_backdrop_wide_04, "object/tangible/item/entertainer_console/stage_ge...
-- Server Objects includeFile("custom_content/static/structure/dathomir/biohazard_sign_01.lua") includeFile("custom_content/static/structure/dathomir/biohazard_sign_02.lua") includeFile("custom_content/static/structure/dathomir/biohazard_sign_03.lua") includeFile("custom_content/static/structure/dathomir/deathtrooper_...
recipes = { sauce = { require = { tomato = 3, water = 1, salt = 1, }, }, hotsauce = { require = { tomato = 3, pepper = 2, water = 1, salt = 1, }, }, pizza = { require = { wheatFlour = 1, ...
--Automatically generated by SWGEmu Spawn Tool v0.12 loot editor. jedi_belt_01 = { minimumLevel = 0, maximumLevel = -1, customObjectName = "", directObjectTemplate = "object/tangible/loot/loot_schematic/armor_jedi_belt_01_schematic.iff", craftingValues = {}, customizationStringNames = {}, customizationValues = ...
-- MODULE CONFIG.LUA -- by Garran Plum -- -- GP Configuration for this individual mod. -- IMPORT GP OBJECT local myMod, GP = ... -- MY CONFIG Mod Name local modName = "casaDeFruta" -- MY CONFIG Paths local pathList = {"Worker_1", "Worker_2", "Transport", "Visitor"} local trayPathList = {"Worker_1", "Transport"} -- M...
--[[ Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
local vm = require 'vm' local ws = require 'workspace' local furi = require 'file-uri' local files = require 'files' local function asString(source) local literal = vm.getLiteral(source) if type(literal) ~= 'string' then return nil end local parent = source.parent if parent and paren...
local PlatformService = nil pcall(function() PlatformService = game:GetService('PlatformService') end) local Actions = script.Parent.Parent.Actions local SetRecentlyPlayedGamesFetching = require(Actions.SetRecentlyPlayedGamesFetching) local SetRecentlyPlayedGames = require(Actions.SetRecentlyPlayedGames) local RETRIES...