Skip to content

Instantly share code, notes, and snippets.

@Nimblz
Last active August 20, 2022 05:30
Show Gist options
  • Save Nimblz/e4d93433bf6a213f30a21f66fc43779d to your computer and use it in GitHub Desktop.
Save Nimblz/e4d93433bf6a213f30a21f66fc43779d to your computer and use it in GitHub Desktop.
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
@GamerstGamerBR
Copy link

This is your first code, Rest in Peace Nimblz :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment