content stringlengths 5 1.05M |
|---|
-------------------------------
-- Core HML tags for HML 1.0 --
-------------------------------
--
-- DO NOT EDIT!
--
-- Put custom tag definitions in lua files in this DIR instead!
-- Moggie100
--
-----------------
-- HML itself! --
-----------------
HMLRenderer.coreTags["hml"] = function( self )
--Check if we ca... |
-- Celluar automata dungeon generator by Ilya Kolbin ( iskolbin@gmail.com )
--
-- Used for cave-like level generation
local random = math.random
local FREE, WALL, NEXT_FREE, NEXT_WALL = 0, 1, 2, 3
local DEFAULT_ITERATIONS = 5
local DEFAULT_DENSITY = 0.45
local DEFAULT_CUTOFF = function( grid, x, y )
local w, h = #g... |
--[[
__ ___ __ __
/ |/ /__ ____/ /__ / / __ __
/ /|_/ / _ `/ _ / -_) / _ \/ // /
/_/ /_/\_,_/\_,_/\__/ /_.__/\_, /
___ __ /___/ ___ __
/ _ \___... |
--[[ SortAndBlock 1.0.1
Takes the items from the chest
fore of it, puts non-blockable to the
port chest, Nine-block blocks to the
starboard. Blockables are crafted to
blocks.
CopyLeft (MIT License) 2014
Robert David Alkire II
]]
-- assign fake/real turtle
local t
if turtle then
t = turtle
else
t = require "m... |
LorePlay = LorePlay or {}
-- === LPUtilities.lua ===
--[[
LorePlay.EVENT_ACTIVE_EMOTE = "EVENT_ACTIVE_EMOTE"
LorePlay.EVENT_ON_SMART_EMOTE = "EVENT_ON_SMART_EMOTE"
LorePlay.EVENT_ON_IDLE_EMOTE = "EVENT_ON_IDLE_EMOTE"
LorePlay.EVENT_PLEDGE_OF_MARA_RESULT_MARRIAGE = "EVENT_PLEDGE_OF_MARA_RESULT_MARRIAGE"
LorePlay.EVENT_... |
score = 0
local function handleTransition(state)
fsm:enterState(state, true)
end
function init()
font = Loader.loadFont("fonts/SegoeUILight72.fnt")
pixel = Loader.loadFrame("textures/pixel.png")
smooth = Loader.loadFrame("textures/smooth.png")
gui = Gui()
Game.setFps(60)
Screen.setOrientation(Orien... |
fx_version 'cerulean'
game 'gta5'
author 'Apoiat'
description 'Document script | A document script for FiveM: Write / delete / sign documents | Copy documents to other people | connected to a database | ESX'
version '1.1'
ui_page 'html/form.html'
files {
'html/form.html',
'html/img/seal.png',
'html/img/document.j... |
object_tangible_loot_misc_buddy_level_holocron = object_tangible_loot_misc_shared_buddy_level_holocron:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_misc_buddy_level_holocron, "object/tangible/loot/misc/buddy_level_holocron.iff")
|
--[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... |
-----------------------------------------
-- ID: 4556
-- Item: serving_of_icecap_rolanberry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 19
-- Magic Cap 55
-- Intelligence 2
-- Wind Res 5
-----------------------------------------
require("scripts/globals/status")
require("scrip... |
function engineBreak()
local health = getElementHealth(source)
local driver = getVehicleController(source)
if (driver) then
if (health<=400) then
local rand = math.random(1, 5)
if (rand==1) then -- 20% chance
setVehicleEngineState(source, false)
setElementData(source, "engine", 0, false)... |
--The chip thread
--TODO: Make sure the parameters explaination is correct after testing them.
--[[
- path (string): The library require path.
- dir (string): The directory of the library.
- channels (number): (unsigned int) The number of channels to have, by default it's 4.
- sampleRate (number): (unsigned int) The ... |
local lm = require 'luamake'
if lm.EXE == "lua" then
lm:import 'project/lua.lua'
return
end
if lm.universal then
if lm.os == "macos" then
lm:import 'project/macos-universal.lua'
return
end
error "universal does not support"
end
lm:import 'project/bootstrap.lua'
|
--====================================================================================
-- #Author: Jonathan D @ Gannon
--====================================================================================
RegisterNetEvent("gcPhone:twitter_getTweets")
AddEventHandler("gcPhone:twitter_getTweets", function(tweets)
Send... |
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
local ACF = ACF
local Missiles = ACF.ActiveMissiles
local TraceData = { start = true, endpos = true, filter = true }
local ZERO = Vector()
local function CheckViewCone(Missile, HitPos)
local Position = Missile.Position
local Forward = Mis... |
-- Copyright (c) 2019 Trevor Redfern
--
-- This software is released under the MIT License.
-- https://opensource.org/licenses/MIT
describe("Components - Textbox", function()
local Components = require "moonpie.ui.components"
local mock_love = require "moonpie.test_helpers.mock_love"
before_each(functi... |
require "scripts.core.creep"
BaseCreep = class(Creep)
function BaseCreep:OnCreated ()
Creep.OnCreated(self)
Debug.Log('Creating a creep!')
end
return BaseCreep
|
-- Copyright 2011-14 Paul Kulchenko, ZeroBrane LLC
-- authors: Luxinia Dev (Eike Decker & Christoph Kubisch)
---------------------------------------------------------
local ide = ide
ide.iofilters["GermanUtf8Ascii"] = {
-- this function converts some utf8 character output. It's a hack.
-- Since luxinia is not ut... |
local networkVars =
{
}
AddMixinNetworkVars(DetectableMixin, networkVars)
local oldOnCreate = Observatory.OnCreate
function Observatory:OnCreate()
oldOnCreate(self)
InitMixin(self, DetectableMixin)
end
Shared.LinkClassToMap("Observatory", Observatory.kMapName, networkVars) |
--[[
**
** refresh-browser-sources.lua -- OBS Studio Lua Script for Refreshing Browser Sources
** Copyright (c) 2021 Dr. Ralf S. Engelschall <rse@engelschall.com>
** Distributed under MIT license <https://spdx.org/licenses/MIT.html>
**
--]]
-- global OBS API
local obs = obslua
-- global context information
local... |
require "remote-interface"
local key = require "utils.key"
local train = require "utils.train"
local receiver = require "utils.receiver"
local remove_all_invalid_receivers
script.on_init(function()
global = {}
global.entities = {}
global.locomotive_type_names = {
[key.locomotive] = true,
... |
require 'p4'
p4 = P4.P4()
pcall(function()
p4:connect()
p4.exception_level = 1 -- ignore "File(s) up-to-date"
files = p4:run_sync()
end)
for _, e in ipairs(p4.errors) do
print(e)
end
p4:disconnect()
|
-----------------------------------
-- Area: Appolyon
-- Name: Central Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/battlefield")
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldTick(battlefiel... |
NewShipType = StartShipConfig()
NewShipType.displayedName="$10032"
NewShipType.sobDescription="$10033"
NewShipType.maxhealth=getShipNum(NewShipType, "maxhealth", 30000)
NewShipType.regentime=1275
NewShipType.minRegenTime=1275
NewShipType.sideArmourDamage=1.2
NewShipType.rearArmourDamage=1.2
setTacticsMults(NewShipType,... |
local WaterProofer = Class(function(self, inst)
self.inst = inst
self.effectiveness = 1
end)
function WaterProofer:GetEffectiveness()
return self.effectiveness
end
function WaterProofer:SetEffectiveness(val)
self.effectiveness = val
end
return WaterProofer |
-- Better buffer deletion with more expected behavior
vim.api.nvim_set_keymap('', '<leader>q', ':BufDel<CR>', {})
-- highligh yanks
vim.api.nvim_command([[
autocmd TextYankPost * silent! lua vim.highlight.on_yank {timeout=500}
]])
-- detect indent settings
vim.g.detectindent_preferred_expandtab = 1
vim.g.detectindent... |
speed = script.Speed.Value
-- or just = 4 if you prefer values to be in-script instead of in NumberValues
while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(0, 0, math.rad(speed))
wait(0)
end
local current_position = script.Parent.Position
|
files {
'index.html',
'loading.png',
'style.css',
'logo.png',
'Loading.mp3',
'Loading.ogg',
'AFKlampenborg_Medium.ttf',
}
loadscreen 'index.html'
resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
|
--[[
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
-- #######################################
-- ## Project: HUD ... |
--[[
Tests detection stability by running BeatDetectTest multiple times with different parameters.
Expects the location of BeatDetectCmd on command line, as well as a filelist.
Usage:
TestMultiRun.lua [-d path/to/BeatDetectCmd] [-l path/to/filelist.txt]
If -d is not given, uses BeatDetectCmd[.exe] by default.
If -l ... |
Locales['en'] = {
['have_withdrawn'] = 'Du har hævet ~y~x%s~s~ ~b~%s~s~',
['have_deposited'] = 'Du har indsat ~y~x%s~s~ ~b~%s~s~',
['free_prop'] = 'Grund til salg',
['property'] = 'Grund',
['enter'] = 'Gå ind',
['leave'] = 'Sælg',
['buy'] = 'Køb',
['rent'] = 'Leje',
['visit'] = 'Besøg',
['press_to_m... |
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
client_scripts{
'Config.lua',
'cl-nuke.lua'
}
server_scripts{
'Config.lua',
'sv-nuke.lua'
}
ui_page('html/index.html')
files {
'html/index.html',
'html/sounds/countbeep.ogg',
'html/sounds/nukeincome.ogg',
... |
--------------------------------
------- Created by Hamza -------
--------------------------------
local ESX = nil
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
RegisterServerEvent("esx_policeArmory:takeWeapon")
AddEventHandler("esx_policeArmory:takeWeapon", function(weapon,giveAmmo)
local pl... |
object_static_worldbuilding_camping_frn_all_glow_light_s1 = object_static_worldbuilding_camping_shared_frn_all_glow_light_s1:new {
}
ObjectTemplates:addTemplate(object_static_worldbuilding_camping_frn_all_glow_light_s1, "object/static/worldbuilding/camping/frn_all_glow_light_s1.iff") |
local Promise = require(script.Parent.Promise)
local TS = {}
local function assertAwait(ok, ...)
if ok then
return ...
else
error(ok == nil and "The awaited Promise was cancelled" or (...), 2)
end
end
function TS.await(promise)
if Promise.is(promise) then
return assertAwait(promise:await())
else
return p... |
-- Compiled with https://roblox-ts.github.io v0.3.2
-- August 19, 2020, 7:00 PM British Summer Time
local TS = _G[script];
local exports = {};
local MakeRequest = TS.import(script, script.Parent, "HTTP").default;
local Settings = TS.import(script, script.Parent, "Settings").default;
local PlayerData = TS.import(script... |
object_tangible_component_weapon_new_weapon_enhancement_melee_slot_two_base = object_tangible_component_weapon_new_weapon_shared_enhancement_melee_slot_two_base:new {
}
ObjectTemplates:addTemplate(object_tangible_component_weapon_new_weapon_enhancement_melee_slot_two_base, "object/tangible/component/weapon/new_weapon... |
require("server-renderer/src/render")
function ssrRenderSlot(slots, slotName, slotProps, fallbackRenderFn, push, parentComponent)
push()
-- [ts2lua]slots下标访问可能不正确
local slotFn = slots[slotName]
if slotFn then
local scopeId = parentComponent and parentComponent.type.__scopeId
-- [ts2lua]lua中0和空字符串也是true... |
--[[
Core - banowanie kont, sprawdzanie aktywnych banow
@author Jakub 'XJMLN' Starzak <jack@pszmta.pl
@package PSZMTA.psz-core
@copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl>
Nie mozesz uzywac tego skryptu bez mojej zgody. Napisz - byc moze sie zgodze na uzycie.
]]--
function isPlayerBanned(plr)
local uid=get... |
local class = require 'middleclass'
local meter = class('hj212.client.meter')
function meter:initialize(sn, poll_list)
assert(sn, 'Device SN missing')
assert(poll_list, 'Device polls missing')
self._sn = sn
for k, v in pairs(poll_list) do
v:set_meter(self)
end
self._poll_list = poll_list
self._flag = nil
en... |
local a,b
a = a and b |
local fn, lsp = vim.fn, vim.lsp
lsp.handlers['textDocument/hover'] = lsp.with(lsp.handlers.hover, {
border = U.borders,
})
lsp.handlers['textDocument/signatureHelp'] = lsp.with(
lsp.handlers.signature_help,
{
border = U.borders,
}
)
local signs = {
Error = ' ',
Warn = ' ',
Hint = ' ',
Info = '... |
-- package: example
local gopkg = _G["github.com/edwingeng/go2lua/example"]
do
local g = _G
local newEnv = setmetatable({}, {
__index = function (t, k)
local v = gopkg[k]
if v == nil then return g[k] end
return v
end,
__newindex = gopkg,
})
_E... |
Items = {}
RegisterNetEvent("vehicles:useItem", function(netId, partId, slotId, nearLift)
local source = source
-- Check parameters.
local inputType = type(partId)
if type(netId) ~= "number" or type(slotId) ~= "number" or (inputType ~= "string" and inputType ~= "number") then return end
-- Check cooldown.
if n... |
slot0 = class("U110BattlePage", import("...base.BaseActivityPage"))
slot0.OnInit = function (slot0)
slot0.bg = slot0:findTF("AD")
slot0.slider = slot0:findTF("slider", slot0.bg)
slot0.step = slot0:findTF("step", slot0.bg)
slot0.progress = slot0:findTF("progress", slot0.bg)
slot0.desc = slot0:findTF("desc", slot0.... |
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local tostring, setmetatable = tostring, setmetatable;
local pairs, next= pairs, next;
local hosts = host... |
local function has_locked_chest_privilege(meta, player)
if player:get_player_name() ~= meta:get_string("owner") then
return false
end
return true
end
minetest.register_node("more_chests:cobble", {
description = "Cobble Chest",
tiles = {"default_cobble.png", "default_cobble.png", "default_cobble.png",
"default... |
local lpeg = require("lpeg")
local epnf = require("epnf")
local Bibliography
local identifier = (SILE.parserBits.identifier + lpeg.S":-")^1
local balanced = lpeg.C{ "{" * lpeg.P(" ")^0 * lpeg.C(((1 - lpeg.S"{}") + lpeg.V(1))^0) * "}" } / function (...) local t={...}; return t[2] end
local doubleq = lpeg.C( lpeg.P '"... |
local function get_nDR(Tk)
assert(type(Tk) == "table")
local nDR = {}
local vecs = {}
for k, v in pairs(Tk) do
assert(type(v) == "table")
nDR[k] = #v
assert(nDR[k] > 0)
for k2, v2 in pairs(v) do
for k3, v3 in pairs(v2) do
-- print(k, k2, k3, type(v3))
assert(type(v3) == ... |
util.AddNetworkString("pyrition_message")
--gamemode functions
function PYRITION:PyritionLanguageAttemptFormat(key, text, phrases)
if phrases then return string.gsub(text, "%[%:(.-)%]", phrases)
else return text end
end
function PYRITION:PyritionLanguageSend(target, enumeration, key)
net.Start("pyrition_message")
... |
-- Recount Locale
-- Please use the Localization App on WoWAce to Update this
-- http://www.wowace.com/projects/recount/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("Recount", "zhCN")
if not L then return end
L[" at "] = "在"
L[" by "] = "由"
L[" dies."] = "死亡。"
L[" for "] = "为"
L["|cff40ff40Enable... |
-- https://github.com/ledgetech/lua-resty-http
local http = require("resty.http")
local clear_tab = require("table.clear")
local split = require("ngx.re").split
local find = ngx.re.find
local concat_tab = table.concat
local tostring = tostring
local select = select
local ipa... |
-----------------------------------
-- Area: Bastok Markets
-- NPC: Arawn
-- Starts & Finishes Quest: Stamp Hunt
-- !pos -121.492 -4.000 -123.923 235
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/titles");
require("scripts/globals... |
--[[
Player Titles - Module
1.0.2 - 2020/10/13
Contributors
Nicholas Foreman (META) (https://www.coregames.com/user/f9df3457225741c89209f6d484d0eba8)
1. Getting a MUID
1) Go to your profile (or use the search function for another user) on the Core website
(https://www.coregames.com)
2) Copy the section of ... |
project "BulletInverseDynamics"
kind "StaticLib"
language "C++"
cppdialect "C++17"
systemversion "latest"
staticruntime "On"
if os.is("Linux") then
buildoptions{"-fPIC"}
end
includedirs {
"..",
}
files {
"IDMath.cpp",
"MultiBodyTree.cpp",
... |
local app=DoApp.DoApp()
app:doCommand([[UI.InvokePropertyChangeValue?Type=kEventMuted&Value=true]])
app:doCommand([[UI.InvokePropertyChangeValue?Type=kEventColour&Value=#ff000000]])
app:doCommand([[UI.InvokePropertyChangeValue?Type=kEventColour&Value=#ffff80ff]])
|
local namespace = _G
local objectMetaTable = {
__index = function (self, key)
local field = rawget(self.fields, key)
local method = rawget(self.methods, key)
if type(field) == "table" and rawget(field, "class") and rawget(field, "class").name == "Alias" then
return rawget(field, "fields").table[field.key]... |
return {
abuilderlvl5 = {
acceleration = 0.015,
airhoverfactor = 0,
blocking = false,
brakerate = 0.35,
buildcostenergy = 786488,
buildcostmetal = 37150,
builddistance = 320,
builder = true,
buildpic = "abuilderlvl5.dds",
buildtime = 1200000,
canfly = true,
canguard = true,
canm... |
-- multi api compat
local compat = pfQuestCompat
local _, _, _, client = GetBuildInfo()
client = client or 11200
pfQuest = CreateFrame("Frame")
function pfQuest:Debug(msg)
-- only show debug output if enabled
if not pfQuest_config.debug and pfQuest.debugwin then
pfQuest.debugwin:Hide()
return
elseif not... |
local vimp = require('vimp')
local gitsigns = require('gitsigns')
local bufferline = require('bufferline')
local g = vim.g
local opt = vim.o
-- themes
require('material.functions').change_style("oceanic")
require('material').setup({
contrast = true,
borders = true,
ital... |
return
{
entities =
{
{"tree-05", {x = 0.5, y = -6.5}, {}},
{"tree-05", {x = -2.5, y = -5.5}, {}},
{"tree-05", {x = 3.5, y = -5.5}, {}},
{"tree-05", {x = -4.5, y = -3.5}, {}},
{"tree-05", {x = 5.5, y = -2.5}, {}},
{"tree-05", {x = -6.5, y = -0.5}, {}},
{"tree-05", {x = 6.5, y = 0.5}, {}}... |
local Mouse = {}
function Mouse.getPosition()
local m = EasyLD.point:new(love.mouse.getPosition())
local offset = EasyLD.point:new(EasyLD.window.w/2, EasyLD.window.h/2)
local zoom = EasyLD.point:new(EasyLD.camera.scaleValue, EasyLD.camera.scaleValueY or EasyLD.camera.scaleValue)
m = m - offset
m:rotate(EasyLD.cam... |
Config = {}
Config.DrawDistance = 100.0
Config.Locale = 'br'
Config.IsMecanoJobOnly = false
Config.Zones = {
ills1 = {
Pos = { x = -1358.030, y = -757.7526, z = 22.3050},
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Name ... |
--==[ base16 ]==--
-- All builtin colorschemes can be accessed with |:colorscheme|
-- schemer-dark
-- gruvbox-dark-soft
-- solarized-darl
-- onedark
-- one-light
-- monokai
-- paraiso
vim.cmd[[colorscheme base16-schemer-dark]]
|
local Package = script.Parent
local Color3 = require(Package.Color3)
local Formatter = { }
Formatter.Data = {
WebhookPostElements = {
Content = "content";
Username = "username";
AvatarUrl = "avatar_url";
Tts = "tts";
Embeds = "embeds";
PayloadJson = "payload_json";
};
EmbedElements = {
Title = "ti... |
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Decloak when damaged",
desc = "Decloaks units when they are damged",
author = "G... |
--[[
*****************************************************************************
Project l2dbus
Released under the MIT License (MIT)
Copyright (c) 2013 XS-Embedded LLC
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Softw... |
------------------------------
-- library
------------------------------
require 'torch'
require 'xlua'
require 'cunn'
------------------------------
-- function
------------------------------
function test()
collectgarbage()
print("")
path.mkdir("preprocess")
local prepro_list = getFilename("preprocess")
a... |
-- This file is a template config file for lsyncd for working with the robot.
-- You should copy this file and rename it to mySyncConfig.lua, which is already in
-- the gitignore and will therefore be ignored by source control. You can then
-- edit it for your needs. It can then be run with `lsyncd <this file>`
-- You ... |
if tup.getconfig('TRACE_LOG') != '' then
table.insert(OPTIONS.define, 'RECKLESS_ENABLE_TRACE_LOG')
end
table.insert(OPTIONS.includes, '../../performance_log/include')
for i, name in ipairs(filter_platform_files(tup.glob("*.cpp"))) do
compile(name)
end
|
laptop.node_config = {}
local have_technic = minetest.get_modpath("technic")
local have_generator = minetest.get_modpath("power_generators")
local function on_construct(pos)
laptop.mtos_cache:free(pos)
local mtos = laptop.os_get(pos)
local node = minetest.get_node(pos)
local hwdef = laptop.node_config[node.name]... |
local xxtea = require("xxtea");
local key = "wibkis3544424*-2"
function printbit( str )
local str = string.pack(">s2",str)
local long = string.byte(str,2)
for i=1,long+2 do
io.write(string.byte(str,i).." ")
end
print()
end
local x = "4��=�����͚����g���=��^����p|��o�@�q��9��7s�Uޙ.~�YpO~K]ڪl_��'`�"
print(xxte... |
-- This is the RCRover when the menu is opened from the infopanel
GlobalVar("BuildingWithRCRover", false)
GlobalVar("g_LastBuildCat", false)
GlobalVar("g_LastBuildItem", false)
GlobalVar("g_BuildMenuRightClickPopupShown", false)
GlobalVar("g_BuildMenuHUDClicksCount", 0)
GlobalVar("g_BuildMenuRightClicksCount", 0)
Def... |
local LargeDoorScript = {}
-- Script properties are defined here
LargeDoorScript.Properties = {
-- Example property
--{name = "health", type = "number", tooltip = "Current health", default = 100},
{name = "open", type = "boolean"},
{name = "key", type = "string"},
{name = "errorMsg", type = "string"},
{name = "o... |
Locales['fr'] = {
['shop'] = 'Accessoires',
['arme'] = 'Armurie',
['narekshop'] = 'Accessoires',
['press_menu'] = 'appuyez sur ~INPUT_CONTEXT~ pour accéder au magasin.',
['bought'] = 'Vous venez d acheter ~y~%sx~s~ ~b~%s~s~ pour ~r~$%s~s~',
['not_enough'] = 'vous n\'avez ~r~pas assez~s~ d\'argent: %s',
['p... |
return Def.ActorFrame {
LoadModule("Options.SmartTiming.lua"),
LoadModule("Options.SmartScoring.lua"),
LoadModule("Options.SmartCombo.lua"),
OnCommand=function(self)
if(SCREENMAN:GetTopScreen():GetName() == "ScreenGameplay") then
self:AddChildFromPath(GetModule("Gameplay.Pause.lua"))
end
end
} |
-- Example: Short Example
local LightWorld = require "lib"
local ProFi = require 'examples.vendor.ProFi'
function love.load()
ProFi:start()
testShader = 0
x = 0
y = 0
z = 1
scale = 1
colorAberration = 0.0
-- load images
image = love.graphics.newImage("examples/gfx/machine2.png")
image_normal = love.g... |
local modules = {}
for i,v in pairs(script:GetChildren()) do
if v:IsA("ModuleScript") then
modules[v.Name] = require(v)
end
end
return setmetatable({},{
__index = function(self, key: string)
local object
if modules[key] then
object = modules[key]
else
object = game.GetService(game, key)
end
re... |
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('StoryBit', {
ActivationEffects = {},
Disables = {
"RenegateVigilante_KillRenegades",
},
Effects = {},
MainMapExclusive = false,
Prerequisites = {},
ScriptDone = true,
SuppressTime = 9000000,
TextReadyForValidation = true,
TextsDone... |
if SERVER then AddCSLuaFile() end
local file = file
local math = math
local urllib = url
local ceil = math.ceil
local floor = math.floor
local Round = math.Round
local log = math.log
local pow = math.pow
local format = string.format
local tostring = tostring
local IsValid = IsValid
local utils = {}
---
-- Ceil the ... |
--- A library of ready-to-use type synonyms to use in schema definitions.
-- @module kong.db.schema.typedefs
local utils = require "kong.tools.utils"
local openssl_pkey = require "openssl.pkey"
local openssl_x509 = require "openssl.x509"
local iputils = require "resty.iputils"
local Schema = require("kong.db.schema")
l... |
local _0_0 = nil
do
local name_0_ = "lispdocs.parse"
local module_0_ = nil
do
local x_0_ = package.loaded[name_0_]
if ("table" == type(x_0_)) then
module_0_ = x_0_
else
module_0_ = {}
end
end
module_0_["aniseed/module"] = name_0_
module_0_["aniseed/locals"] = ((module_0_)["anisee... |
--
-- _ __ __ _ _ __ ___ _ _
-- / \ ___ ___| \/ | __ _ _ __| | ____| | _____ ___ _\ \ / (_) __| | __ _ ___| |_
-- / _ \ / __/ _ \ |\/| |/ _` | '__| |/ / _` |/ _ \ \ /\ / / '_ \ \ /\ / /| |/ _` |/ _` |/ _ \ __|
-- / ___ \ (... |
require "tangram.defaults"
require "tangram.cmds"
require "tangram.db"
require "tangram.jumprope"
require "tangram.main"
|
local function checkboxCallbackHandler(sender)
-- Use this callback to run another callback, passed as a parameter initially
if (sender:GetChecked() == nil) then
else
sender.callback_setter(sender:GetChecked());
end
FRH_HealValueDisplayWindow_CheckIfWindowShouldBeShown();
... |
object_tangible_loot_creature_loot_collections_eralam_shard_02 = object_tangible_loot_creature_loot_collections_shared_eralam_shard_02:new {
}
ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_eralam_shard_02, "object/tangible/loot/creature/loot/collections/eralam_shard_02.iff")
|
--[[
Infinity by Harshit (2012)
Based on: Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
... |
-- To add a new slashcommand, just add SLASH_RELOAD4 = "/<InputNameHere>" at the end, if you add more remember to change the 4 to 5 and so on.
SlashCmdList["JWRELOAD"] = function() ReloadUI() end
SLASH_JWRELOAD1 = "/rl" |
return {
['workshop-378160973'] = { enabled = true },
['workshop-492173795'] = { enabled = true },
['workshop-407705132'] = { enabled = true,
configuration_options = {
title = 'Welcome!',
message = 'Sharing is caring! Play fair!',
},
},
}
|
function get()
if session:isLogged() then
http:redirect("/")
return
end
local data = {}
data["serverName"] = config:get("serverName")
data["validationError"] = session:getFlash("validationError")
http:render("register.html", data)
end |
data:extend(
{
{
type = "item",
name = "uraninite",
icon = "__UraniumPower__/graphics/icons/uraninite.png",
flags = {"goes-to-main-inventory"},
subgroup = "uranium-raw-resource",
order = "g[uranium]",
stack_size = 50
},
{
type = "item",
name = "fluorite",
icon = "__UraniumPower__/graphics/icons/f... |
local LibStub = _G.LibStub
local Rollouts = LibStub("AceAddon-3.0"):GetAddon("Rollouts")
local SLASH_COMMAND = "rollout"
local function printHelp()
Rollouts.Print("Rollout commands:")
Rollouts.Print("/" .. SLASH_COMMAND .. " - show the rollout window")
Rollouts.Print("/" .. SLASH_COMMAND .. " [Item Link] -... |
--- @class Vector a Vector with two coordinates
local Vector = _C.Object:new_void()
Vector.__index = Vector
--- Creates a Vector.
--- @param x number the x component.
--- @param y number the y component.
--- @return Vector the new Vector object.
function Vector:new(x, y)
local new = setmetatable(_C.Object:new(), s... |
ITEM.name = "Toolbox"
ITEM.description= "A toolbox with something inside."
ITEM.model = "models/lostsignalproject/items/upgrades/upgrw1.mdl"
ITEM.width = 2
ITEM.height = 1
ITEM.flag = "A"
ITEM.items[1] = {
dropAmount = 1,
dropRareChance = 40,
dropVeryRareChance = 10,
itemsCommon = {
{"leadpipe"},
{"crowbar"},
... |
--[[
Project: SA Memory (Available from https://blast.hk/)
Developers: LUCHARE, FYP
Special thanks:
plugin-sdk (https://github.com/DK22Pac/plugin-sdk) for the structures and addresses.
Copyright (c) 2018 BlastHack.
]]
local shared = require 'SAMemory.shared'
shared.require 'vector3d'
shared.require 'CAutomobi... |
local AddPrefabPostInit = AddPrefabPostInit
GLOBAL.setfenv(1, GLOBAL)
AddPrefabPostInit("portablecookpot",function(inst)
if not TheWorld.ismastersim then return end
if inst.components.portablestructure then
inst:RemoveComponent("portablestructure")
end
end)
|
---------------------------------
--- @file filter_ixgbe.lua
--- @brief Filter for IXGBE ...
--- @todo TODO docu
---------------------------------
local mod = {}
local dpdkc = require "dpdkc"
local device = require "device"
local ffi = require "ffi"
local dpdk = require "dpdk"
local mbitmask = require "bitmask"
local... |
slot2 = "BankPopUpGetCcsView"
BankPopUpGetCcsView = class(slot1)
BankPopUpGetCcsView.onCreationComplete = function (slot0)
slot8 = slot0.view
ClassUtil.extends(slot2, slot0, ZoomPopUpChildView, true, slot0, slot0.bg)
slot3 = slot0
slot0.initSignal(slot2)
slot3 = slot0
slot0.onUserInsureChanged(slot2)
slot... |
point = 1
while true do
if sound.endstream(menumusic) == true then
sound.play(menumusic)
end
buttons.read()
-- Static animation
if statictimer < 3 then
statictimer = statictimer + 0.5
end
if statictimer == 3 then
statictimer = 0
end
if statictimer == 0 then
static_base = static1
e... |
local cutscenes = {
prolog = require("lua.prolog"),
["akt1"] = require("lua.akt1"),
["akt2"] = require("lua.akt2"),
["akt3"] = require("lua.akt3"),
triggers = require("lua.triggers"),
constraints = require("lua.constraints"),
soundeffects = require("lua.soundeffects"),
reactions = requir... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.