mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 03:55:23 +09:00
* Create base-damage.cfg * Update base-damage.cfg * spellfix grievers changed to griefers * Create admin.cfg needs editing * Create announcements.cfg * Update announcements.cfg * needs translatoin * needs translation still in English * needs translation * needs translation * Create inventory-search.cfg * translation fixed not much more to write * translation fixed * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * needs translation * translation fixed * unfinishied * Translation mostly fixed Couldnt find the right words to correctly translate the emotions and genuine feelings behind "loops" and #fear the aids", they are so genuine as they are now. * translation fixed * translation fixed * translation fixed * translation fixed * translation fixed * translation fixed * hopefully correctly translated (read my comment) not sure if "not enough credentials" is correctly translated. I supposed you meant not enough security clearance or somthing like that. I could have written (Access denied due to invalid rank= Tillgång nekas på grund av otillräcklig rang) * translation fixed * translation fixed * translation fixed * grammar fix * grammer fix Yeah, I copied the grammar error from original English file and made a similiar error in the swedish version. * spell fix * better grammar * estetical language change * added order pizza * order pizza * fix * Update chat-bot.cfg * spelfix * Update auto-chat.lua * added make-cofee * added make cofee * fix because I cant spell apperantly * spell fix because I cant spell apperantly * missing = * coffee * make coffee * make coffee * food I find it quite funny that arty would pin that message on discord and it is still there. * food I wonder how long that pin will stay about the random food suggestion generator... * food changed to what to eat * food changed to whattoeat * Update chat-bot.cfg * Coffee on twise * mead and snaps added * !mead please * a fix * !pass some snaps * get-cocktail * !make cocktail * fix? * fix? * rhd (thadius suggestion) * lhd message added * Fixed Comment and indentation * rhd changed from shout to messages * I am also a lazy bastard * Update colours.lua * Not needed in commands if present in messages * Fixed missing comma
27 lines
1.0 KiB
Lua
27 lines
1.0 KiB
Lua
|
|
-- made by cooldude - we are lazy and we want to always have the same colour, also uses std lib to auto assign random colours
|
|
|
|
local default_colours = {
|
|
BADgamerNL={r=255,g=20,b=147},
|
|
arty714={r=150,g=68,b=161},
|
|
Cooldude2606={r=57,g=192,b=207},
|
|
mark9064={r=99,g=0,b=255},
|
|
eissturm={r=25,g=25,b=112},
|
|
Sakama={r=20,g=213,b=80}
|
|
}
|
|
|
|
Event.register(defines.events.on_player_created, function(event)
|
|
local player = game.players[event.player_index]
|
|
local colours = table.keys(defines.color)
|
|
player.color = defines.color.black
|
|
while player.color.r == defines.color.black.r and player.color.g == defines.color.black.g and player.color.b == defines.color.black.b
|
|
or player.color.r == defines.color.white.r and player.color.g == defines.color.white.g and player.color.b == defines.color.white.b do
|
|
player.color = defines.color[colours[math.random(#colours)]]
|
|
if default_colours[player.name] then
|
|
local c = default_colours[player.name]
|
|
player.color = Color.from_rgb(c.r,c.g,c.b)
|
|
end
|
|
end
|
|
player.chat_color = player.color
|
|
end)
|