Remove minifig name files, use those from the client instead

This commit is contained in:
lcdr
2016-09-29 17:48:14 +02:00
parent 531a446fba
commit fb707f5c48
6 changed files with 5 additions and 1438 deletions

View File

@@ -51,9 +51,9 @@ if GENERATE_ACCOUNTS:
# All "tables" below don't need things like PersistentList instead of normal list, since they will never be modified
root.predef_names = []
for name_index in range(3):
for name_part in ("first", "middle", "last"):
names = []
with open("predef_names_"+str(name_index)+".txt") as file:
with open(os.path.join(config["paths"]["client_path"], "res/names/minifigname_"+name_part+".txt")) as file:
for name in file:
names.append(name[:-1])
@@ -369,6 +369,6 @@ if GENERATE_COMPS:
# Create static objects
if GENERATE_WORLD_DATA:
luz_importer.load_world_data(conn, config["paths"]["client_maps_path"])
luz_importer.load_world_data(conn, config["paths"]["client_path"]+"/res/maps")
transaction.commit()
print("Done initializing database!")

View File

@@ -163,7 +163,7 @@ def parse_lvl(conn, world_data, lvl_path):
def load_world_data(conn, maps_path):
conn.root.world_data = BTrees.IOBTree.BTree()
for world, luz_path in LUZ_PATHS.items():
luz_path = maps_path + luz_path
luz_path = os.path.join(maps_path, luz_path)
if world == World.KeelhaulCanyon:
continue
conn.root.world_data[world.value] = SimpleNamespace(objects=BTrees.OOBTree.BTree(), paths=BTrees.OOBTree.BTree(), spawnpoint=(Vector3(), Quaternion()))

View File

@@ -1,445 +0,0 @@
Ace
Ache
Acid
Acoustic
Active
Adept
Alert
Amazing
Amped
Ancient
Antsy
Aquatic
Arctic
Argon
Artistic
Astro
Average
Awesome
Azure
Balking
Bane
Barefoot
Bearded
Berserk
Best
Bitter
Bizarre
Blooming
Bonus
Booyah
Boron
Brace
Brainy
Brash
Brave
Brazen
Breezy
Bright
Broken
Bronze
Buoyant
Burnt
Buzz
Calm
Candid
Capable
Carbon
Careless
Champion
Chaotic
Charming
Charred
Cheerful
Cheesy
Chief
Chiseled
Circular
Classic
Clay
Clever
Colossal
Comic
Confused
Cool
Corny
Cosmic
Crabby
Crafty
Craggy
Crash
Craven
Crawly
Creative
Crispy
Crooked
Crumple
Crusty
Cunning
Curt
Cutesy
Dainty
Danger
Dapper
Dark
Dashing
Dazz
Dazzling
Deadpan
Defiant
Diddy
Digital
Dire
Divine
Doctored
Dolt
Dot
Double
Dry
Dynamic
Dynamo
Eager
Earthen
Eco
Ecstatic
Edible
Ego
Electric
Elite
Erratic
Ethereal
Evil
Expert
Extra
Extreme
Exultant
Fab
Faboo
Fake
Falling
Famous
Fast
Faux
Favorite
Feeble
Feral
Fever
Fickle
Finicky
First
Flash
Flavor
Flawless
Fleeting
Flimsy
Fragile
Frail
Freckly
Free
Fresh
Friendly
Frowning
Frugal
Funky
Funny
Fuzzy
Galactic
Gallant
Gel
Genuine
Germ
Ghastly
Ghostly
Ghoulish
Gifted
Gilded
Glass
Glitch
Glittery
Glossy
Glowing
Gnarly
Gnomish
Golden
Goofy
Grand
Great
Grizzled
Groggy
Groovy
Gross
Grub
Gruff
Gully
Half
Handsome
Happy
Harsh
Hasty
Haunted
Heated
Helpful
Hiccup
Hollow
Honest
Hovering
Hybrid
Hypno
Icky
Ideal
Infamous
Intense
Intrepid
Ion
Iron
Itchy
Jagged
Jet
Jolly
Jurassic
Keen
Kind
Kinetic
Kitty
Kiwi
Kooky
Lavish
Lively
Logical
Looney
Loopy
Lost
Loud
Loyal
Lucent
Lucid
Lunar
Lunk
Mace
Macho
Mad
Magic
Magical
Maniac
Massive
Material
Max
Medieval
Mega
Mindless
Mini
Missus
Mister
Mocha
Modern
Mondo
Moot
Muggy
Muscular
Mush
Musical
Nautical
Neo
Neon
Nervous
Neuro
Nice
Nitro
Oblong
Oddball
Olde
Organic
Original
Outlawed
Palomino
Partial
Passive
Patient
Peculiar
Pensive
Perfect
Placid
Platinum
Plucky
Polar
Popular
Posh
Prank
Pretty
Prim
Pristine
Proto
Proud
Psychic
Punctual
Quake
Quantum
Quick
Quixotic
Rad
Radiant
Radical
Rambling
Random
Rare
Raspy
Rebel
Recycled
Refined
Regal
Reliable
Renegade
Resolute
Rhyming
Riotous
Ripp
River
Roaring
Robo
Robust
Rocky
Roguish
Rotund
Round
Royal
Rugged
Rumble
Runaway
Ruthless
Saber
Scatter
Scholar
Scramble
Scurvy
Secret
Selfish
Serene
Sergeant
Shifty
Shocked
Shrewd
Shrill
Silly
Silver
Simple
Sincere
Skid
Skilled
Skipper
Skulking
Slash
Sleeping
Sleepy
Slightly
Slug
Sly
Smarmy
Smart
Smite
Snark
Sniffle
Snoozing
Snoring
Solid
Somewhat
Sparkle
Sparkly
Special
Spectral
Speedy
Spin
Spiral
Spirited
Splendid
Sprinkly
Square
Squidgy
Stale
Stalwart
Starchy
Steely
Stellar
Stilted
Stingy
Strange
Stretchy
Striking
Studious
Stunt
Sturdy
Stygian
Stylish
Suave
Sub
Sublime
Subtle
Super
Superb
Supreme
Swift
Swimming
Sylvan
Tardy
Tense
Terrible
Terrific
The
Thrash
Thrifty
Thunder
Tired
Torn
Totally
Tough
Tranquil
Tricksy
Triple
Trite
Tropical
Trotting
Trusty
Tubular
Turbo
Twilight
Twitchy
Ultra
Uncanny
Unusual
Upbeat
Urban
Valiant
Varsity
Vector
Venomous
Verbose
Volatile
Volcanic
Warped
Weak
Wham
Whiny
Whopping
Wicked
Wild
Winged
Wise
Witty
Wondrous
Wonton
Woof
Wooly
Worthy
Woven
Yapping
Ye
Yellow
Yipping
Yonder
Yummy
Zap
Zapped
Zapping
Zealous
Zen
Zero
Zing

View File

@@ -1,416 +0,0 @@
Able
Abyssal
Adobe
Aero
Allergic
Angry
Arachnid
Archaic
Armored
Astute
Aurora
Autumn
Bad
Barnacle
Battle
Beastly
Beefy
Blabby
Blaring
Bleu
Blinky
Bloated
Blubbery
Blue
Bluff
Blunder
Boiling
Bonnie
Bookish
Boom
Boost
Boppity
Brawny
Broiled
Bugaboo
Bumbling
Bumpy
Bundle
Burly
Cake
Camper
Candied
Canned
Canopy
Carefree
Carnival
Cattle
Caviar
Ceiling
Charged
Cheesy
Chicken
Chilling
Chilly
Chrono
Chunky
Clammy
Classy
Clear
Cloudy
Clueless
Clumsy
Coffee
Coin
Comedian
Cooking
Cordial
Crazy
Creek
Creepy
Crunch
Crunchy
Crusher
Cuckoo
Cuddly
Curdled
Curious
Curly
Cycling
Dancing
Debonair
Deluxe
Deranged
Deserted
Diagonal
Diamond
Diligent
Dinghy
Dino
Distant
Dixie
Dizzy
Ducky
Dull
Dump
Dusky
Dusty
Dwarven
Elated
Electron
Elusive
Emote
Empty
Enthused
Eyebrow
Failed
Fancy
Farflung
Fearless
Fearsome
Feline
Festive
Filthy
Finest
Fire
Flaky
Flashy
Flighty
Floor
Flowing
Fluffy
Flying
Frank
Frantic
Fried
Frosty
Frozen
Furrowed
Fusion
Gabby
Gaga
Gamma
Garlic
Gas
Gaudy
Genius
Ghost
Giddy
Gigantic
Glow
Gnaw
Gothic
Graceful
Gravel
Gravity
Greedy
Green
Grey
Grouchy
Grumpy
Grungy
Guileful
Hairy
Halcyon
Hammy
Healthy
Heat
Heavy
Heralded
Heroic
Hippie
Hippity
Hippo
Hippy
Honey
Honored
Hoodoo
Hoppity
Hot
Howling
Humble
Humid
Humorous
Hungry
Hydro
Hypnotic
Idea
Inert
Instant
Isotope
Itchy
Jester
Jetpack
Jinx
Jittery
Joyful
Joyous
Jumbled
Jumpy
Jungle
Karma
Knotted
Knotty
Knuckle
Lame
Laser
Laughing
Laughter
Lazy
Leafy
Lemur
Lucky
Lumpy
Magenta
Magma
Magnetic
Majestic
Maniacal
Maple
Marble
Marching
Marshy
Masterly
Measly
Meddling
Mellow
Melted
Metal
Metric
Miffed
Mighty
Mild
Minty
Miracle
Moldy
Multi
Mumble
Munchkin
Murky
Mystery
Mystical
Nerdy
Nexus
Nifty
Noisy
Numb
Number
Oceanic
Odd
Ogrish
Old
Operatic
Orange
Ottoman
Paladin
Pale
Paper
Parallel
Parrot
Penguin
Pesky
Pixie
Plant
Plasma
Plop
Poetic
Polite
Potent
Power
Precious
Prime
Pungent
Pure
Purplish
Quack
Quartz
Quirky
Rapping
Rasta
Red
Restful
Rock
Rubbish
Rubble
Ruby
Ruffle
Running
Sadface
Salty
Sapphire
Sassy
Saurian
Scaly
Scarab
Science
Scrappy
Scrawny
Sea
Shady
Shaggy
Shallow
Sharpish
Shining
Shocking
Shorty
Shy
Silent
Simian
Singing
Sinister
Sky
Slab
Sleek
Sliced
Slick
Slimy
Sloth
Slow
Sluggish
Slumpy
Smarty
Smashed
Smelly
Smelting
Smiling
Smirking
Smog
Smudgy
Snappy
Snarky
Sneeze
Snobby
Snotty
Soaring
Soda
Soggy
Solar
Soulful
Sour
Soy
Space
Spam
Sparky
Spicy
Spiffy
Spooky
Spright
Spring
Squeaky
Squiggly
Squirrel
Steady
Stoic
Storied
Stormy
Strike
Strong
Stubborn
Sugary
Summer
Sumo
Sunny
Sunset
Surf
Surreal
Swanky
Swizzle
Tall
Tame
Tangy
Tasty
Tawny
Tempest
Tender
Tepid
Thankful
Thirsty
Tiki
Timeworn
Toady
Toejam
Toupe
Touring
Toxic
Trendy
Tumbly
Tundra
Twilight
Twin
Twist
Tyedye
Uber
Unruly
Uppity
Upright
Useful
Vampire
Vanilla
Vapor
Veteran
Vexed
Victory
Vital
Void
Von
Wacky
Walking
Wander
Warbling
Warp
Wax
Wayward
Wedge
Whisper
Wily
Windy
Winter
Wonky
Wool
Yacht
Yodel
Yucky
Zany
Zippy
Zonked
Zoo

View File

@@ -1,572 +0,0 @@
Aardvark
Admiral
Aegis
Agent
Aircraft
Albacore
Algae
Alien
Alloy
Alphabet
Amigo
Amoeba
Anchovy
Anemone
Angler
Ant
Antelope
Anvil
Apple
Argonaut
Aroma
Asteroid
Atom
Auto
Avenger
Aviator
Avocado
Baboon
Badger
Baklava
Ballast
Balloon
Bamboo
Bandana
Bandito
Banjo
Bard
Barnyard
Bat
Bauble
Beach
Bear
Beast
Beatbox
Bicep
Bighead
Biker
Biscuit
Blimp
Blizzard
Block
Bluefin
Boat
Bologna
Bolt
Booboo
Boogaloo
Bookworm
Boss
Botanist
Bouquet
Brain
Branch
Breeze
Brick
Broccoli
Bronco
Brouhaha
Bucket
Buckle
Buffalo
Bug
Builder
Bulb
Bulk
Bull
Bumble
Bump
Bungalow
Bunny
Burp
Butter
Cabana
Cabbage
Cactus
Canine
Canister
Capital
Captain
Caravel
Cardinal
Carp
Castle
Cat
Catfish
Celery
Cereal
Cheese
Cheetah
Chef
Chestnut
Chimera
Choochoo
Chowder
Chunk
Circus
Citizen
Clot
Cloud
Clover
Clown
Clutter
Cobra
Collage
Compass
Computer
Condor
Corn
Couch
Cow
Cowboy
Cramp
Crane
Crayon
Creator
Cube
Cuisine
Curry
Cyborg
Cyclone
Cyclops
Daisy
Dart
Design
Device
Dingo
Dinosaur
Disc
Diva
Dodo
Dog
Dollar
Dolly
Donut
Doubloon
Dragon
Driver
Duck
Dude
Duster
Eagle
Earlobe
Echo
Eclipse
Elbow
Element
Elf
Elk
Emerald
Emperor
Emu
Energy
Engine
Engineer
Enigma
Eraser
Eyeball
Factory
Falcon
Fan
Fang
Farmer
Fella
Fern
Festival
Figment
Fish
Flapjack
Flare
Flounder
Flower
Fluster
Foghorn
Foot
Football
Forehead
Forest
Formula
Fossil
Fridge
Frogleg
Fuel
Fumble
Fungus
Gadabout
Gadget
Galoot
Gamer
Garbage
Garbanzo
Garden
Genie
Ghoul
Giant
Gigawatt
Glacier
Glitter
Globe
Gloop
Goat
Goblin
Goldfish
Golem
Goof
Goon
Gorilla
Goulash
Gryphon
Guardian
Guava
Guitar
Gyro
Hair
Hamcake
Hamlet
Hammer
Hamster
Harvest
Helium
Herder
Hero
Homebody
Honcho
Hoof
Horse
Hulk
Humbug
Hyena
Icicle
Igloo
Industry
Insect
Inventor
Island
Jar
Java
Jazz
Jig
Jigsaw
Juju
Kahuna
Kayak
Kazoo
Ketchup
Kettle
King
Kingpin
Kite
Kitten
Klutz
Knight
Koala
Kraken
Lake
Lasagna
Lasso
Latka
Lava
Legend
Lemming
Lemon
Leopard
Lettuce
Liger
Llama
Loaf
Lobster
Lotus
Lullabye
Lungfish
Machine
Mackerel
Magnet
Mailman
Maize
Mammoth
Mansion
Marvel
Mastodon
Matter
Mechanic
Megabyte
Mermaid
Mesa
Meteor
Mime
Mineral
Minnow
Minstrel
Mirage
Mitten
Molasses
Monday
Moniker
Monkey
Monster
Moonbeam
Moose
Morsel
Mosquito
Moss
Mountain
Mouse
Mugwump
Mullet
Mummy
Mustache
Mustang
Mustard
Myrmidon
Narwhal
Nebula
Neutron
Newbie
Nimbus
Ninja
Noble
Noggin
Nomad
Nonsense
Nostril
Notebook
Nowhere
Nugget
Oatmeal
Octopus
Odor
Okra
Omelet
Onion
Orca
Orchid
Origami
Ostrich
Otter
Owl
Paige
Pancake
Panda
Papaya
Papyrus
Parasite
Pasta
Peel
Pelican
Pepper
Phalanx
Pharaoh
Phenom
Phone
Photon
Physics
Piano
Pickle
Pie
Pigeon
Pilgrim
Pilot
Pinetree
Pioneer
Pirate
Pixel
Pizza
Planet
Platypus
Pony
Poobah
Popcorn
Poppy
Postmark
Potato
Princess
Prophecy
Protozoa
Pumpkin
Puppet
Puppy
Quandary
Quark
Quasar
Racecar
Radish
Ranchero
Rat
Raven
Ravioli
Ray
Reactor
Reindeer
Republic
Rhino
Rhombus
Rhubarb
Ribbon
Ricochet
Riddle
Robot
Rockstar
Rogue
Rootbeer
Roundup
Rover
Ruffian
Rupee
Rutabaga
Safari
Salmon
Salsa
Samurai
Sandwich
Savant
Schooner
Scooter
Scorpion
Scrap
Seagull
Seahorse
Sensei
Shade
Shadow
Shark
Sheep
Shield
Shoe
Shovel
Shuffle
Sidekick
Siren
Skater
Skull
Smirk
Smudge
Snail
Snood
Snorkle
Snowfall
Sock
Solver
Sombrero
Souffle
Soybean
Sparrow
Spartan
Sphinx
Spider
Splatter
Spoon
Sprout
Spud
Spy
Squash
Squid
Squire
Stallion
Stampede
Starbeam
Starbit
Stark
Stew
Steward
Sting
Stingray
Storm
Stove
Stream
Student
Sunbeam
Sundae
Sundance
Surfer
Sushi
Swamp
Sweetpea
Tadpole
Tailor
Tamale
Tango
Tank
Tarot
Teriyaki
Terrier
Tether
Theater
Theorist
Thing
Thorn
Thug
Tiger
Titan
Toad
Toast
Toenail
Tofu
Tomato
Tonsil
Tooth
Torpedo
Tortilla
Tortoise
Towel
Tree
Troll
Trout
Truck
Tuba
Turbine
Turkey
Turnip
Turtle
Typhoon
Udon
Umbrella
Unicorn
Urchin
Vandal
Vaquero
Varmint
Vendor
Viking
Viper
Vision
Voodoo
Vortex
Vulture
Waffle
Waiter
Wallaby
Walrus
Wampus
Wanderer
Warrior
Warthog
Wasabi
Washer
Wasp
Weather
Werewolf
Whatsit
Wheel
Whimsy
Whistle
Wig
Wimple
Wisp
Wizard
Worm
Wraith
Wrangler
Wrench
Yahoo
Yak
Yams
Yeehaw
Yucca
Yule
Zeal
Zebra
Zephyr
Zeppelin
Zest
Zombie
Zorse

View File

@@ -3,4 +3,4 @@ internal_host=localhost
external_host=localhost
[paths]
cdclient_path=not set
client_maps_path=not set
client_path=not set