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 |
|---|---|---|---|---|---|
m241dan/darkstar | scripts/zones/Bastok_Mines/npcs/Leonie.lua | 13 | 1060 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Leonie
-- Type: Room Renters
-- @zone: 234
-- @pos 118.871 -0.004 -83.916
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("script... | gpl-3.0 |
santssoft/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/Zone.lua | 9 | 1884 | -----------------------------------
--
-- Zone: The_Sanctuary_of_ZiTah (121)
--
-----------------------------------
local ID = require("scripts/zones/The_Sanctuary_of_ZiTah/IDs")
require("scripts/globals/icanheararainbow")
require("scripts/globals/chocobo_digging")
require("scripts/globals/conquest")
require("scripts/g... | gpl-3.0 |
hylthink/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/TileMapTest/TileMapTest.lua | 11 | 39672 | local size = cc.Director:getInstance():getWinSize()
local scheduler = cc.Director:getInstance():getScheduler()
local kTagTileMap = 1
local function createTileDemoLayer(title, subtitle)
local layer = cc.Layer:create()
Helper.initWithLayer(layer)
local titleStr = title == nil and "No title" or title
lo... | mit |
m241dan/darkstar | scripts/globals/abilities/drain_samba.lua | 25 | 1429 | -----------------------------------
-- Ability: Drain Samba
-- Inflicts the next target you strike with Drain daze, allowing all those engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 5
-- TP Required: 10%
-- Recast Time: 1:00
-- Duration: 2:00
-----------------------------------
require("scripts/g... | gpl-3.0 |
santssoft/darkstar | scripts/globals/spells/bluemagic/spiral_spin.lua | 8 | 1801 | -----------------------------------------
-- Spell: Spiral Spin
-- Chance of effect varies with TP. Additional Effect: Accuracy Down
-- Spell cost: 39 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: STR+1 HP+5
-- Level: 60
-- Casting Time: 4 seconds
-- Recast Time: 4... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/dish_of_spaghetti_melanzane_+1.lua | 11 | 1181 | -----------------------------------------
-- ID: 5214
-- Item: dish_of_spaghetti_melanzane_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP % 25 (cap 105)
-- Vitality 2
-- Store TP 6
-- Resist sleep 10
-----------------------------------------
require("scripts/globals/status")
require("... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Cehn_Teyohngo.lua | 13 | 1212 | -----------------------------------
-- Area: Open sea route to Al Zahbi
-- NPC: Cehn Teyohngo
-- Guild Merchant NPC: Fishing Guild
-- @zone 4.986 -2.101 -12.026 46
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
umby24/D3classic | Lua/Temp.lua | 2 | 2693 | --Event_Add("Test", "Event_Test", "Timer", 0, 500, -1)
--Event_Delete("Test")
--System_Message_Network_Send_2_All(-1, "&cRestoring Names...")
Entity_Table, Entities = Entity_Get_Table()
for i = 1, Entities do
local Entity_ID = Entity_Table[i]
local Player_Number = Entity_Get_Player(Entity_ID)
if Player_Number == -1... | mit |
santssoft/darkstar | scripts/globals/spells/sleep_ii.lua | 12 | 1105 | -----------------------------------------
-- Spell: Sleep II
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/status")
-----------------------------------------
function onMagicCastingCheck(caster, target, spell)
return 0
end
functi... | gpl-3.0 |
priteau/splayd | modules/splay/misc.lua | 1 | 11102 | --[[
Splayd
Copyright 2006 - 2009 Lorenzo Leonini (University of Neuchâtel)
http://www.splay-project.org
]]
--[[
This file is part of Splayd.
Splayd 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 vers... | gpl-3.0 |
atimoschenkow/OpenRA | mods/cnc/maps/gdi04b/gdi04b.lua | 29 | 5792 | BhndTrigger = { CPos.New(39, 21), CPos.New(40, 21), CPos.New(41, 21) }
Atk1Trigger = { CPos.New(35, 37) }
Atk2Trigger = { CPos.New(9, 44), CPos.New(10, 44), CPos.New(11, 44), CPos.New(12, 44), CPos.New(13, 44) }
AutoTrigger = { CPos.New(5, 30), CPos.New(6, 30), CPos.New(7, 30), CPos.New(8, 30), CPos.New(9, 30), CPos.Ne... | gpl-3.0 |
m241dan/darkstar | scripts/globals/spells/vivacious_etude.lua | 45 | 1815 | -----------------------------------------
-- Spell: Vivacious Etude
-- Static VIT Boost, BRD 30
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
m241dan/darkstar | scripts/globals/mobskills/glittering_ruby.lua | 27 | 1144 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(ta... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora_+1.lua | 18 | 1656 | -----------------------------------------
-- ID: 5200
-- Item: dish_of_spaghetti_pescatora_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 160
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 70
-- Store TP 6
-----------------------------------------
re... | gpl-3.0 |
Redoxee/TalkMeToTheMoon | Utils/HUMP/vector-light.lua | 53 | 3560 | --[[
Copyright (c) 2012-2013 Matthias Richter
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... | apache-2.0 |
uskdum/good | plugins/lock_en.lua | 1 | 1358 | antienglish = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if msg.to.type == 'chat' then
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_eng'] then
... | gpl-2.0 |
toshi-k/Kaggle-Denoising-Dirty-Documents | lib/patch.lua | 1 | 2168 |
-- img2patch
function img2patch(images)
patch_num = 0
for i = 1,#images do
num_y = math.ceil((images[i]:size(1) - patch_size) / (patch_size - overlap )) + 1
num_x = math.ceil((images[i]:size(2) - patch_size) / (patch_size - overlap )) + 1
patch_num = patch_num + num_x * num_y
end
count = 1
data = torch.Te... | mit |
m241dan/darkstar | scripts/zones/Sacrarium/npcs/Treasure_Chest.lua | 13 | 2914 | -----------------------------------
-- Area: Sacrarium
-- NPC: Treasure Chest
-- @zone 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/zones/Sa... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/prime_beef_stewpot.lua | 18 | 1971 | -----------------------------------------
-- ID: 5548
-- Item: Prime Beef Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 75
-- MP +15
-- Strength +2
-- Agility +1
-- Mind +1
-- HP Recovered while healing +7
-- MP Recovered while healing +2
-- Atta... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua | 13 | 1293 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 450.741 2.110 -290.736 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
camchenry/super_shooter | entities/mode/testmode.lua | 1 | 3368 | Testmode = class("Testmode")
function Testmode:initialize()
end
function Testmode:reset()
self.standardTime = 1.0
self.slowTime = 0.5
self.isSlowed = false
TIME_MULTIPLIER = 1.0
end
function Testmode:update(dt)
player.maxHealth = 10000
player.health = 10000
end
function Testmode:draw()
end
function Testmod... | mit |
dvr333/Zero-K | LuaUI/Widgets/COFCtools/Interpolate.lua | 6 | 11336 | --a workaround for https://springrts.com/mantis/view.php?id=4650
local spGetCameraState = Spring.GetCameraState
local spSetCameraState = Spring.SetCameraState
local spGetTimer = Spring.GetTimer
local spDiffTimers = Spring.DiffTimers
local mathPi = math.pi
local pow = math.pow
lockMode = {
xy = 1,
free = 2,
x... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Port_Bastok/npcs/Ensetsu.lua | 26 | 3363 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ensetsu
-- Finish Quest: Ayame and Kaede
-- Involved in Quest: 20 in Pirate Years, I'll Take the Big Box
-- @pos 33 -6 67 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
dvr333/Zero-K | LuaRules/Gadgets/unit_capture.lua | 6 | 26113 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Capture",
desc = "Handles Yuri Style Capture System",
author = "Google Frog",
date = "3... | gpl-2.0 |
mday299/ardupilot | libraries/AP_Scripting/examples/logging.lua | 14 | 2082 | -- example of logging to a file on the SD card and to data flash
local file_name = "AHRS_DATA.csv"
local file
-- index for the data and table
local roll = 1
local pitch = 2
local yaw = 3
local interesting_data = {}
local function write_to_file()
if not file then
error("Could not open file")
end
-- write d... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Southern_San_dOria/npcs/Dahjal.lua | 13 | 1222 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Dahjal
-- first in conquest Npc
-- @zone 230
-- @pos
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
... | gpl-3.0 |
broxen/Segs | Data/scripts/City_02_02/entities.lua | 3 | 2079 | --- Skyway City
local spawnOnce = false
-- Called after MOTD for now.
function player_connected(id)
--Id is player entity Id
printDebug('player_connected Id: ' .. tostring(id))
Contacts.SpawnContacts('Skyway City')
if spawnOnce == false then
--spinners gather location data
spinSpawne... | bsd-3-clause |
m241dan/darkstar | scripts/zones/San_dOria-Jeuno_Airship/npcs/qm1.lua | 13 | 1544 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: ???
-- Involved In Quest: The Stars Of Ifrit
-- @zone 223
-- @pos 77 -9 -5 -13
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Jugner_Forest/npcs/Cavernous_Maw.lua | 29 | 1443 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Cavernous Maw
-- @pos -118 -8 -518 104
-- Teleports Players to Jugner Forest [S]
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Nyzul_Isle/mobs/Imperial_Gear.lua | 9 | 1482 | -----------------------------------
-- Area: Nyzul Isle (Path of Darkness)
-- Mob: Imperial Gear
-----------------------------------
local ID = require("scripts/zones/Nyzul_Isle/IDs")
require("scripts/globals/status");
-----------------------------------
function onMobSpawn(mob)
local instance = mob:getInstance()... | gpl-3.0 |
palmettos/test | protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua | 59 | 3798 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
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
]]--
local ma... | apache-2.0 |
Shayan123456/botttttt4 | plugins/search_youtube.lua | 674 | 1270 | 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
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
sigurdfdragon/wesnoth-fork | data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua | 11 | 1526 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local M = wesnoth.map
local function get_next_sheep(cfg)
local sheep = AH.get_units_with_moves {
side = wesnoth.current.side,
{ "and", wml.get_child(cfg, "filter_second") },
{ "filter_adjacent", { side = wesnoth.current.side, { "and", wml.ge... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Wajaom_Woodlands/npcs/_1f1.lua | 13 | 1097 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: Engraved Tablet
-- @pos -64 -11 -641 51
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
dvr333/Zero-K | scripts/gunshipheavyskirm.lua | 8 | 4360 | include 'constants.lua'
local base, body, rfjet, lfjet, rffan, lffan, rgun, rbarrel, rflare1, rflare2, lgun, lbarrel, lflare1, lflare2, eye, rthruster, rrjet, rrfanbase, rrfan, lthruster, lrjet, lrfanbase, lrfan = piece('base', 'body', 'rfjet', 'lfjet', 'rffan', 'lffan', 'rgun', 'rbarrel', 'rflare1', 'rflare2', 'lgun'... | gpl-2.0 |
hamode-Aliraq/Hamode.-Aliraqe | plugins/me.lua | 1 | 2507 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ DEVBOT @ali_iraqi ▀▄ ▄▀
▀▄ ▄▀ ( @Dev_iq_s ) ▀▄ ▄▀
▀▄ ▄▀ ME :: اضهار موقعك في المجموعه ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀
—]]
do... | gpl-3.0 |
TeamPorcupine/ProjectPorcupine | Assets/StreamingAssets/LUA/Quest.lua | 20 | 1531 | -------------------------------------------------------
-- Project Porcupine Copyright(C) 2016 Team Porcupine
-- This program comes with ABSOLUTELY NO WARRANTY; This is free software,
-- and you are welcome to redistribute it under certain conditions; See
-- file LICENSE, which is part of this source code package, for ... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/green_quiche.lua | 11 | 1162 | -----------------------------------------
-- ID: 5170
-- Item: green_quiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status")
require("scrip... | gpl-3.0 |
CapsAdmin/pac3 | lua/pac3/core/client/tests/size_modifier.lua | 1 | 2115 | local function equal(a,b, msg, level)
level = level or 0
if a ~= b then
error(tostring(a) .. " != " .. tostring(b) .. ": " .. msg, 2 + level)
end
end
local function check_shared(owner, what, expect)
equal(test.RunLuaOnServer("return Entity(" .. owner:EntIndex() .. "):"..what.."()"), expect, " server mismatch wit... | gpl-3.0 |
mohammad24/nnew | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Windurst_Woods/npcs/Umumu.lua | 9 | 2411 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Umumu
-- Involved In Quest: Making Headlines
-- !pos 32.575 -5.250 141.372 241
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/quests")
require("scripts/globals/titles")
------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fl.lua | 13 | 2634 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: East Plate
-- @pos 231 -34 20 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- ... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Lebros_Cavern/mobs/Qiqirn_Mine.lua | 9 | 2145 | -----------------------------------
-- Area: Lebros Cavern (Excavation Duty)
-- Mob: Qiqirn Mine
-----------------------------------
local ID = require("scripts/zones/Lebros_Cavern/IDs")
require("scripts/globals/status")
-----------------------------------
function onMobSpawn(mob)
local instance = mob:getInstance... | gpl-3.0 |
Newbrict/ObjHunt | gamemode/init.lua | 2 | 13802 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( "shared.lua" )
include( "server/autotaunt.lua" )
function GM:PlayerInitialSpawn( ply )
ply:SetTeam( TEAM_SPECTATOR )
player_manager.SetPlayerClass( ply, "player_spectator" )
ply:SetCustomCollisionCheck( true )
ply.nextTaunt = 0
ply.lastTaunt = Cu... | apache-2.0 |
m241dan/darkstar | scripts/zones/Northern_San_dOria/npcs/Guilerme.lua | 13 | 2054 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guillerme
-- Involved in Quest: Rosel the Armorer
-- @zone: 231
-- @pos -4.500 0.000 99.000
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
m241dan/darkstar | scripts/globals/abilities/weapon_bash.lua | 11 | 1516 | -----------------------------------
-- Ability: Weapon Bash
-- Delivers an attack that can stun the target.
-- Obtained: Dark Knight Level 20
-- Cast Time: Instant
-- Recast Time: 3:00 minutes
-- Note: This ability requires a two-handed weapon to use
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
mjspncr/lzz3 | lzzscripts/lzz/node/decl.lua | 1 | 8457 | -----------------------------------------------------------------------------
-- on declaration nodes
-----------------------------------------------------------------------------
local ArrayType = require 'lzz/type/array_type'
local DeclSpecSel = require 'lzz/misc/decl_spec_sel'
local ElabType ... | gpl-3.0 |
Telebot1/Telewild | plugins/add_bot.lua | 189 | 1492 | --[[
Bot can join into a group by replying a message contain an invite link or by
typing !add [invite link].
URL.parse cannot parsing complicated message. So, this plugin only works for
single [invite link] in a post.
[invite link] may be preceeded but must not followed by another characters.
--]]
do
local function... | gpl-2.0 |
Timmeey86/CQUI_Community-Edition | Assets/UI/Popups/mappinlistpanel.lua | 4 | 10349 | ----------------------------------------------------------------
-- Map Pin List Panel
----------------------------------------------------------------
local m_playerMapPins :table = {};
local m_MapPinListButtonToPinEntry :table = {}; -- map pin entries keyed to their MapPinListButton object string names. This is cu... | mit |
Mailaender/OpenRA | mods/d2k/maps/atreides-03b/atreides03b-AI.lua | 4 | 1514 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
mday299/ardupilot | libraries/AP_Scripting/examples/SN-GCJA5-particle-sensor.lua | 3 | 6043 | --[[
This script reads a SN-GCJA5 panasonic particle sensor on i2c
reading will be saved to data flash logs, CSV file and streamed as named value floats
Development of this script was sponsored by Cubepilot
the code is heavily based on the SparkFun arduino library
https://github.com/sparkfun/Spark... | gpl-3.0 |
domix/libgdx | demos/pax-britannica/pax-britannica-android/assets/data/scripts/fighter_ai.lua | 11 | 2352 | local v2 = require 'dokidoki.v2'
-- shot range
local shot_range = 200
-- try to stay this far away when you're out of ammo
local run_distance = 200
-- true when we've shot everything and want to make a distance, false means
-- we're approaching to attack
local running = false
local target = false
local on_screen = t... | apache-2.0 |
m241dan/darkstar | scripts/globals/player.lua | 1 | 9667 | -----------------------------------
--
--
--
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/shop");
require("... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/bowl_of_loach_gruel.lua | 18 | 1624 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
-----------------------------------------
require("scri... | gpl-3.0 |
dvr333/Zero-K | effects/weapexp_puff.lua | 7 | 4514 | -- weapexp_puff
-- puff_fire2
return {
["weapexp_puff"] = {
fire = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
underwater = 0,
water = false,
properties = {
a... | gpl-2.0 |
santssoft/darkstar | scripts/globals/items/strip_of_sheep_jerky.lua | 11 | 1086 | -----------------------------------------
-- ID: 4518
-- Item: strip_of_sheep_jerky
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 23
-- Attack Cap 35
-----------------------------------------
require("scripts/globals/status")
require("scripts/glo... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Horlais_Peak/bcnms/rank_2_mission.lua | 9 | 1630 | -----------------------------------
-- Rank 2 Final Mission
-- Horlais Peak mission battlefield
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
-----------------------------------
func... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Switchstix.lua | 9 | 20014 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Switchstix
-- Type: Standard NPC
-- !pos 386.091 -13 -17.399 161
-----------------------------------
local ID = require("scripts/zones/Castle_Zvahl_Baileys/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/status");
---------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua | 1 | 2844 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Trail Markings
-- Dynamis-Jeuno Enter
-- @pos 35 9 -51 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
mailru/tntlua | bida2.lua | 2 | 1085 | --
-- bida2.lua
--
-- BIDA (ver. 2)
--
-- Space 0: simple birthday storage
-- Tuple: { user_id (INT), date (INT) }
-- Index 0: TREE { date, user_id }
--
local limit = 7000
function bida2_get_users_by_birthday(birthday, userid_offset)
birthday = box.unpack('i', birthday)
userid_offset = box.unpack('i', userid_of... | bsd-2-clause |
OpenPrograms/skye-Programs | miniOS/keyboard.lua | 1 | 3319 | local keyboard = {}
keyboard.keys = {
["1"] = 0x02,
["2"] = 0x03,
["3"] = 0x04,
["4"] = 0x05,
["5"] = 0x06,
["6"] = 0x07,
["7"] = 0x08,
["8"] = 0x09,
["9"] = 0x0A,
["0"] = 0x0B,
a = 0... | bsd-2-clause |
santssoft/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghatsad.lua | 9 | 18749 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ghatsad
-- Standard Info NPC
-- Involved in quest: No String Attached
-----------------------------------
require("scripts/globals/common")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/status")
l... | gpl-3.0 |
dvr333/Zero-K | LuaRules/Configs/StartBoxes/Oktogon v3.lua | 7 | 1759 | local rings = { -- could also get them from map VFS but this way various infrastructure can also in theory access it
{ -- grass (middle)
{ 3389, 9071},
{ 3355, 3466},
{ 8765, 3235},
{ 8910, 8835},
}, { -- outer 1
{ 955, 7866},
{ 4324, 992},
{11148, 4376},
{ 7317, 11477},
}, { -- outer 2
{ ... | gpl-2.0 |
m241dan/darkstar | scripts/globals/weaponskills/gust_slash.lua | 11 | 1259 | -----------------------------------
-- Gust Slash
-- Dagger weapon skill
-- Skill level: 40
-- Deals wind elemental damage. Damage varies with TP.
-- Will not stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: DEX:20% ; INT:20%
-- 100%TP 200%TP... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/dish_of_homemade_carbonara.lua | 11 | 1599 | -----------------------------------------
-- ID: 5706
-- Item: dish_of_homemade_carbonara
-- Food Effect: 30Min, All Races
-----------------------------------------
-- CHR +1
-- Accuracy +12% (cap 80)
-- Attack +10% (cap 40)
-- Ranged Accuracy +12% (cap 80)
-- Ranged Attack +10% (cap 40)
-------------------------------... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Windurst_Woods/npcs/Hauh_Colphioh.lua | 13 | 2715 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Hauh Colphioh
-- Type: Guildworker's Union Representative
-- @zone: 241
-- @pos -38.173 -1.25 -113.679
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
m241dan/darkstar | scripts/globals/spells/curaga_v.lua | 28 | 1293 | -----------------------------------------
-- Spell: Curaga V
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpe... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 13 | 3834 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- @pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ... | gpl-3.0 |
dvr333/Zero-K | LuaRules/Configs/StartBoxes/Bryce_Arena_fixed_2.lua | 17 | 1187 | return {
[0] = {
startpoints = {
{2785,1270},
},
boxes = {
{
{2212,655},
{3359,655},
{3359,1884},
{2212,1884},
},
},
},
[1] = {
startpoints = {
{5530,6840},
},
boxes = {
{
{4915,6226},
{6144,6226},
{6144,7455},
{4915,7455},
},
},
},
[2] = {
startp... | gpl-2.0 |
electromatter/cuberite | lib/tolua++/src/bin/lua/define.lua | 43 | 1317 | -- tolua: define class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: define.lua,v 1.2 1999/07/28 22:21:08 celes Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide ... | apache-2.0 |
hfjgjfg/teleseeed | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
kingmiladee/clashbaz | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Lower_Jeuno/npcs/Yoskolo.lua | 12 | 1247 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yoskolo
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Southern_San_dOria/npcs/Hinaree.lua | 13 | 1986 | -----------------------------------
-- Area: Southern San d'Oria@
-- NPC: Hinaree
-- Type: Standard NPC
-- @zone: 230
-- @pos -301.535 -10.199 97.698
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;... | gpl-3.0 |
lvshaco/ejoy2d | tool/g2n.lua | 1 | 2978 | package.path = package.path..";ex/?.lua;tool/?.lua"
local argparse = require "argparse"
local png = require "png"
local tbl = require "tbl"
local msqrt = math.sqrt
local mfloor = math.floor
local g_w, g_h, g_depth
local function RGB2L(R,G,B)
L = R * 299/1000 + G * 587/1000 + B * 114/1000
return L
end
local f... | mit |
dvr333/Zero-K | effects/ariel.lua | 25 | 6283 | -- ariel_splosh
-- ariel_gurgle
-- ariel_fizz_bubble
-- ariel_splash
-- ariel_fizz
-- torplosion
return {
["ariel_splosh"] = {
splosh = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water ... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Upper_Delkfutts_Tower/Zone.lua | 9 | 1578 | -----------------------------------
--
-- Zone: Upper_Delkfutts_Tower (158)
--
-----------------------------------
local ID = require("scripts/zones/Upper_Delkfutts_Tower/IDs")
require("scripts/globals/conquest")
require("scripts/globals/treasure")
-----------------------------------
function onInitialize(zone)
zo... | gpl-3.0 |
Mailaender/OpenRA | mods/cnc/maps/gdi04c/gdi04c.lua | 4 | 3982 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Temple_of_Uggalepih/IDs.lua | 9 | 4614 | -----------------------------------
-- Area: Temple_of_Uggalepih
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.TEMPLE_OF_UGGALEPIH] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Newton_Movalpolos/npcs/Treasure_Coffer.lua | 13 | 3837 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Treasure Coffer
-- @zone 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Norg/npcs/Ranemaud.lua | 9 | 3367 | -----------------------------------
-- Area: Norg
-- NPC: Ranemaud
-- Involved in Quest: Forge Your Destiny, The Sacred Katana
-- !pos 15 0 23 252
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
local ID = require("scripts/zones/Norg/IDs");
------------------... | gpl-3.0 |
dvr333/Zero-K | effects/exp_medium_building.lua | 7 | 6299 | -- medium_fire2
-- medium_bursts2
-- exp_medium_building
-- exp_medium_building_small
-- medium_smoke
return {
["medium_fire2"] = {
fire2 = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
underwater ... | gpl-2.0 |
dvr333/Zero-K | LuaUI/Widgets/chili/Controls/multiprogressbar.lua | 8 | 4470 | --// =============================================================================
--- Multiprogressbar module
--- Multiprogressbar fields.
-- Inherits from Control.
-- @see control.Control
-- @table Multiprogressbar
-- @bool[opt = false] drawBorder should the border be drawn?
-- @tparam {r, g, b, a} borderColor spec... | gpl-2.0 |
m241dan/darkstar | scripts/zones/Cloister_of_Storms/mobs/Ramuh_Prime.lua | 23 | 2201 | -----------------------------------
-- Area: Cloister of Storms
-- MOB: Ramuh Prime
-- Involved in Quest: Trial by Lightning
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Dynamis-Valkurm/IDs.lua | 9 | 6299 | -----------------------------------
-- Area: Dynamis-Valkurm
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/dynamis")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.DYNAMIS_VALKURM] =
{
text =
{
I... | gpl-3.0 |
santssoft/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Isdebaaq.lua | 11 | 2577 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Isdebaaq
-- Type: Assault Mission Giver
-- !pos 127.565 0.161 -43.846 50
-----------------------------------
require("scripts/globals/keyitems")
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/besieged")
req... | gpl-3.0 |
palmettos/test | libs/httpclient/luasrc/httpclient/receiver.lua | 93 | 6049 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
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
$Id$
]]--
requ... | apache-2.0 |
dvr333/Zero-K | scripts/factoryhover.lua | 4 | 2257 | include "constants.lua"
local beams = {}
for i = 1, 6 do
beams[i] = piece ('beam' .. i)
end
local base, gate_l, gate_r, nano = piece ('base', 'gate_l', 'gate_r', 'nano')
-- there's also the "doormat" piece, not used for anything though
local nanoPieces = beams
local smokePiece = { base }
local function Open ()
Sig... | gpl-2.0 |
subbyte/subAWM | v3.5.9/wids.lua | 1 | 1265 | local wibox = require("wibox")
local awful = require("awful")
local beautiful = require("beautiful")
local vicious = require("vicious")
module("wids")
beautiful.init("~/.config/awesome/theme.lua")
-- Thermal widget
-- package temperature, higher than CPU core temperature, refresh every 4s
thermwidget = wibox.widget.... | gpl-3.0 |
Mailaender/OpenRA | mods/cnc/maps/nod09/nod09-AI.lua | 4 | 5772 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
condor-the-bird/tarantool | test/big/tree_variants.test.lua | 7 | 3051 | space = box.schema.space.create('tweedledum')
i0 = space:create_index('primary', { type = 'tree', parts = {1, 'num'}, unique = true })
i1 = space:create_index('i1', { type = 'tree', parts = {2, 'num'}, unique = false })
i2 = space:create_index('i2', { type = 'tree', parts = {3, 'num'}, unique = false })
i3 = space:crea... | bsd-2-clause |
santssoft/darkstar | scripts/globals/spells/esuna.lua | 12 | 4287 | -----------------------------------------
-- Spell: Esuna
--
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
function... | gpl-3.0 |
dvr333/Zero-K | LuaUI/Widgets/gui_hide_interface_action.lua | 6 | 2666 | function widget:GetInfo()
return {
name = "Hide Interface and Mouse Cursor",
desc = "Implements a hide interface action as well as mouse cursor sets.",
author = "CarRepairer",
date = "2012-01-11",
license = "GNU GPL, v2 or later",
layer = -100000,
enabled = true,
... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Selbina/npcs/Thunder_Hawk.lua | 11 | 1716 | -----------------------------------
-- Area: Selbina
-- NPC: Thunder Hawk
-- Starts and Finishes Quest: The Rescue
-- !pos -58 -10 6 248
-----------------------------------
local ID = require("scripts/zones/Selbina/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/npc_util")
require("scripts/globals/t... | gpl-3.0 |
m241dan/darkstar | scripts/globals/items/hellfire_sword.lua | 41 | 1073 | -----------------------------------------
-- ID: 16928
-- Item: Hellfire Sword
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
santssoft/darkstar | scripts/globals/items/bowl_of_jack-o-soup.lua | 11 | 1388 | -----------------------------------------
-- ID: 4522
-- Item: Bowl of Jack-o'-Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 2 (cap 120)
-- Agility 3
-- Vitality -1
-- Health Regen While Healing 5
-- Ranged ACC % 8
-- Ranged ACC Cap 25
-------------------------------------... | gpl-3.0 |
dvr333/Zero-K | units/staticheavyradar.lua | 4 | 2200 | return { staticheavyradar = {
unitname = [[staticheavyradar]],
name = [[Advanced Radar]],
description = [[Long-Range Radar]],
activateWhenBuilt = true,
buildCostMetal = 400,
builder = false,
bu... | gpl-2.0 |
santssoft/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Tinnin.lua | 9 | 5192 | -----------------------------------
-- Area: Wajaom Woodlands
-- ZNM: Tinnin
-- !pos 276 0 -694
-- Spawned with Monkey Wine: @additem 2573
-- Wiki: http://ffxiclopedia.wikia.com/wiki/Tinnin
-----------------------------------
mixins =
{
require("scripts/mixins/job_special"),
require("scripts/mixins/rage")
}
re... | gpl-3.0 |
m241dan/darkstar | scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua | 29 | 2133 | -----------------------------------
-- Area: Batallia Downs [S]
-- NPC: Cavernous Maw
-- @pos -48 0 435 84
-- Teleports Players to Batallia Downs
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/teleports... | gpl-3.0 |
sayeed99/kali-nethunter | nethunter-installer/update/system/bin/lualibs/hf_reader.lua | 20 | 5955 | --[[
THIS IS WORK IN PROGREESS, very much not finished.
This library utilises other libraries under the hood, but can be used as a generic reader for 13.56MHz tags.
]]
local reader14443A = require('read14a')
local cmds = require('commands')
local TIMEOUT = 1000
local function sendToDevice(command, ignoreresponse)
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.