Last active
August 20, 2022 05:30
-
-
Save Nimblz/e4d93433bf6a213f30a21f66fc43779d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local WeaponTypeNoun = { | |
"Sword", "Shield", "Pistol", "Sniper Rifle", "Knife", "Scythe", "Keyboard", | |
"School Bus Steering Wheel", "Board with a Nail in it", "Karambit", | |
"Cleaver", "Bow", "Big Gun", "Exhaust Pipe", "Nail", "Needle", "Slingshot", "Pickaxe", | |
"Axe", "Shovel", "Propeller", "Pipe Bomb" , "Space Needle", "Scoobis" | |
} | |
local Nouns = { | |
"Bat", "Snowball", "Firebrand", "Frostbrand", "Darkheart", "Electrical Outlet", | |
"Street Light", "Arc Welder", "Blast Furnace", "Polar Bear", "Bear", "Mongoose", | |
"Whale", "Shark", "Ghost", "Spectre", "Infinite", "Police Officer", "Firefighter", "Bearfighter", | |
"Storm", "Moose", "Lava", "Magma", "Dynamo", "Feather", "Quarter", "Nickle", "Dime", | |
"Bubble", "Sponge", "Cactus", "Sand", "Flower", "Wings", "Nail", "Needle", "Star", | |
"Black Hole", "Shell", "Tectonic Plate", "World", "Fricklet", "Kebabulon" | |
} | |
local Adjectives = { | |
"Pointy", "Vast", "Abyssal", "Fast", "Electric", "Hairy", "Bumbling", "Bubbly", | |
"Quaking", "Shaking", "Deep", "Sharp", "Hard", "Annoying", "Tiny", "Cataclysmic", | |
"Lame", "Sad", "Wierd", "sTrAnGe", "Strange", "Ghostly", "Ominous", "Spooky", "Magmatic", | |
"Energetic", "Flaming", "Frozen", "Arcane", "Shadowy", "Lucid", "Unreal", "Mythical", "Tasty", | |
"Odd", "Infinite", "Screaming", "Helpful", "Searching", "Jumping", "Leaping", "Unique", | |
"Dying", "Plagued", "Sanguine", "Dang" | |
} | |
local Combinators = { | |
"of the" | |
} | |
function ChooseFrom(list) | |
return list[math.random(1,#list)] | |
end | |
function MakeAWeapon() | |
local Type = ChooseFrom(WeaponTypeNoun) | |
local Noun = ChooseFrom(Nouns) | |
local Combinator = ChooseFrom(Combinators) | |
local Adjective1 = ChooseFrom(Adjectives) | |
local Adjective2 = ChooseFrom(Adjectives) | |
local WeaponString = Adjective1.." "..Type.." "..Combinator.." "..Adjective2.." "..Noun | |
return WeaponString | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is your first code, Rest in Peace Nimblz :(