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
actboy168/MoeHero
scripts/ac/buff/template.lua
1
7705
local function create_template(set_class) return setmetatable({}, {__index = function (self, name) local obj = ac.buff[name] set_class(obj) local init = {'on_add', 'on_remove', 'on_finish', 'on_pulse', 'on_cover', 'on_cast'} local hook = {} for i, key in ipairs(init) do if obj[key] then hook[key] = ...
gpl-3.0
zynjec/darkstar
scripts/globals/weaponskillids.lua
9
9540
------------------------------------ -- WEAPONSKILL IDs -- -- Contains readable values for Weaponskill IDs ------------------------------------ dsp = dsp or {} ------------------------------------ -- Weaponskill IDs ------------------------------------ dsp.weaponskill = { ------------------------------------ ...
gpl-3.0
dhlab-basel/Sipi
test/_test_data/scripts/convert_from_file.lua
1
5836
-- -- Copyright © 2016 Lukas Rosenthaler, Andrea Bianco, Benjamin Geer, -- Ivan Subotic, Tobias Schweizer, André Kilchenmann, and André Fatton. -- This file is part of Sipi. -- Sipi is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as published -- by ...
agpl-3.0
Colettechan/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua
13
1076
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 215 -34 20 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Mount_Zhayolm/mobs/Wamoura_Prince.lua
30
1567
----------------------------------- -- Area: Mount Zhayolm -- MOB: Wamoura Prince ----------------------------------- require("scripts/globals/status"); -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. Morph into Wamoura. ----------------------------------- -- OnMobS...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/RuLude_Gardens/npcs/_6r9.lua
14
3016
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Audience Chamber -- Involved in Mission: Magicite -- @pos 0 -5 66 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require(...
gpl-3.0
hedgewars/hw
project_files/Android-build/SDL-android-project/assets/Data/Scripts/Multiplayer/Highlander.lua
1
4721
-------------------------------- -- HIGHLANDER / HOGS OF WAR -- version 0.3c -- by mikade -------------------------------- ----------- --0.1 ----------- -- concept test ----------- --0.2 ----------- -- remove tardis till Henek fixes his tracker -- change wep crates to health crates -- reset arb turntimevalue -- inc...
gpl-2.0
Colettechan/darkstar
scripts/zones/Port_Bastok/npcs/Hilda.lua
26
5026
----------------------------------- -- Area: Port Bastok -- NPC: Hilda -- Involved in Quest: Cid's Secret, Riding on the Clouds -- Starts & Finishes: The Usual -- @pos -163 -8 13 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
Colettechan/darkstar
scripts/zones/Windurst_Waters/npcs/Akkeke.lua
13
1392
----------------------------------- -- Area: Windurst Waters -- NPC: Akkeke -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 135 -6 165 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
Colettechan/darkstar
scripts/globals/abilities/water_maneuver.lua
19
1610
----------------------------------- -- Ability: Water Maneuver -- Enhances the effect of water attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Fraktality/LOOP
Class.lua
1
3074
--------------------------------------------------------------------- -- Simple OOP model for Lua. -- -- Copyright (c) 2017 Parker Stebbins. All rights reserved. -- Released under the MIT license. -- -- License & docs can be found at https://github.com/Fraktality/Sloop --------------------------------------------------...
mit
Vadavim/jsr-darkstar
scripts/zones/Mamook/npcs/Logging_Point.lua
17
1064
----------------------------------- -- Area: Mamook -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Mamook/TextIDs"); ----------------------------------- ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Port_Bastok/npcs/Talib.lua
12
3023
----------------------------------- -- Area: Port Bastok -- NPC: Talib -- Starts Quest: Beauty and the Galka -- Starts & Finishes Quest: Shady Business ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/spells/mages_ballad_iii.lua
1
1160
----------------------------------------- -- Spell: Mage's Ballad III -- Gradually restores target's MP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,...
gpl-3.0
Colettechan/darkstar
scripts/zones/Mhaura/npcs/Vera.lua
13
3044
----------------------------------- -- Area: Mhaura -- NPC: Vera -- Finishes Quest: The Old Lady -- @pos -49 -5 20 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); re...
gpl-3.0
darklost/quick-ng
cocos/scripting/lua-bindings/auto/api/Follow.lua
7
1815
-------------------------------- -- @module Follow -- @extend Action -- @parent_module cc -------------------------------- -- Alter behavior - turn on/off boundary. <br> -- param value Turn on/off boundary. -- @function [parent=#Follow] setBoundarySet -- @param self -- @param #bool value -- @return Follow#Follow se...
mit
zynjec/darkstar
scripts/globals/abilities/fire_shot.lua
11
2980
----------------------------------- -- Ability: Fire Shot -- Consumes a Fire Card to enhance fire-based debuffs. Deals fire-based magic damage -- Burn effect: Enhanced DoT and INT- ----------------------------------- require("scripts/globals/ability") require("scripts/globals/magic") require("scripts/globals/status") -...
gpl-3.0
zynjec/darkstar
scripts/globals/items/cone_of_homemade_gelato.lua
11
1604
----------------------------------------- -- ID: 5223 -- Item: cone_of_homemade_gelato -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) --------------------------...
gpl-3.0
jugglerchris/textadept-vi
vi_mode_ex.lua
1
30961
-- Handle the ex buffer emulation -- Modeled on textadept's command_entry.lua local M = {} local vi_tags = require('textadept-vi.vi_tags') local vi_quickfix = require('textadept-vi.vi_quickfix') local vi_regex = require('textadept-vi.regex.pegex') local vi_entry local vi_views = require('textadept-vi.vi_views') local l...
mit
zynjec/darkstar
scripts/globals/items/divine_sword_+1.lua
12
1082
----------------------------------------- -- ID: 16826 -- Item: Divine Sword +1 -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Temenos/mobs/Iruci.lua
26
1278
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Iruci ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/abilities/sublimation.lua
28
2164
----------------------------------- -- Ability: Sublimation -- Gradually creates a storage of MP while reducing your HP. The effect ends once an MP limit is reached, or your HP has gone too low. The stored MP is then transferred to your MP pool by using the ability a second time. -- Obtained: Scholar Level 35 -- Recast...
gpl-3.0
runswithd6s/awesome-configs
volume.lua
1
1627
-- Reference: https://awesome.naquadah.org/wiki/Volume_control_and_display -- The Widget volume_widget = widget({ type = "textbox", name = "tb_volume", align = "right" }) -- Keys volume_up = awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -D pulse set Master 9%+...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/rolanberry_(881_ce).lua
18
1184
----------------------------------------- -- ID: 4529 -- Item: rolanberry_881_ce) -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
zynjec/darkstar
scripts/globals/items/cone_calamary.lua
11
1052
----------------------------------------- -- ID: 5128 -- Item: Cone Calamary -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Bhaflau_Thickets/TextIDs.lua
7
1158
-- 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 = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Tavnazian_Safehold/npcs/HomePoint#1.lua
27
1289
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: HomePoint#1 -- @pos -1.250 -27.907 107.425 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Tavnazian_Safehold/TextIDs"); require...
gpl-3.0
mortezamosavy999/otouto
plugins/currency.lua
6
1301
local command = 'cash [amount] <from> to <to>' local doc = [[``` /cash [amount] <from> to <to> Example: /cash 5 USD to EUR Returns exchange rates for various currencies. ```]] local triggers = { '^/cash[@'..bot.username..']*' } local action = function(msg) local input = msg.text:upper() if not input:match('%a%a%a...
gpl-2.0
Colettechan/darkstar
scripts/globals/spells/foe_lullaby.lua
23
1095
----------------------------------------- -- Spell: Foe Lullaby ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,sp...
gpl-3.0
nodemcu/nodemcu-firmware
lua_examples/ucglib/GraphicsTest.lua
7
3584
-- luacheck: new globals z T r disp lcg_rnd millis z = 127 -- start value T = 1000 r = 0 disp = nil local loop_idx = 0 function lcg_rnd() z = bit.band(65 * z + 17, 255) return z end function millis() local usec = tmr.now() return usec/1000 end -- setup SPI and connect display local function init_s...
mit
zynjec/darkstar
scripts/globals/abilities/desperate_flourish.lua
12
3015
----------------------------------- -- Ability: Desperate Flourish -- Weighs down a target with a low rate of success. Requires one Finishing Move. -- Obtained: Dancer Level 30 -- Finishing Moves Used: 1 -- Recast Time: 00:20 -- Duration: ?? ----------------------------------- require("scripts/globals/weaponskills") re...
gpl-3.0
Colettechan/darkstar
scripts/zones/Yhoator_Jungle/TextIDs.lua
15
1432
-- 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 = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
Colettechan/darkstar
scripts/zones/Southern_San_dOria/npcs/Glenne.lua
11
3936
------------------------------------- -- Area: Southern San d'Oria -- NPC: Glenne -- Starts and Finishes Quest: A Sentry's Peril -- @zone 230 -- @pos -122 -2 15 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
zynjec/darkstar
scripts/globals/items/slice_of_land_crab_meat.lua
11
1164
----------------------------------------- -- ID: 4400 -- Item: slice_of_land_crab_meat -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -4 -- Vitality 3 -- Defense % 14 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/weaponskills/vorpal_scythe.lua
1
1935
----------------------------------- -- Vorpal Scythe -- Scythe weapon skill -- Skill level: 150 -- Delivers a single-hit attack. params.crit varies with TP. -- Modifiers: STR:100% -- 100%TP 200%TP 300%TP -- 1.0 1.0 1.0 ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
zynjec/darkstar
scripts/zones/Cloister_of_Gales/bcnms/sugar-coated_directive.lua
9
1241
---------------------------------------- -- Area: Cloister of Gales -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- require("scripts/globals/battlefield") require("scripts/globals/missions") ---------------------------------------- function onBattlefieldTick(battlefield, tick) dsp....
gpl-3.0
Akamaru/Mikubot
plugins/steam.lua
1
1716
-- See https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI do local BASE_URL = 'http://store.steampowered.com/api/appdetails/' local DESC_LENTH = 400 local function get_steam_data (appid) local url = BASE_URL url = url..'?appids='..appid url = url..'&l=german&cc=DE' local res,code = http.request(...
gpl-2.0
Vadavim/jsr-darkstar
scripts/globals/mobskills/Abrasive_Tantara.lua
27
1028
--------------------------------------------- -- Abrasive Tantara -- -- Description: Inflicts amnesia in an area of effect -- Type: Enfeebling -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' as well as single target outside of 10' -- Notes: Doesn't use this if its horn is broken. It is possible for Abras...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Lufaise_Meadows/npcs/Ghost_Talker_IM.lua
14
3334
----------------------------------- -- Area: Lufaise Meadows -- NPC: Ghost Talker, I.M. -- Border Conquest Guards -- @pos 414.659 0.905 -52.417 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
Colettechan/darkstar
scripts/globals/mobskills/Voiceless_Storm.lua
33
1172
--------------------------------------------- -- Voiceless Storm -- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS) --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------...
gpl-3.0
tsdfsetatata/xserver
config/server/MagicTable.lua
1
2065
local MagicTable = { [420700001] = { ['ID'] = 420700001, --索引 ['Quality'] = 1, --品级 ['MainAttribute'] = 3, --主属性类型 ['MainAttributeNum'] = {50,150}, --主属性值 ['ViceAttribute22'] = {5000,3000,2000}, --副属性条数概率 ['ViceAttribute'] = {16,15,22,17,18,19,20,23,24,25,26,27,28,29,30,31,32,89,90,91,92,93,94,95,96...
gpl-3.0
Colettechan/darkstar
scripts/zones/Hall_of_the_Gods/npcs/Shimmering_Circle.lua
12
1794
----------------------------------- -- Area: Hall of the Gods -- NPC: Shimmering Circle -- Lifts players up to the sky! -- @pos 0 -20 147 251 ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
nodemcu/nodemcu-firmware
lua_examples/mcp23008/mcp23008_leds.lua
7
1543
--- -- @description Shows control of 8 GPIO pins/LEDs via I2C with the MCP23008 I/O expander. -- Tested on odeMCU 0.9.5 build 20150213. -- @date March 02, 2015 -- @circuit Connect 8 LEDs withs resistors to the GPIO pins of the MCP23008. -- Connect GPIO0 of the ESP8266-01 module to the SCL pin of the MCP23008. -- Conn...
mit
Colettechan/darkstar
scripts/zones/Port_Bastok/npcs/Dehlner.lua
13
1196
----------------------------------- -- Area: Port Bastok -- NPC: Dehlner -- Standard Info NPC -- Invlolved in Quest: A Foreman's Best Friend ----------------------------------- require("scripts/globals/quests"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/abilities/pets/moonlit_charge.lua
1
1454
--------------------------------------------------- -- Moonlit Charge M=4 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/summon"); --------------------------------------------------- function onAbilityCheck(player, ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua
27
1263
----------------------------------- -- Area: Den_of_Rancor -- NPC: HomePoint#2 -- @pos 182 34 -62 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs"); require("scripts/globals/homepoin...
gpl-3.0
JonasT/TaskWarlord
ipinfo.lua
1
3073
--[[ Task Warlord - a coding game Copyright (C) 2014 Jonas Thiem 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 la...
gpl-3.0
actboy168/MoeHero
scripts/maps/creeps/大树精.lua
1
2248
local mt = ac.skill['树精破甲'] { --减甲(%) defence_rate = 5, --叠加次数 stack_max = 5, --持续时间 time = 5, } function mt:on_add() local u = self.owner self.trg = u:event '造成伤害效果' (function(trg, damage) if not damage:is_attack() then return end damage.target:add_buff '树精破甲' { source = u, rate = self.defe...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Bastok_Markets/npcs/Ulrike.lua
53
1816
----------------------------------- -- Area: Bastok Markets -- NPC: Ulrike -- Type: Goldsmithing Synthesis Image Support -- @pos -218.399 -7.824 -56.203 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/st...
gpl-3.0
berinhard/newfies-dialer
lua/scheduled_event.lua
8
7850
-- Version: MPL 1.1 -- -- The contents of this file are subject to the Mozilla Public License Version -- 1.1 (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.mozilla.org/MPL -- -- Software distributed under the License is distribu...
mpl-2.0
zynjec/darkstar
scripts/commands/setplayermodel.lua
22
1655
--------------------------------------------------------------------------------------------------- -- func: setplayermodel <modelid> <slot> <player> -- desc: Sets the look of the user or target player based on model id offset and slot (for testing). ---------------------------------------------------------------------...
gpl-3.0
syntafin/prosody-modules
mod_default_vcard/mod_default_vcard.lua
32
1344
local datamanager = require "util.datamanager"; local st = require "util.stanza"; local host = module.host; module:hook("user-registered", function(event) local username = event.username; local data = datamanager.load(username, host, "account_details"); local vcard = datamanager.load(username, host, "vcard"); --mo...
mit
zynjec/darkstar
scripts/zones/Castle_Zvahl_Baileys/Zone.lua
11
2747
----------------------------------- -- -- Zone: Castle_Zvahl_Baileys (161) -- ----------------------------------- local ID = require("scripts/zones/Castle_Zvahl_Baileys/IDs") require("scripts/globals/conquest") require("scripts/globals/treasure") require("scripts/globals/zone") ----------------------------------- func...
gpl-3.0
reaperrr/OpenRA
mods/ra/maps/allies-08b/allies08b-AI.lua
7
5919
--[[ Copyright 2007-2022 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
Colettechan/darkstar
scripts/zones/Bastok_Mines/npcs/Davyad.lua
13
1177
----------------------------------- -- Area: Bastok Mines -- NPC: Davyad -- Involved in Mission: Bastok 3-2 -- @zone 234 -- @pos 83 0 30 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scri...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/abilities/repair.lua
1
4845
----------------------------------- -- Ability: Repair -- Uses oil to restore pet's HP. -- Obtained: Puppetmaster Level 15 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); ------------...
gpl-3.0
Colettechan/darkstar
scripts/globals/weaponskills/exenterator.lua
10
2053
----------------------------------- -- Exenterator -- Skill level: 357 -- Terpsichore: Aftermath effect varies with TP. -- In order to obtain Exenterator, the quest Martial Mastery must be completed. -- Description: Delivers a fourfold attack that lowers enemy's params.accuracy. Effect duration varies with TP. -- Align...
gpl-3.0
ncoe/rosetta
4-rings_or_4-squares_puzzle/Lua/4rings.lua
1
2165
function valid(unique,needle,haystack) if unique then for _,value in pairs(haystack) do if needle == value then return false end end end return true end function fourSquare(low,high,unique,prnt) count = 0 if prnt then print("a", "b", "...
mit
pspjuth/cqui
Assets/UI/WorldView/citybannermanager.lua
1
140112
-- =========================================================================== -- City Banner Manager -- =========================================================================== include( "InstanceManager" ); include( "SupportFunctions" ); include( "Civ6Common" ); -- ==============================================...
mit
Colettechan/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/sugar-coated_directive.lua
30
1801
---------------------------------------- -- Area: Cloister of Tremors -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
reaperrr/OpenRA
mods/ra/maps/soviet-05/soviet05.lua
7
7839
--[[ Copyright 2007-2022 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
Colettechan/darkstar
scripts/globals/weaponskills/last_stand.lua
9
1818
----------------------------------- -- Skill Level: 357 -- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP. -- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used. -- To obtain Last Stand, the quest Martial Ma...
gpl-3.0
lcf8858/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua
5
2702
-------------------------------- -- @module ActionTimelineCache -- @parent_module ccs -------------------------------- -- Clone a action with the specified name from the container. -- @function [parent=#ActionTimelineCache] createActionFromJson -- @param self -- @param #string fileName -- @return ActionTimeline#Ac...
mit
Colettechan/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua
13
1060
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Mhoti Pyiahrs -- Type: Allegiance -- @zone: 94 -- @pos 6.356 -2 26.677 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Labyrinth_of_Onzozo/mobs/Flying_Manta.lua
14
1565
----------------------------------- -- Area: Labyrinth of Onzozo -- MOB: Flying Manta -- Note: Place holder Lord of Onzozo ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Labyrinth_of_Onzozo/MobIDs"); ----------------------------------- -- onMobDeath ------------...
gpl-3.0
aleksijuvani/premake-core
modules/gmake/tests/cpp/test_objects.lua
15
4271
-- -- tests/actions/make/cpp/test_objects.lua -- Validate the list of objects for a makefile. -- Copyright (c) 2009-2015 Jason Perkins and the Premake project -- local suite = test.declare("make_cpp_objects") local p = premake -- -- Setup -- local wks, prj function suite.setup() wks = test.createWorkspace()...
bsd-3-clause
zevv/lgi
samples/gtk-demo/demo-entry-search.lua
1
4441
return function(parent, dir) local coroutine = require 'coroutine' local lgi = require 'lgi' local GLib = lgi.GLib local GObject = lgi.GObject local Gtk = lgi.Gtk local window = Gtk.Dialog { title = "Search Entry", resizable = false, on_response = Gtk.Widget.destroy, buttons = { { Gtk.STOCK_CLOSE, G...
mit
Colettechan/darkstar
scripts/globals/spells/diaga_ii.lua
26
1930
----------------------------------------- -- Spell: Diaga II -- 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
Mohammadjkr/spam-bot
plugins/admin.lua
381
7085
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
agpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Lower_Jeuno/npcs/Caruvinda.lua
16
4396
----------------------------------- -- Area: Lower Jeuno -- NPC: Caruvinda -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/armorstorage"] = nil; ----------------------------------- require("scripts/globals/settings"); r...
gpl-3.0
victorzhao/miniblink49
third_party/skia/tools/lua/count_reduced_clipstacks.lua
147
3116
stats = {} -- switch this to run on the automated scraper system newline = "\n" -- newline = "\\n" function sk_scrape_startcanvas(c, fileName) canvas = c oldstackstr = "<invalid>" end function sk_scrape_endcanvas(c, fileName) canvas = nil end function string.starts(String,Start) return string.sub(Str...
gpl-3.0
zynjec/darkstar
scripts/globals/mobskills/gravitic_horn.lua
11
1687
--------------------------------------------------- -- Gravitic Horn -- Family: Antlion (Only used by Formiceros subspecies) -- Description: Heavy wind, Throat Stab-like damage in a fan-shaped area of effect. Resets enmity. -- Type: Magical -- Can be dispelled: N/A -- Utsusemi/Blink absorb: Ignores shadows -- Range: Co...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/effects/voidwatcher.lua
1
7214
----------------------------------- -- -- EFFECT_POISON -- ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/jsr_utils"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffec...
gpl-3.0
hedgewars/hw
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
1
18131
------------------- ABOUT ---------------------- -- -- In the desert planet, the hero will have to explore -- the dunes below the surface and find the hidden -- crates. It is told that one crate contains the -- lost part. -- Idea: game will be successfully end when the 2 lower crates are collected -- it would be more ...
gpl-2.0
rocval/gamecode4
Assets/Scripts/test.lua
44
2849
--======================================================================== -- tests.lua : General testing & debugging functions -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - 4th Edition" by Mike M...
lgpl-3.0
syntafin/prosody-modules
mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua
31
4360
-- Prosody IM -- Copyright (C) 2008-2014 Matthew Wild -- Copyright (C) 2008-2014 Waqas Hussain -- Copyright (C) 2014 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local st = require "util.stanza" local base64 = require"util.encodings"....
mit
PhearZero/phear-scanner
bin/nmap-openshift/nselib/json.lua
3
12525
--- -- Library methods for handling JSON data. It handles JSON encoding and -- decoding according to RFC 4627. -- -- There is a test section at the bottom which shows some example -- parsing. If you want to parse JSON, you can test it by pasting sample JSON -- into the <code>TESTS</code> table and run the <code>test</c...
mit
Colettechan/darkstar
scripts/zones/Cloister_of_Tides/bcnms/trial_by_water.lua
30
1857
----------------------------------- -- Area: Cloister of Tides -- BCNM: Trial by Water ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/...
gpl-3.0
Colettechan/darkstar
scripts/zones/Davoi/npcs/Zantaviat.lua
13
2384
----------------------------------- -- Area: Davoi -- NPC: Zantaviat -- Involved in Mission: The Davoi Report -- @pos 215 0.1 -10 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globa...
gpl-3.0
Colettechan/darkstar
scripts/zones/Port_Bastok/TextIDs.lua
12
5180
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the item (item>. Try trading again after sorting your inventory. ...
gpl-3.0
Akamaru/Mikubot
plugins/url_title.lua
1
2511
do function getTitle(page) local s = page -- Remove optional spaces from the tags. s = string.gsub(s, " *< *", "<") s = string.gsub(s, " *> *", ">") -- Put all the tags in lowercase. s = string.gsub(s, "(<[^ >]+)", string.lower) s = string.gsub(s, "&amp;", "&") -- Be sure to do this after all others ...
gpl-2.0
zynjec/darkstar
scripts/globals/items/jack-o-pie.lua
11
1029
----------------------------------------- -- ID: 5644 -- Item: jack-o-pie -- Food Effect: 1hour, All Races ----------------------------------------- -- MP 45 -- CHR -1 -- Intelligence 4 -- hMP +1 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------------...
gpl-3.0
Colettechan/darkstar
scripts/zones/Lower_Jeuno/npcs/_l06.lua
13
1554
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -52.752 0 -60.492 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
Colettechan/darkstar
scripts/zones/Qulun_Dome/npcs/The_Mute.lua
13
1104
----------------------------------- -- Area: Qulun Dome -- NPC: The Mute -- @zone 148 -- @pos <many> ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beadeaux/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
Colettechan/darkstar
scripts/zones/Windurst_Walls/npcs/Yoriri.lua
13
1457
----------------------------------- -- Area: Windurst Walls -- NPC: Yoriri -- Type: Standard NPC -- @pos 65.268 -8.5 -58.309 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/strip_of_smoked_mackerel.lua
18
1181
----------------------------------------- -- ID: 5943 -- Item: Strip of Smoked Mackerel -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
NathanFlurry/StackIt
StackIt.codea/Main.lua
1
15892
-- StackIt supportedOrientations(PORTRAIT_ANY) displayMode(FULLSCREEN_NO_BUTTONS) --displayMode(OVERLAY) function setup() --getLineCount() rad = math.pi*2 json = require('json') weatherLib = require('weatherlib') debugMode = false gScale = WIDTH/768 gScaleHeight = HEIGHT/1024 ...
mit
aminba/iramin
plugins/remind.lua
279
1873
local filename='data/remind.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
Colettechan/darkstar
scripts/globals/mobskills/Core_Meltdown.lua
35
1099
--------------------------------------------------- -- Core Meltdown (Ghrah) -- Reactor core fails and self-destructs, damaging any nearby targets. -- Note: Very rare, estimated 5% chance --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require...
gpl-3.0
darklost/quick-ng
quick/framework/network.lua
18
9522
--[[ Copyright (c) 2011-2014 chukong-inc.com 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...
mit
sumory/lor
resty/template.lua
8
15473
local setmetatable = setmetatable local loadstring = loadstring local loadchunk local tostring = tostring local setfenv = setfenv local require = require local capture local concat = table.concat local assert = assert local prefix local write = io.write local pcall = pcall local phase local open = io.open local load = ...
mit
Colettechan/darkstar
scripts/globals/weaponskills/black_halo.lua
11
1536
----------------------------------- -- Black Halo -- Club weapon skill -- Skill level: 230 -- In order to obtain Black Halo, the quest Orastery Woes must be completed. -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget, Thunder Gorget & Breeze Gorget....
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/abilities/pets/attachments/accelerator_ii.lua
1
1027
----------------------------------- -- Attachment: Accelerator II ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_EVA, 10) end function onUnequip(pet) pet:delMo...
gpl-3.0
actboy168/MoeHero
scripts/maps/hero/赤瞳/赤红之刺.lua
1
3364
local mt = ac.skill['赤红之刺'] mt{ --初始等级 level = 0, --技能图标 art = [[BTNctq.blp]], --技能说明 title = '赤红之刺', tip = [[ 击晕并降低目标%defence_rate%%护甲,持续%stun%秒,随后造成%damage%(+%damage_plus%)伤害 ]], --耗蓝 cost = 80, --冷却 cool = 11, --施法距离 range = 500, --施法动画 cast_animation = 5, --该动画不能被跳过 important_animation ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm2.lua
17
1028
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: ??? -- Spawns: Ningishzida ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ if (trade:hasI...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Qulun_Dome/npcs/_440.lua
14
1602
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Magicite -- @pos 60 24 -2 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Qulun...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/RaKaznar_Turris/Zone.lua
32
1269
----------------------------------- -- -- Zone: Ra’Kanzar Turris (277) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Turris/TextIDs"); ----------------------...
gpl-3.0
Colettechan/darkstar
scripts/zones/RaKaznar_Turris/Zone.lua
32
1269
----------------------------------- -- -- Zone: Ra’Kanzar Turris (277) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Turris/TextIDs"); ----------------------...
gpl-3.0
Colettechan/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Akane_IM.lua
13
3357
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Akane, I.M. -- Type: Outpost Conquest Guards -- @pos -24.351 -60.421 -114.215 111 ------------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ------------------------------------- require("scripts/globa...
gpl-3.0
Gh0stblade/OpenTomb
scripts/strings/russian/generic.lua
7
4038
-- OPENTOMB GENERIC STRINGS - RUSSIAN LANGUAGE -- by Lwmte, Jan 2015 -------------------------------------------------------------------------------- -- This set of strings is used globally in all engine versions for various -- menu entries, notify pop-ups, inventory entries etc. --------------------------------------...
lgpl-3.0