repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
sensor-dream/luamod
scripts/sdbs/sql.lua
1
41518
return { library = nil, driver = nil, db = nil, -- флаг активации таймера проверки tmr_connection_idle_time = false, -- флаг активности запросов к базе flag_query = false, init = function(self,obj) self.parent = obj if self.parent.cnf.sql.flag then -- self.d...
mit
tst2005/lua-database
sqlite.lua
1
15948
--[[-------------------------------------------------------- -- Database - A Database Asbraction Layer for Lua -- -- Copyright (c) 2014-2015 TsT worldmaster.fr -- --]]-------------------------------------------------------- -- a voir : -- https://github.com/FPtje/MySQLite/blob/master/mysqlite.lua -- https://github.c...
mit
Elkazan/darkstar
scripts/globals/items/serving_of_karni_yarik_+1.lua
35
1394
----------------------------------------- -- ID: 5589 -- Item: serving_of_karni_yarik_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
Vadavim/test
scripts/globals/items/serving_of_karni_yarik_+1.lua
35
1394
----------------------------------------- -- ID: 5589 -- Item: serving_of_karni_yarik_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); ----...
gpl-3.0
3scale/docker-gateway
gateway/src/resty/log/log.lua
1
2067
local errlog = require "ngx.errlog" local base = require "resty.core.base" local ffi = require 'ffi' local C = ffi.C local FFI_BAD_CONTEXT = base.FFI_BAD_CONTEXT local find = string.find local getinfo = debug.getinfo local reverse = string.reverse local select = select local sub = string.sub local tostring = tostring ...
mit
hoku586/darkstar
scripts/zones/Rala_Waterways_U/Zone.lua
17
1103
----------------------------------- -- -- Zone: Rala Waterways U -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rala_Waterways_U/TextIDs"] = nil; require("scripts/zones/Rala_Waterways_U/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
Vadavim/test
scripts/globals/spells/bluemagic/power_attack.lua
28
1761
----------------------------------------- -- Spell: Power Attack -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7.2...
gpl-3.0
ff94315/luci-1
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua
56
3828
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")), translate("UPnP allows clients in the local network to automatically configure the...
apache-2.0
MrKiaN/MineBot
plugins/weather.lua
1
1376
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) local url = BASE_URL url = url..'?q='..location..'&APPID=eedbc05ba060c787ab0614cad1f2e12b' url = url..'&units=metric' local b, c, h = http.request(url) if c ~= 200 ...
gpl-2.0
Elkazan/darkstar
scripts/zones/Eastern_Altepa_Desert/mobs/Cactrot_Rapido.lua
16
12212
----------------------------------- -- Area: Eastern Altepa Desert -- NM: Cactrot Rapido ----------------------------------- require("scripts/globals/titles"); local path = { -45.214237, 0.059482, -204.244873, -46.114422, 0.104212, -203.765884, -47.013275, 0.149004, -203.285812, -47.911877, 0.193759, -2...
gpl-3.0
hoku586/darkstar
scripts/globals/items/pepperoni_pizza.lua
12
1572
----------------------------------------- -- ID: 5697 -- Item: pepperoni_pizza -- Food Effect: 3hours, All Races ----------------------------------------- -- Health Points 30 -- Strength 1 -- Accuracy 9% (caps @ 10) -- Attack 10% (caps @ 15) ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/silken_sash.lua
36
1212
----------------------------------------- -- ID: 5632 -- Item: Silken Sash -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +3 -- MP Recovered while healing +5 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
linushsao/sky_islands_game-linus
mods/moretrees/node_defs.lua
1
17685
local S = moretrees.intllib moretrees.avoidnodes = {} moretrees.treelist = { {"beech", "Beech Tree"}, {"apple_tree", "Apple Tree"}, {"oak", "Oak Tree", "acorn", "Acorn", {-0.2, -0.5, -0.2, 0.2, 0, 0.2}, 0.8 }, {"sequoia", "Giant Sequoia"}, {"birch", "Birch Tree"}, {"palm", "Palm Tree", "palm_fruit_t...
gpl-3.0
likunpeng/cocos
luatest/src/cocos/cocos2d/OpenglConstants.lua
100
27127
if not gl then return end gl.GCCSO_SHADER_BINARY_FJ = 0x9260 gl._3DC_XY_AMD = 0x87fa gl._3DC_X_AMD = 0x87f9 gl.ACTIVE_ATTRIBUTES = 0x8b89 gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a gl.ACTIVE_PROGRAM_EXT = 0x8259 gl.ACTIVE_TEXTURE = 0x84e0 gl.ACTIVE_UNIFORMS = 0x8b86 gl.ACTIVE_UNIFORM_MAX_LENGTH = 0x8b87...
apache-2.0
Vadavim/test
scripts/globals/weaponskills/shadow_of_death.lua
1
1339
----------------------------------- -- Shadow Of Death -- Scythe weapon skill -- Skill Level: 70 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Snow Gorget & Aqua Gorget. -- Aligned with the Snow Belt & Aqua Belt. -- Element: Dark -- Modifiers: STR:40% ; INT:40% -- 100%TP 20...
gpl-3.0
Vadavim/test
scripts/zones/Palborough_Mines/Zone.lua
27
1673
----------------------------------- -- -- Zone: Palborough_Mines (143) -- ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Palborough_Mines/TextIDs"); ---------...
gpl-3.0
Elkazan/darkstar
scripts/zones/Batallia_Downs/npcs/Luck_Rune.lua
34
1079
----------------------------------- -- Area: Batallia Downs -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos -362.167 -12.199 157.158 105 ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ------------------------------------- require("scripts/...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/burning_cesti.lua
16
1030
----------------------------------------- -- ID: 16398 -- Item: Burning Cesti -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
Elkazan/darkstar
scripts/zones/Davoi/npcs/Bernal.lua
19
1117
----------------------------------- -- Area: Davoi -- NPC: Bernal -- @pos 177 -3 -127 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Davoi/...
gpl-3.0
suzuren/some-mmorpg
3rd/skynet/lualib/skynet.lua
6
15532
local c = require "skynet.core" local tostring = tostring local tonumber = tonumber local coroutine = coroutine local assert = assert local pairs = pairs local pcall = pcall local profile = require "profile" local coroutine_resume = profile.resume local coroutine_yield = profile.yield local proto = {} local skynet =...
mit
Elkazan/darkstar
scripts/zones/Southern_San_dOria/npcs/Shilah.lua
36
1992
----------------------------------- -- Area: Southern San dOria -- NPC: Shilah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop")...
gpl-3.0
Vadavim/test
scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua
38
1026
----------------------------------- -- Area: Al Zahbi -- NPC: Eumoa-Tajimoa -- Type: Standard NPC -- @zone: 48 -- @pos 19.275 -1 55.182 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -----------------------...
gpl-3.0
Vadavim/test
scripts/zones/Al_Zahbi/npcs/Dahaeel.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Dahaeel -- Type: Standard NPC -- @zone: 48 -- @pos -58.732 -6.999 68.096 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
Vadavim/test
scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua
15
3353
----------------------------------- -- Area: Dynamis Beaucedine -- NPC: Goblin Statue -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------...
gpl-3.0
Bubbus/ACF-SWEPs
lua/weapons/weapon_acf_amr/shared.lua
1
3498
AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "ar2" if (CLIENT) then SWEP.PrintName = "ACF Anti-Tank Rifle" SWEP.Author = "Bubbus" SWEP.Slot = 3 SWEP.SlotPos = 3 SWEP.IconLetter = "f" SWEP.DrawCrosshair = false SWEP.Purpose = "Make tanks disappear." SWEP.Instructions = "Reload at 37mm ...
mit
Vadavim/test
scripts/zones/Jugner_Forest/npcs/Signpost.lua
10
2850
----------------------------------- -- Area: Jugner Forest -- NPC: Signpost -- Involved in Quest: Grimy Signposts ------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/quests"); ----------------------------------- -- onTrade Action ----------------------...
gpl-3.0
Elkazan/darkstar
scripts/zones/Lower_Jeuno/npcs/Muckvix.lua
19
1439
----------------------------------- -- Area: Lower Jeuno -- NPC: Muckvix -- Involved in Mission: Magicite -- @zone 245 -- @pos -26.824 3.601 -137.082 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); ...
gpl-3.0
Vadavim/test
scripts/globals/spells/diaga_iii.lua
13
1870
----------------------------------------- -- Spell: Diaga III -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
hoku586/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Prillaure.lua
14
1054
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Prillaure -- Type: Event Scene Replayer -- @pos -143.000 0.999 9.000 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Ur...
gpl-3.0
Vadavim/test
scripts/globals/items/gateau_aux_fraises.lua
36
1415
----------------------------------------- -- ID: 5542 -- Item: Gateau aux fraises -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP 8 -- MP 8% Cap 50 -- Intelligence 1 -- MP Recovered while healing 1 ----------------------------------------- require("scripts/globals...
gpl-3.0
hoku586/darkstar
scripts/zones/Lower_Jeuno/npcs/_l07.lua
7
1574
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -45.148 0 -47.279 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
JoppyFurr/OpenRA
mods/cnc/maps/nod06b/nod06b.lua
25
7008
NodUnitsVehicle1 = { 'bggy', 'bggy', 'bike', 'bike', 'bike' } NodUnitsVehicle2 = { 'ltnk', 'ltnk', 'ltnk' } NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' } NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' } Gdi1Units = { 'e1', 'e1', 'e2', 'e2', 'e2' } HuntCellTriggerActivator = { CPos.New(61,34), CPos.New...
gpl-3.0
Vadavim/test
scripts/globals/items/orange_kuchen.lua
35
1230
----------------------------------------- -- ID: 4393 -- Item: orange_kuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 75 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
linushsao/sky_islands_game-linus
mods/currency/safe.lua
2
3525
function default.get_safe_formspec(pos) local spos = pos.x .. "," .. pos.y .. "," ..pos.z local formspec = "size[8,9]".. "list[nodemeta:".. spos .. ";main;1,1;6,2;]".. "list[current_player;main;0,5;8,4;]" return formspec end local function has_safe_privilege(meta, player) if player:get_player_name(...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/coffeecake_muffin.lua
35
1376
----------------------------------------- -- ID: 5655 -- Item: coffeecake_muffin -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 1 -- Strength -1 -- MP % 10 (cap 85) ----------------------------------------- require("scripts/globals/status"); ----------------------------...
gpl-3.0
Elkazan/darkstar
scripts/zones/Northern_San_dOria/npcs/Beadurinc.lua
53
1875
----------------------------------- -- Area: Northern San d'Oria -- NPC: Beadurinc -- Type: Smithing Synthesis Image Support -- @pos -182.300 10.999 146.650 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
hoku586/darkstar
scripts/zones/Northern_San_dOria/npcs/Beadurinc.lua
53
1875
----------------------------------- -- Area: Northern San d'Oria -- NPC: Beadurinc -- Type: Smithing Synthesis Image Support -- @pos -182.300 10.999 146.650 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
3scale/docker-gateway
spec/policy/find_service/find_service_spec.lua
1
5697
local FindService = require('apicast.policy.find_service') local HostBasedFinder = require('apicast.policy.find_service.host_based_finder') local PathBasedFinder = require('apicast.policy.find_service.path_based_finder') local ConfigurationStore = require('apicast.configuration_store') describe('find_service', functio...
mit
hoku586/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghatsad.lua
14
29298
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ghatsad -- Standard Info NPC -- Involved in quest: No String Attached ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/common"); ...
gpl-3.0
Elkazan/darkstar
scripts/zones/Port_Bastok/npcs/Gudav.lua
17
1931
----------------------------------- -- Area: Port Bastok -- NPC: Gudav -- Starts Quests: A Foreman's Best Friend ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyi...
gpl-3.0
Vadavim/test
scripts/zones/Upper_Jeuno/npcs/Mhao_Kehtsoruho.lua
38
1041
----------------------------------- -- Area: Upper Jeuno -- NPC: Mhao Kehtsoruho -- Type: Past Event Watcher -- @zone: 244 -- @pos -73.032 -1 146.919 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; --------...
gpl-3.0
hoku586/darkstar
scripts/globals/items/hard-boiled_egg.lua
12
1182
----------------------------------------- -- ID: 4409 -- Item: hard-boiled_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic 10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
KragleStudios/gmFactionWars
entities/weapons/gmod_tool/stools/fw_object_creator.lua
1
9964
if SERVER then AddCSLuaFile() end require "ra" TOOL.Category = "Faction Wars" TOOL.Name = "#faction wars object creator" TOOL.ClientConVar[ "entity" ] = "" TOOL.ClientConVar[ "entity_option" ] = "" TOOL.ClientConVar[ "p" ] = "0" TOOL.ClientConVar[ "y" ] = "0" TOOL.ClientConVar[ "r" ] = "0" local data = {} FW_Map_Ob...
mit
korialuo/skynet
test/testmysql.lua
12
6116
local skynet = require "skynet" local mysql = require "skynet.db.mysql" local function dump(obj) local getIndent, quoteStr, wrapKey, wrapVal, dumpObj getIndent = function(level) return string.rep("\t", level) end quoteStr = function(str) return '"' .. string.gsub(str, '"', '\\"') .. '"'...
mit
Elkazan/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Karlotte.lua
38
1069
---------------------------------- -- Area: Bastok Markets [S] -- NPC: Karlotte -- Type: Item Deliverer -- @pos -191.646 -8 -36.349 87 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]...
gpl-3.0
hoku586/darkstar
scripts/zones/Lower_Jeuno/npcs/Susu.lua
17
1634
----------------------------------- -- Area: Lower Jeuno -- NPC: Susu -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade Ac...
gpl-3.0
hoku586/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drg_s_Wynav.lua
17
1753
----------------------------------- -- Area: The Garden of Ru'Hmet -- MOB: Ix'aern (drg)'s Wynav ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ---------------...
gpl-3.0
likunpeng/cocos
QuickGame/src/framework/cc/utils/GameState.lua
19
4151
local GameState = {} GameState.ERROR_INVALID_FILE_CONTENTS = -1 GameState.ERROR_HASH_MISS_MATCH = -2 GameState.ERROR_STATE_FILE_NOT_FOUND = -3 local crypto = require(cc.PACKAGE_NAME .. ".crypto") local json = require(cc.PACKAGE_NAME .. ".json") local encodeSign = "=QP=" local stateFilename = "state.txt" l...
apache-2.0
hoku586/darkstar
scripts/globals/items/himesama_rice_ball.lua
51
1477
----------------------------------------- -- ID: 5928 -- Item: Himesama Rice Ball -- Food Effect: 30 Mins, All Races ----------------------------------------- -- HP +25 -- Dexterity +4 -- Vitality +4 -- Character +4 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Attack +60 -- De...
gpl-3.0
Elkazan/darkstar
scripts/zones/Lower_Jeuno/npcs/Harnek.lua
17
2370
----------------------------------- -- Area: Lower Jeuno -- NPC: Harnek -- Starts and Finishes Quest: The Tenshodo Showdown (finish) -- @zone 245 -- @pos 44 0 -19 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; --...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/salmon_rice_ball.lua
21
1567
----------------------------------------- -- ID: 4590 -- Item: Salmon Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +25 -- Dex +2 -- Vit +2 -- Mnd -1 -- hHP +1 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +40 -- Def ...
gpl-3.0
hoku586/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua
14
1429
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ipupu -- Involved in Quest: Glyph Hanger -- @pos 251.745 -5.5 35.539 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
Vadavim/test
scripts/globals/weaponskills/viper_bite.lua
12
1673
----------------------------------- -- Viper Bite -- Dagger weapon skill -- Skill level: 100 -- Deals double damage and Poisons target. Duration of poison varies with TP. -- Doubles attack and not damage. -- Despite the animation showing two swings, this is a single-hit weapon skill. -- Will stack with Sneak Att...
gpl-3.0
CommandPost/CommandPost
src/extensions/cp/spec/Scenario.lua
2
7030
--- === cp.spec.Scenario === --- --- A [Definition](cp.spec.Definition.md) which describes a specific scenario. --- --- A `Scenario` is most typically created via the [it](cp.spec.md#it) function, like so: --- --- ```lua --- local spec = require "cp.spec" --- local describe, it = spec.describe, spec.it --- --...
mit
Vadavim/test
scripts/zones/Lower_Jeuno/npcs/Audee.lua
28
1799
----------------------------------- -- Area: Lower Jeuno -- NPC: Audee -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ------------------------------...
gpl-3.0
linushsao/sky_islands_game-linus
mods/mymonths/flowers.lua
1
1563
-- Flowers die in late fall minetest.register_abm({ -- nodenames = {'group:flower'}, nodenames = {'group:flower','group:farming'}, interval = 10, chance = 10, action = function (pos) if mymonths.month_counter == 10 or mymonths.month_counter == 11 then minetest.set_node(pos, {name = 'default:dry_grass_1'...
gpl-3.0
otservme/global1041
data/npc/scripts/Elyen Ravenlock.lua
1
4713
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) ...
gpl-2.0
Elkazan/darkstar
scripts/globals/items/elshimo_coconut.lua
35
1217
----------------------------------------- -- ID: 5187 -- Item: elshimo_coconut -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -1 -- Intelligence -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
Elkazan/darkstar
scripts/globals/weaponskills/blast_shot.lua
30
1320
----------------------------------- -- Blast Shot -- Marksmanship weapon skill -- Skill Level: 200 -- Delivers a melee-distance ranged attack. params.accuracy varies with TP. -- Aligned with the Snow Gorget & Light Gorget. -- Aligned with the Snow Belt & Light Belt. -- Element: None -- Modifiers: AGI:30% -- 10...
gpl-3.0
Vadavim/test
scripts/globals/items/rolanberry_pie_+1.lua
35
1376
----------------------------------------- -- ID: 4339 -- Item: rolanberry_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 60 -- Intelligence 3 -- Health Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); -----------...
gpl-3.0
linushsao/sky_islands_game-linus
mods/adv_spawning/testmod/init.lua
2
3099
minetest.register_entity("testmod:bogus_1", { collisionbox = { -0.5,-0.5,-0.5,0.5,0.5,0.5 }, visual = "sprite", textures = { "testmod_num1.png" }, physical = false, groups = { "immortal" }, } ) minetest.register_entity("testmod:bogus_2", { collisionbox =...
gpl-3.0
electricpandafishstudios/Dredge
game/modules/boot/class/Game.lua
1
7591
-- ToME - Tales of Middle-Earth -- Copyright (C) 2009, 2010, 2011, 2012 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 opt...
gpl-3.0
Shayan123456/botttttt7
plugins/inpm.lua
243
3007
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
Elkazan/darkstar
scripts/zones/Mhaura/npcs/Jikka-Abukka.lua
17
1510
----------------------------------- -- Area: Mhaura -- NPC: Jikka-Abukka -- Involved in Quest: Riding on the Clouds -- @pos -13 -15 58 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
hoku586/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua
7
2462
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Hieroglyphics -- Notes: Dynamis Tavnazia Enter -- @pos 3.674 -7.278 -27.856 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
hoku586/darkstar
scripts/globals/items/grilled_lik.lua
12
1346
----------------------------------------- -- ID: 5648 -- Item: Grilled Lik -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Accuracy +2 -- Attack +8 ---------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
CommandPost/CommandPost
src/plugins/core/console/applications.lua
2
5703
--- === plugins.core.console.applications === --- --- Adds all installed applications to the Search Console. local require = require local hs = _G.hs local log = require "hs.logger".new "applications" local image = require "hs.image" local fs ...
mit
Banasura/ntui
options.lua
2
3744
--[[ NEVER TRUST USER'S INPUT non-released v0.1 alpha -------------------------------------------------------------------- This file is part of N.T.U.I. N.T.U.I. 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 Soft...
gpl-3.0
hoku586/darkstar
scripts/zones/Open_sea_route_to_Mhaura/npcs/Map.lua
14
1030
----------------------------------- -- Area: Open_sea_route_to_Mhaura -- NPC: Map -- @pos 0.340 -12.232 -4.120 47 ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Open_sea_route_to_Mhaura/TextIDs"); ...
gpl-3.0
Elkazan/darkstar
scripts/zones/Port_Windurst/npcs/Hakkuru-Rinkuru.lua
17
7052
----------------------------------- -- Area: Port Windurst -- NPC: Hakkuru-Rinkuru -- Involved In Quest: Making Amends -- Starts and Ends Quest: Wonder Wands -- @pos -111 -4 101 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; package.loaded["scripts/globals/...
gpl-3.0
hoku586/darkstar
scripts/globals/items/sakura_biscuit.lua
12
1276
----------------------------------------- -- ID: 6010 -- Item: Sakura Biscuit -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 3 -- Charisma 2 -- Evasion +2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
likunpeng/cocos
luatest/src/NewEventDispatcherTest/NewEventDispatcherTest.lua
11
52060
local itemTagBasic = 1000 local testArray = { TouchableSprite = 1, FixedPriority = 2, RemoveListenerWhenDispatching = 3, CustomEvent = 4, LabelKeyboardEvent = 5, SpriteAccelerationEvent = 6, RemoveAndRetainNode = 7, RemoveListenerAfterAdding = 8, GlobalZTouchTest = 9, StopPropag...
apache-2.0
suzuren/some-mmorpg
server/service/loginserver.lua
1
2005
local skynet = require "skynet" local socket = require "socket" local syslog = require "syslog" local config = require "config.system" local session_id = 1 local slave = {} local nslave local gameserver = {} local CMD = {} function CMD.open (conf) for i = 1, conf.slave do local s = skynet.newservice ("loginslav...
mit
hoku586/darkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/qm3.lua
14
1304
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? (Spawn Ullikummi) -- @pos 739 -99 -581 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextID...
gpl-3.0
Vadavim/test
scripts/zones/Bastok_Mines/npcs/Tami.lua
36
2714
----------------------------------- -- Area: Bastok Mines -- NPC: Tami -- Starts & Finishes Repeatable Quest: Groceries -- Note: Repeatable until proper completion ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
Elkazan/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua
17
1415
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ipupu -- Involved in Quest: Glyph Hanger -- @pos 251.745 -5.5 35.539 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Wiladams/ljgraph2d
testy/test_geom_line.lua
1
1532
--test_svggeometry.lua -- SETUP -- package.path = "../?.lua;"..package.path local FileStream = require("filestream") local SVGStream = require("ljgraph2D.SVGStream") local SVGGeometry = require("ljgraph2D.SVGGeometry") local Document = SVGGeometry.Document; local Line = SVGGeometry.Line; local Rect = SVGGeometry.Rect...
mit
Vadavim/test
scripts/globals/mobskills/Rock_Smash.lua
6
1048
--------------------------------------------- -- Rock Smash -- -- Description: Damages a single target. Additional effect: Petrification -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: --------------------------------------------- require("/scripts/globals/settings"); re...
gpl-3.0
redstormbot/khafankhafan
libs/dkjson.lua
31
26560
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global value...
gpl-2.0
Vadavim/test
scripts/zones/Windurst_Woods/npcs/Abby_Jalunshi.lua
38
1042
----------------------------------- -- Area: Windurst Woods -- NPC: Abby Jalunshi -- Type: Moghouse Renter -- @zone: 241 -- @pos -101.895 -5 36.172 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------...
gpl-3.0
Vadavim/test
scripts/globals/items/fuscina.lua
16
1054
----------------------------------------- -- ID: 18104 -- Item: Fuscina -- Additional Effect: Lightning Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
falsechicken/ai_loader
ai_plugins/ai_weather.lua
1
1899
--[[ Prints the weather/forecast in a given zip code (US only AFAIK). Requires ai_weather_location variable to be set in bot config. Also requires the weather-util package to be installed. --]] local ai_weather = {}; local tableUtils = require("riddim/ai_utils/tableutils"); local BOT; local weatherKeywords = { "we...
gpl-2.0
Elkazan/darkstar
scripts/globals/mobskills/PL_Rock_Smash.lua
13
1175
--------------------------------------------- -- Rock Smash -- -- Description: Damages a single target. Additional effect: Petrification -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
Elkazan/darkstar
scripts/zones/Konschtat_Highlands/TextIDs.lua
7
1468
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6383; -- Obtained: <item>. GIL_OBTAINED = 6384; -- Obtained <number> gil. KEYITEM_OBTAINED = 6386; -- Obtained...
gpl-3.0
3scale/docker-gateway
gateway/src/resty/http_ng/response.lua
2
1717
local assert = assert local rawget = rawget local rawset = rawset local type = type local setmetatable = setmetatable ------------ -- @module middleware --- response -- @type HTTP --- Response returned by http.get and similar calls -- @table response -- @field[type=int] status HTTP Status Code -- @field[type=table] h...
mit
Elkazan/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua
38
1038
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Cannau -- Type: Escort NPC -- @pos 419.838 -56.999 -114.870 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldie...
gpl-3.0
Elkazan/darkstar
scripts/globals/mobskills/Optic_Induration.lua
18
1335
--------------------------------------------- -- Optic Induration -- -- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification &amp; enmity reset -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone...
gpl-3.0
Vadavim/test
scripts/zones/Windurst_Waters/npcs/Zelala.lua
38
1035
----------------------------------- -- Area: Windurst Waters -- NPC: Zelala -- Type: Map Marker -- @zone: 238 -- @pos 169.855 -1.295 -3.238 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; --------------...
gpl-3.0
hoku586/darkstar
scripts/zones/Apollyon/npcs/Sentinel_Column.lua
14
1170
----------------------------------- -- Area: Appolyon -- NPC: Sentinel_Column -- @pos ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; -------------------------...
gpl-3.0
Vadavim/test
scripts/zones/Lower_Jeuno/npcs/Vola.lua
17
3168
----------------------------------- -- Area: Lower Jeuno -- NPC: Vola -- Starts and Finishes Quest: Fistful of Fury -- Involved in Quests: Beat Around the Bushin (before the quest) -- @zone 245 -- @pos 43 3 -45 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; pack...
gpl-3.0
Vadavim/test
scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua
17
5025
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Fossil Rock -- Used in Mission: Windurst Mission 2-1 -- @pos 17 18 184 198 + <many pos> ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
CommandPost/CommandPost
src/extensions/cp/rx/TimeoutScheduler.lua
2
1652
--- === cp.rx.TimeoutScheduler === --- --- A scheduler that uses the `hs.timer` library to schedule events on an event loop. local require = require local timer = require "hs.timer" local doAfter = timer.doAfter local Reference = require "cp.rx.Reference" local util ...
mit
Elkazan/darkstar
scripts/globals/items/slice_of_dragon_meat.lua
18
1348
----------------------------------------- -- ID: 4272 -- Item: slice_of_dragon_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 6 -- Intelligence -8 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
hoku586/darkstar
scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Orange.lua
14
2327
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Magian Moogle (Orange Bobble) -- Type: Magian Trials NPC (Weapon/Empyrean Armor) -- @pos -11 2.453 118 64 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- requir...
gpl-3.0
3scale/docker-gateway
gateway/src/apicast/http_proxy.lua
1
5094
local format = string.format local resty_url = require "resty.url" local resty_resolver = require 'resty.resolver' local round_robin = require 'resty.balancer.round_robin' local http_proxy = require 'resty.http.proxy' local file_reader = require("resty.file").file_reader local _M = { } function _M.reset() _M.bal...
mit
Vadavim/test
scripts/globals/abilities/feral_howl.lua
58
3525
--------------------------------------------------- -- Ability: Feral Howl -- Terrorizes the target. -- Obtained: Beastmaster Level 75 -- Recast Time: 0:05:00 -- Duration: Apprx. 0:00:01 - 0:00:10 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status")...
gpl-3.0
Elkazan/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_GK.lua
27
1373
----------------------------------- -- Area: LaLoff Amphitheater -- NPC: Ark Angel GK ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); ----------------------------------- -- TODO: Allegedly has a 12 hp/sec regen. Determine if true, and add to onMobInitialize if so....
gpl-3.0
hoku586/darkstar
scripts/zones/Port_Windurst/npcs/Kuroido-Moido.lua
28
4137
----------------------------------- -- Area: Port Windurst -- NPC: Kuriodo-Moido -- Involved In Quest: Making Amends, Wonder Wands -- Starts and Finishes: Making Amens! -- Working 100% ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ---------------------------------...
gpl-3.0
nimaghorbani/dozdi4
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
Vadavim/test
scripts/zones/Nashmau/npcs/Wata_Khamazom.lua
34
1438
----------------------------------- -- Area: Nashmau -- NPC: Wata Khamazom -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); -----...
gpl-3.0