repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
Igdra/darkstar | scripts/globals/items/cup_of_imperial_coffee.lua | 18 | 1233 | -----------------------------------------
-- ID: 5592
-- Item: cup_of_imperial_coffee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health Regen While Healing 3
-- Magic Regen While Healing 3
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Ghelsba_Outpost/npcs/Logging_Point.lua | 13 | 1071 | -----------------------------------
-- Area: Ghelsba Outpost
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Ghelsba_Outpost/TextIDs");
---------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/general/objects/objects.lua | 3 | 3061 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Rasdinice.lua | 14 | 1090 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rasdinice
-- @zone 80
-- @pos -8 1 35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional/BGAnimations/ScreenGameplay underlay/PerPlayer/LifeMeter/Surround.lua | 2 | 1774 | local player = ...
local p = ToEnumShortString(player)
local x = GetNotefieldX( player )
local full
local af = Def.ActorFrame{
Name="LifeMeter_"..p,
InitCommand=function(self)
self:xy(x,0)
end,
HealthStateChangedMessageCommand=function(self,params)
if (params.PlayerNumber == player) then
if params.HealthSta... | gpl-3.0 |
x7h/x7_bot | tg/tdcli.lua | 13 | 88570 | --[[
This program is fre software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be usef... | gpl-3.0 |
disslove2-bot/PLUS-BOT | plugins/anti-flood.lua | 9 | 2259 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/generic_power.lua | 3 | 1504 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Noneatme/iLife-SA | server/Classes/Shop/cProLaps.lua | 1 | 6411 | --[[
/////// //////////////////
/////// 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
/////// /////////////////
]]
CProLaps = inherit(CShop)
function CProLaps:constructor(iDim)
... | mit |
Igdra/darkstar | scripts/zones/Mhaura/npcs/Orlando.lua | 14 | 3537 | -----------------------------------
-- Area: Mhaura
-- NPC: Orlando
-- Type: Standard NPC
-- @pos -37.268 -9 58.047 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/keyit... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/bowl_of_vegetable_gruel.lua | 18 | 1494 | -----------------------------------------
-- ID: 4489
-- Item: bowl_of_vegetable_gruel
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 10)
-- HP Recovered While Healing 4
-----------------------------------------
require("scripts/global... | gpl-3.0 |
Noneatme/iLife-SA | client/Manager/Vehicle/cTempomat.lua | 1 | 1174 | --[[
/////// //////////////////
/////// 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: iL... | mit |
Noneatme/iLife-SA | server/Classes/Gamemode/Gamemodes/cGamemode_Derby.lua | 1 | 2229 | --[[
/////// //////////////////
/////// 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
/////// /////////////////
]]
--
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 07.0... | mit |
mniestroj/turbo | examples/mustache.lua | 12 | 1121 | --- Turbo.lua Mustache example
--
-- Copyright 2013 John Abrahamsen
--
-- 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 ... | apache-2.0 |
kjl2y/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Labyrinth_Manticore.lua | 14 | 1061 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Labyrinth Manticore
-- Note: Place holder Narasimha
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
----------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Selbina/npcs/Raging_Tiger.lua | 13 | 1054 | -----------------------------------
-- Area: Selbina
-- NPC: Raging Tiger
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua | 13 | 1077 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 270 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-----... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/matter_beam.lua | 3 | 1934 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Lower_Delkfutts_Tower/Zone.lua | 4 | 3889 | -----------------------------------
--
-- Zone: Lower_Delkfutts_Tower (184)
--
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/globals/miss... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/texts/intro-dwarf.lua | 3 | 1428 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/chats/arena-unlock.lua | 3 | 6870 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/bluemagic/hydro_shot.lua | 36 | 1765 | -----------------------------------------
-- Spell: Hydro Shot
-- Additional effect: Enmity Down. Chance of effect varies with TP
-- Spell cost: 55 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: MND+2
-- Level: 63
-- Casting Time: 0.5 seconds
-- Recast Time: 26 secon... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/ability.lua | 19 | 19308 | -----------------------------------
--
-- ABILITIES
--
-----------------------------------
require("scripts/globals/status");
ABILITY_MIGHTY_STRIKES = 0;
ABILITY_HUNDRED_FISTS = 1;
ABILITY_BENEDICTION = 2;
ABILITY_MANAFONT = 3;
ABILITY_CHAINSPELL = 4;
ABILITY_... | gpl-3.0 |
devlinmr/contrib | ingress/controllers/nginx/lua/trie.lua | 56 | 1428 | -- Simple trie for URLs
local _M = {}
local mt = {
__index = _M
}
-- http://lua-users.org/wiki/SplitJoin
local strfind, tinsert, strsub = string.find, table.insert, string.sub
function _M.strsplit(delimiter, text)
local list = {}
local pos = 1
while 1 do
local first, last = strfind(text, deli... | apache-2.0 |
Zet0rz/nzombies | gamemodes/nzombies/entities/entities/edit_sky.lua | 2 | 1841 |
AddCSLuaFile()
DEFINE_BASECLASS( "base_edit" )
ENT.Spawnable = true
ENT.AdminOnly = true
ENT.PrintName = "Sky Editor"
ENT.Category = "Editors"
local oldsky
ENT.NZOnlyVisibleInCreative = true
function ENT:Initialize()
BaseClass.Initialize( self )
self:SetMaterial( "gmod/edit_sky" )
--
-- Over-rid... | gpl-3.0 |
Zet0rz/nzombies | gamemodes/nzombies/entities/effects/lightning_prespawn/init.lua | 2 | 4372 | --Name: Lightning strike using midpoint displacement
--Author: Lolle
--EFFECT.MatCenter = Material( "lightning.png", "unlitgeneric smooth" )
EFFECT.MatEdge = Material( "effects/tool_tracer" )
EFFECT.MatCenter = Material( "sprites/physbeama" )
EFFECT.MatGlow1 = Material( "sprites/physg_glow1_noz" )
EFFECT.MatGlow2 = Ma... | gpl-3.0 |
tehran980/maxbot2 | plugins/youtube.lua | 644 | 1722 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
function get_yt_data (yt_code)
local url = 'https://www.googleapis.com/yo... | gpl-2.0 |
Igdra/darkstar | scripts/globals/items/slice_of_buffalo_meat.lua | 18 | 1424 | -----------------------------------------
-- ID: 5152
-- Item: slice_of_buffalo_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Agility -5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
marth8880/MEUScripts | ifelem_button.lua | 1 | 29354 | --
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- Code, data for a generic InterFace Button (IFButton).
--
-- This is fairly basic, will be extended by other classes
-- (e.g. RoundIFButton)
--
-- Broken off from interface_util.lua for better encapsulation
-- Override for setsize --... | bsd-3-clause |
Igdra/darkstar | scripts/zones/Chateau_dOraguille/Zone.lua | 17 | 2940 | -----------------------------------
--
-- Zone: Chateau_dOraguille (233)
--
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/missio... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/ruins-kor-pul/objects.lua | 3 | 1042 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional 5.2/BGAnimations/ScreenUnlock2 overlay.lua | 2 | 1589 | local path = getenv("NewlyUnlockedSong")
local t = Def.ActorFrame{}
if path then
local song = SONGMAN:FindSong(path)
if song then
-- attempt to find the banner for the song
bannerpath = song:GetBannerPath()
-- if a banner was found...
if bannerpath then
-- ... then display it!
t[#t+1] = ... | gpl-3.0 |
cracingbozo7/simply-unproffesional | Themes/Simply Unprofessional/BGAnimations/ScreenUnlock2 overlay.lua | 2 | 1589 | local path = getenv("NewlyUnlockedSong")
local t = Def.ActorFrame{}
if path then
local song = SONGMAN:FindSong(path)
if song then
-- attempt to find the banner for the song
bannerpath = song:GetBannerPath()
-- if a banner was found...
if bannerpath then
-- ... then display it!
t[#t+1] = ... | gpl-3.0 |
mybios/angle | samples/preload/Plugin.lua | 1 | 2282 | -- android
if cc.Application:getInstance():getTargetPlatform() == 3 then
local function createArgumentSign(t)
if t == "number" then
return "D";
elseif t == "boolean" then
return "Z";
elseif t == "string" then
return "Ljava/lang/String;";
elseif t == "function" then
return "I";
elseif t == "table"... | bsd-3-clause |
mgoldfar/ECE595-MediaWiki | extensions/Scribunto/engines/LuaCommon/lualib/mw.ustring.lua | 14 | 2034 | -- Get a fresh copy of the basic ustring
local old_ustring = package.loaded.ustring
package.loaded.ustring = nil
local ustring = require( 'ustring' )
package.loaded.ustring = old_ustring
old_ustring = nil
local util = require 'libraryUtil'
local checkType = util.checkType
local gmatch_init = nil
local gmatch_callback... | gpl-2.0 |
kjl2y/darkstar | scripts/zones/Dynamis-Bastok/Zone.lua | 21 | 2379 | -----------------------------------
--
-- Zone: Dynamis-Bastok
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Bastok/TextIDs");
----------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/globals/mobskills/Horrid_Roar_3.lua | 27 | 1318 | ---------------------------------------------------
-- Horrid Roar (Tiamat, Jormungand, Vrtra, Ouryu)
-- Dispels all buffs including food. Lowers Enmity.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves")... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/mobskills/Horrid_Roar_3.lua | 27 | 1318 | ---------------------------------------------------
-- Horrid Roar (Tiamat, Jormungand, Vrtra, Ouryu)
-- Dispels all buffs including food. Lowers Enmity.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves")... | gpl-3.0 |
h113331pp/scratchbox2 | modes/accel/exec_rules.lua | 1 | 7144 | -- Author: Lauri T. Aarnio
-- Copyright (C) 2007 Lauri Leukkunen <lle@rahina.org>
-- Copyright (c) 2009 Nokia Corporation.
-- Licensed under MIT license.
--
-- "accel" mode = build accelerator mode, to be used for software
-- development & building when the rootstrap and the tools are "twins":
-- Built from the same s... | lgpl-2.1 |
kjl2y/darkstar | scripts/globals/spells/utsusemi_ni.lua | 13 | 1737 | -----------------------------------------
-- Spell: Utsusemi: Ni
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
functi... | gpl-3.0 |
Bo98/DarkRP | entities/entities/spawned_weapon/init.lua | 1 | 3309 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:PhysicsInit(SOLID_VPHYSICS)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
self:SetUseType(SIMPLE_USE)
local phys = self:GetPhysicsObject()
if not phys:IsValid() then... | mit |
kjl2y/darkstar | scripts/zones/Kuftal_Tunnel/npcs/qm6.lua | 13 | 1831 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
Igdra/darkstar | scripts/zones/QuBia_Arena/mobs/Archlich_Taber_quoan.lua | 23 | 4061 | -----------------------------------
-- Area: Qu'Bia Arena
-- NM: Archlich Taber'quoan
-- Mission 5-1 BCNM Fight
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
--------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/sludgenest/grids.lua | 3 | 5953 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Noneatme/iLife-SA | client/Guis/World/sexshop.lua | 1 | 3183 | --[[
/////// //////////////////
/////// 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
/////// /////////////////
]]
SexWeaponprices = {
["Weapon"] =
{
["Blumen"] = 25,
["Vib... | mit |
paintballrefjosh/HealBot-TBC | HealBot_Init.lua | 1 | 33190 |
local i=nil
local HB_mana=nil
local HB_cast=nil
local HB_HealsMin=nil
local HB_HealsMax=nil
local HB_HealsExt=nil
local HB_duration=nil
local HB_range=nil
local HB_shield=nil
local HB_channel=nil
local tmpText=nil
local line=nil
local tmpTest=nil
local tonumber=tonumber
local strfind=strfind
local f... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Reisenjima/Zone.lua | 30 | 1439 | -----------------------------------
--
-- Zone: Reisenjima (291)
--
-----------------------------------
package.loaded["scripts/zones/Reisenjima/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Reisenjima/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/zone");
-----... | gpl-3.0 |
mniestroj/turbo | examples/curl.lua | 4 | 1325 | --- Turbo.lua Simple Curl clone using HTTPClient.
-- A really simple one...
--
-- Copyright 2013 John Abrahamsen
--
-- 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.or... | apache-2.0 |
Igdra/darkstar | scripts/zones/Riverne-Site_B01/npcs/HomePoint#1.lua | 27 | 1258 | -----------------------------------
-- Area: Riverne-Site B01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Port_Bastok/npcs/Dulsie.lua | 13 | 1335 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dulsie
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
require("scripts/zone... | gpl-3.0 |
Noneatme/iLife-SA | client/Classes/Util/cLocalization.lua | 1 | 3141 | --[[
/////// //////////////////
/////// 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: iL... | mit |
ld-test/zee | src/edit.lua | 1 | 5614 | -- Basic editing functions
--
-- Copyright (c) 2010-2012 Free Software Foundation, Inc.
--
-- This file is part of Zee.
--
-- This program is free software; you can redistribute it and/or modify it
-- under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3, or... | gpl-3.0 |
LuaDist2/specl | lib/specl/badargs.lua | 1 | 14694 | -- Bad argument diagnosis helpers.
-- Written by Gary V. Vaughan, 2014
--
-- Copyright (c) 2014-2016 Gary V. Vaughan
--
-- This program is free software; you can redistribute it and/or modify it
-- under the terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (a... | gpl-3.0 |
Noneatme/iLife-SA | client/Classes/Firework/Rocket/Explosions/cRohrbombenExplosion.lua | 1 | 3460 | --[[
/////// //////////////////
/////// 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
/////// /////////////////
]]
--
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 25.1... | mit |
kjl2y/darkstar | scripts/globals/items/serving_of_shallops_tropicale.lua | 18 | 1543 | -----------------------------------------
-- ID: 4554
-- Item: serving_of_shallops_tropicale
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Dexterity 1
-- Vitality 4
-- Intelligence 1
-- Defense % 25
-- Defense Cap 100
-----------------------------------------
require("scrip... | gpl-3.0 |
mgoldfar/ECE595-MediaWiki | extensions/Scribunto/tests/engines/LuaCommon/UstringLibraryTests.lua | 5 | 13764 | local testframework = require 'Module:TestFramework'
local str1 = "\0\127\194\128\223\191\224\160\128\239\191\191\240\144\128\128\244\143\191\191"
local str2 = "foo bar főó foó baz foooo foofoo fo"
local str3 = "??? foo bar főó foó baz foooo foofoo fo ok?"
return testframework.getTestProvider( {
{ name = 'isutf8: va... | gpl-2.0 |
jvandenbroek/domoticz | dzVents/runtime/device-adapters/rgbw_device.lua | 1 | 6297 | local TimedCommand = require('TimedCommand')
return {
baseType = 'device',
name = 'RGB(W) device adapter',
matches = function (device, adapterManager)
local res = device.deviceType == 'Color Switch'
adapterManager.addDummyMethod(device, 'setKelvin')
adapterManager.addDummyMethod(device, 'setWhiteMode')
a... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Logging_Point.lua | 17 | 1097 | -----------------------------------
-- Area: Jugner Forest [S]
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
---... | gpl-3.0 |
shayanchabok007/antispam_ok | plugins/giphy.lua | 633 | 1796 | -- Idea by https://github.com/asdofindia/telegram-bot/
-- See http://api.giphy.com/
do
local BASE_URL = 'http://api.giphy.com/v1'
local API_KEY = 'dc6zaTOxFJmzC' -- public beta key
local function get_image(response)
local images = json:decode(response).data
if #images == 0 then return nil end -- No images
loca... | gpl-2.0 |
shahabsaf1/powerbot | plugins/giphy.lua | 633 | 1796 | -- Idea by https://github.com/asdofindia/telegram-bot/
-- See http://api.giphy.com/
do
local BASE_URL = 'http://api.giphy.com/v1'
local API_KEY = 'dc6zaTOxFJmzC' -- public beta key
local function get_image(response)
local images = json:decode(response).data
if #images == 0 then return nil end -- No images
loca... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_2nd_Floor.lua | 35 | 1502 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
if (GetMobAction(16929039) > 0) then DespawnMob(16929039);end
if (GetMobAction(16929040) > 0) then DespawnMob(16929040);en... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Windurst_Woods/npcs/Mourices.lua | 12 | 3639 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mourices
-- Involved In Mission: Journey Abroad
-- @zone 241
-- @pos -50.646 -0.501 -27.642
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
fluent/fluent-bit | lib/luajit-3065c9/src/jit/bcsave.lua | 2 | 19126 | ----------------------------------------------------------------------------
-- LuaJIT module to save/list bytecode.
--
-- Copyright (C) 2005-2022 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | apache-2.0 |
kjl2y/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Mandragora.lua | 23 | 1258 | -----------------------------------
-- Area: LaLoff Amphitheater
-- MOB: Ark Angel's Mandragora
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/statu... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Ordelles_Caves/npcs/_5d1.lua | 14 | 2978 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Strange Apparatus
-- @pos -294 28 -100 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
require("scripts/zones/Ordelles_Caves/TextIDs");
require("scripts/globals/strangeapparatus");
-------------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Sauromugue_Champaign_[S]/Zone.lua | 15 | 1547 | -----------------------------------
--
-- Zone: Sauromugue_Champaign_[S] (98)
--
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Sauromugue_Champaign_[S]/TextIDs")... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/bluemagic/feather_storm.lua | 32 | 2005 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Recast Time: 1... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Garlaige_Citadel/npcs/Mashira.lua | 13 | 2121 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Mashira
-- Involved in Quests: Rubbish day, Making Amens!
-- @pos 141 -6 138 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Kazham/npcs/Bhukka_Sahbeo.lua | 17 | 1071 | -----------------------------------
-- Area: Kazham
-- NPC: Bhukka Sahbeo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
picklesrus/blockly | tests/generators/golden/generated.lua | 8 | 60773 | function unittest_report()
-- Create test report.
local report = {}
local summary = {}
local fails = 0
for _, v in pairs(unittestResults) do
if v["success"] then
table.insert(summary, ".")
else
table.insert(summary, "F")
fails = fails + 1
table.insert(report, "FAIL: " .. v["tit... | apache-2.0 |
sdleffler/TwoHourDemos | Love2D/GravityAsteroids/main.lua | 1 | 6208 | local physics, graphics = love.physics, love.graphics
local keydown = love.keyboard.isDown
physics.setMeter(1)
math.randomseed(os.time())
for i = 1, 10 do math.random() end
local kludge_start
local function start()
local world = physics.newWorld(0, 0, false)
local function random_asteroid_shape(size, vert_count)
... | mit |
festevezga/ToME---t-engine4 | game/engines/default/modules/boot/data/rooms/random_room.lua | 3 | 1876 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Igdra/darkstar | scripts/globals/mobskills/Binary_Tap.lua | 32 | 1703 | ---------------------------------------------------
-- Binary Tap
-- Attempts to absorb two buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Everbloom_Hollow/Zone.lua | 17 | 1103 | -----------------------------------
--
-- Zone: Everbloom_Hollow
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Everbloom_Hollow/TextIDs"] = nil;
require("scripts/zones/Everbloom_Hollow/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Southern_San_dOria/npcs/Kipopo.lua | 53 | 1843 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kipopo
-- Type: Leathercraft Synthesis Image Support
-- @pos -191.050 -2.15 12.285 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/engines/default/modules/boot/class/NicerTiles.lua | 3 | 14106 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/tanners_belt.lua | 18 | 1215 | -----------------------------------------
-- ID: 15448
-- Item: Tanners belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Leathercraft Skill +3
-----------------------------------------
require("script... | gpl-3.0 |
tontyoutoure/DOTA2-AI-Fun | game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/cleric/cleric.lua | 1 | 7858 | LinkLuaModifier("modifier_cleric_berserk", "heroes/cleric/cleric_modifiers.lua", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_cleric_berserk_target", "heroes/cleric/cleric_modifiers.lua", LUA_MODIFIER_MOTION_NONE)
LinkLuaModifier("modifier_cleric_berserk_no_order", "heroes/cleric/cleric_modifiers.lua", LUA_MODIF... | mit |
haste/ivar2 | modules/tollpost.lua | 2 | 3754 | local util = require'util'
local simplehttp = util.simplehttp
local json = util.json
local apiurl = 'http://www.tollpost.no/XMLServer/rest/trackandtrace/%s'
local duration = 60
-- Abuse the ivar2 global to store out ephemeral event data until we can get some persistant storage
if(not ivar2.shipmentEvents) then ivar2... | mit |
mynameiscraziu/bgfdsabatu | plugins/clink.lua | 6 | 14321 | -- data saved to moderation.json
-- check moderation plugin
do
-- make sure to set with value that not higher than stats.lua
local NUM_MSG_MAX = 4
local TIME_CHECK = 4 -- seconds
local function close_link(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local chat_i... | gpl-2.0 |
Noneatme/iLife-SA | client/Classes/Hud/cHudComponent_HeartClock.lua | 1 | 4402 | --[[
/////// //////////////////
/////// 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 ... | mit |
Igdra/darkstar | scripts/zones/Reisenjima_Henge/Zone.lua | 27 | 1443 | -----------------------------------
--
-- Zone: Reisenjima_Henge (292)
--
-----------------------------------
package.loaded["scripts/zones/Reisenjima_Henge/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Reisenjima_Henge/TextIDs");
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
Igdra/darkstar | scripts/globals/spells/choke.lua | 17 | 1850 | -----------------------------------------
-- Spell: Choke
-- Deals wind damage that lowers an enemy's vitality and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------... | gpl-3.0 |
paintballrefjosh/HealBot-TBC | Locale/HealBot_Localization.cn.lua | 1 | 21953 |
-- Chinese sim by CWDG 月色狼影
-- CWDG site: http://Cwowaddon.com
-------------
-- CHINESE --
-------------
if (GetLocale() == "zhCN") then
-------------------
-- Compatibility --
-------------------
HEALBOT_DRUID = "德鲁伊";
HEALBOT_HUNTER = "猎人";
HEALBOT_MAGE = "法师";
HEALBOT_PALADIN = "圣骑士";
HEAL... | gpl-3.0 |
Hosseiin138yz/spam-killer | plugins/blacklist.lua | 30 | 1080 | -- This plugin will allow the admin to blacklist users who will be unable to
-- use the bot. This plugin should be at the top of your plugin list in config.
local triggers = {
''
}
local action = function(msg)
local blacklist = load_data('blacklist.json')
if blacklist[msg.from.id_str] then
return -- End if ... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Beastmen_s_Banner.lua | 14 | 1035 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Beastmen_s_Banner
-- @pos -257 8 -249 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Eastern_Altepa_Desert/TextIDs");
----... | gpl-3.0 |
Igdra/darkstar | scripts/globals/items/holy_maul.lua | 41 | 1073 | -----------------------------------------
-- ID: 17080
-- Item: Holy Maul
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------------... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/holy_maul.lua | 41 | 1073 | -----------------------------------------
-- ID: 17080
-- Item: Holy Maul
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Eald_narche_2.lua | 23 | 1063 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Eald'Narche - Phase 2
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitia... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/piscators_skewer.lua | 18 | 1378 | -----------------------------------------
-- ID: 5983
-- Item: Piscator's Skewer
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Dexterity 3
-- Vitality 4
-- Defense % 26 Cap 155
-----------------------------------------
require("scripts/globals/status");
------------------------------... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Windurst_Waters/npcs/Npopo.lua | 14 | 1467 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Npopo
-- Type: Standard NPC
-- @pos -35.464 -5.999 239.120 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/items/galkan_sausage_-1.lua | 18 | 1580 | -----------------------------------------
-- ID: 5862
-- Item: galkan_sausage_-1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Dexterity -3
-- Vitality -3
-- Agility -3
-- Mind -3
-- Intelligence -3
-- Charisma -3
-----------------------------------------
require("scripts... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Metalworks/npcs/Karst.lua | 27 | 1960 | -----------------------------------
-- Area: Metalworks
-- NPC: Karst
-- Type: President
-- Involved in Bastok Missions 5-2
-- @pos 106 -21 0 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
Hosseiin138yz/spam-killer | plugins/greeter.lua | 12 | 4394 | --[[
Sends a custom message when a user enters or leave a chat.
!welcome group
The custom message will send to the group. Recommended way.
!welcome pm
The custom message will send to private chat newly joins member.
Not recommended as a privacy concern and the possibility of user reporting the bot.
!welcome disable
... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Kazham/npcs/Ghemi_Sinterilo.lua | 17 | 1407 | -----------------------------------
-- Area: Kazham
-- NPC: Ghemi Senterilo
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
PixelDevLabs/Ezia-Cleaner_Build-934afd57b26a | NFD/build/premake5.lua | 2 | 5552 | -- Native file dialog premake5 script
--
-- This can be ran directly, but commonly, it is only run
-- by package maintainers.
--
-- IMPORTANT NOTE: premake5 alpha 9 does not handle this script
-- properly. Build premake5 from Github master, or, presumably,
-- use alpha 10 in the future.
workspace "NativeFileDialog"
... | gpl-2.0 |
mniestroj/turbo | turbo/hash.lua | 12 | 4411 | --- Turbo.lua Hash module
-- Wrappers for OpenSSL crypto.
--
-- Copyright 2011, 2012, 2013 John Abrahamsen
--
-- 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/lice... | apache-2.0 |
Bo98/DarkRP | gamemode/modules/fpp/pp/client/menu.lua | 1 | 51189 | local AdminPanel
local EditGroupTools
local RetrieveRestrictedTool
local RetrieveBlockedModels
local BlockedLists = {}
local CatsOpened = {}
local ShowBlockedModels
FPP = FPP or {}
FPP.Groups = {}
FPP.GroupMembers = {}
net.Receive("FPP_Settings_Update", function()
local skipK, skipS, value = net.ReadUInt(8), net.... | mit |
Igdra/darkstar | scripts/zones/Bastok_Markets/npcs/Salimah.lua | 25 | 3318 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Salimah
-- Notes: Start & Finishes Quest: Gourmet
-- @pos -31.687 -6.824 -73.282 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quest... | gpl-3.0 |
Igdra/darkstar | scripts/globals/mobskills/Cross_Reaver.lua | 33 | 1048 | ---------------------------------------------
-- Cross Reaver
--
-- Description: Deals high damage to players in a fan-shaped area. Additional effect: Stun
-- Type: Physical
-- ? ? ? (No data offered)
-- Range: Melee
-- Special weaponskill unique to Ark Angel HM. Deals ~500-900 damage.
--------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.