"""Robot Clash - what generate.py creates. PROMPTS = [(name, positive)] or [(name, positive, negative)] SIZES = {name: (width, height)} optional, otherwise the workflow size (1024x1024) Sprites: always "plain solid black background" (adopt.py keys it out). Scenes (bg_*): full pictures, taken over with adopt_scene.py (no cutout). Own designs only - no characters, robots or arenas from existing games or TV shows. """ _STYLE = ( "isometric 3/4 view game sprite, chunky handmade combat robot part, scratched painted steel, " "bolts and hazard stripes, bold clean shapes, soft studio lighting, high detail, " "centred single subject, plain solid black background" ) _ROBOT = ( "isometric 3/4 view game portrait of a chunky handmade arena battle robot, very low flat armoured steel shell hugging the ground, " "wheels mostly hidden under the armour, NOT a car, NOT a truck, no cab, no windows, no bumpers, no headlights, no arms, no legs, not humanoid, " "scratched painted steel, bolts, dramatic rim light, high detail, centred single subject, plain solid black background" ) _ICON = "flat game UI icon, bold simple silhouette, thick clean outline, metallic shading, centred single subject, plain solid black background" _SCENE = "digital painting, cinematic lighting, high detail, dark industrial mood, orange and steel blue colour palette, no text, no people" PROMPTS = [ # app icon ("icon", "game app icon: a fierce armoured battle robot for arena fights, heavy riveted steel box body with a huge raised front flipper plate and a spinning saw, angry glowing orange eyes on the front armour, chunky, not a car, no windows, no arms, no legs, " "orange and black hazard paint, sparks flying, bold silhouette, plain solid black background"), # scenes (not cut out) ("bg_workshop", f"interior of a cluttered robot workshop garage at night, workbenches with tools, welding sparks, " f"hanging chains, shelves with motors and batteries, orange work lamps, empty floor in the middle, {_SCENE}"), ("bg_title", f"huge indoor robot combat arena seen from high above at an angle, steel floor plates, spiked walls, " f"floodlights cutting through haze, dark crowded stands, a glowing pit in the floor, {_SCENE}"), ("bg_win", f"robot combat arena celebration, golden confetti and showers of sparks under floodlights, {_SCENE}"), ("bg_lose", f"smoking wrecked robot parts and scattered bolts on a steel arena floor, drifting smoke, dim red light, {_SCENE}"), # slot category icons ("slot_chassis", f"empty welded steel robot chassis frame, {_ICON}"), ("slot_motor", f"electric motor with copper windings and drive shaft, {_ICON}"), ("slot_wheels", f"chunky rubber robot wheel with steel hub, {_ICON}"), ("slot_battery", f"heavy robot battery pack with lightning symbol, {_ICON}"), ("slot_armour", f"riveted steel armour plate shaped like a shield, {_ICON}"), ("slot_weapon", f"crossed axe and circular saw blade, {_ICON}"), ("slot_tower", f"small rotating gun turret on a round base, {_ICON}"), # UI icons ("ico_credits", f"gold coin with a bolt stamped on it, {_ICON}"), ("ico_fame", f"golden star trophy, {_ICON}"), ("ico_weight", f"iron weight with handle, {_ICON}"), ("ico_power", f"yellow lightning bolt, {_ICON}"), ("ico_hp", f"red heart crossed with a wrench, {_ICON}"), ("ico_armour", f"steel shield with rivets, {_ICON}"), ("ico_speed", f"speedometer gauge with needle in the red, {_ICON}"), # parts (ids from game/parts.js) ("part_crate", f"simple boxy steel robot chassis, plain welded box with bolts, {_STYLE}"), ("part_doorstop", f"low flat wedge-shaped robot chassis, sloped front, {_STYLE}"), ("part_bulwark", f"large heavy reinforced robot chassis frame with thick beams, {_STYLE}"), ("part_scarab", f"robot chassis with a rounded beetle-like dome shell, {_STYLE}"), ("part_sparky", f"small cheap electric motor with a few wires, {_STYLE}"), ("part_hornet", f"sleek electric motor with yellow and black cooling fins, {_STYLE}"), ("part_bulldog", f"massive high torque gear motor with big gearbox, {_STYLE}"), ("part_comet", f"high speed racing electric motor with glowing blue cooling ring, {_STYLE}"), ("part_rubber", f"set of four small rubber robot wheels, {_STYLE}"), ("part_bigtyre", f"pair of huge chunky off-road tyres for a robot, {_STYLE}"), ("part_tracks", f"pair of heavy tank crawler tracks, {_STYLE}"), ("part_lead", f"heavy old lead acid battery block with terminals, {_STYLE}"), ("part_nicd", f"pack of green nickel cadmium battery cells taped together, {_STYLE}"), ("part_lipo", f"slim modern lithium battery stack with glowing charge lights, {_STYLE}"), ("part_steel", f"set of plain grey riveted steel armour plates, {_STYLE}"), ("part_titan", f"set of light blue-grey titanium armour panels, {_STYLE}"), ("part_hardox", f"set of thick yellowish hardened wear plates with heavy bolts, {_STYLE}"), ("part_wedge", f"angled steel ramming wedge plate, {_STYLE}"), ("part_flipper", f"pneumatic flipper arm, flat steel plate on a hinge with a piston, {_STYLE}"), ("part_hammer", f"robot weapon: heavy axe head on a long steel arm with pivot, {_STYLE}"), ("part_saw", f"robot weapon: large circular saw blade on a motor mount, {_STYLE}"), ("part_crusher", f"robot weapon: hydraulic crushing jaws with sharp teeth, {_STYLE}"), ("part_spinner", f"robot weapon: heavy horizontal spinning steel bar with hardened teeth, {_STYLE}"), ("part_flamer", f"robot flamethrower nozzle with red fuel tank, small flame at the tip, {_STYLE}"), ("part_minigun", f"robot turret minigun with four rotating barrels, {_STYLE}"), ("part_rockets", f"robot turret rocket pod with four tubes, {_STYLE}"), # league opponents (paint matches game/ai.js) ("opp_rustbucket", f"rusty brown boxy robot with a simple ramming wedge, patched with scrap, {_ROBOT}"), ("opp_tintoad", f"green low wedge robot shaped like a flat toad, {_ROBOT}"), ("opp_buzzkill", f"yellow and black striped robot with a big front circular saw, {_ROBOT}"), ("opp_flapjack", f"blue and white low robot with a huge flipper plate and big tyres, {_ROBOT}"), ("opp_pincer", f"red and gold heavy robot on tank tracks with hydraulic crushing jaws, {_ROBOT}"), ("opp_thunderclap", f"purple robot with an overhead axe hammer and a flamethrower turret, {_ROBOT}"), ("opp_gravedigger", f"black domed robot with green lights, tank tracks and a rocket pod turret, {_ROBOT}"), ("opp_overlord", f"menacing black and red domed robot with a heavy horizontal spinning bar weapon, {_ROBOT}"), # shop mechanic (original character) ("npc_mechanic", "game character portrait, gruff middle-aged robot mechanic with welding goggles pushed up on the forehead, " "grey stubble, grease on the cheek, dark overalls with an orange stripe, friendly grin, holding a wrench, " "head and shoulders, stylised digital painting, rim light, plain solid black background"), # arena textures (make_tileable) ("tex_floor", "seamless top-down texture of riveted dark steel floor plates, scratches, oil stains, scuff marks, " "even lighting, no perspective, no shadows"), ("tex_wall", "seamless texture of dark painted steel wall panel with rivets and yellow black hazard stripe band, " "even lighting, front view, no perspective"), ] SIZES = { "bg_workshop": (1536, 864), "bg_title": (1536, 864), "bg_win": (1536, 864), "bg_lose": (1536, 864), "npc_mechanic": (832, 1024), }