Skip to navigation

Elite on the BBC Micro

Drawing ships: ship_bits [Elite-A, Parasite]

Name: ship_bits [Show more] Type: Variable Category: Drawing ships Summary: Table of allowed ship blueprint positions for each ship type Deep dive: Ship blueprints in Elite-A
Context: See this variable in context in the source code References: This variable is used as follows: * LSHIPS calls ship_bits
.ship_bits \ Blueprint position in ship_data \ 1 = allowed, 0 = not allowed \ 30 20 10 0 \ | | | | \ v v v v \ 10987654321098765432109876543210 EQUD %00000000000000000000000000000100 \ 0 = Dodo station EQUD %00000000000000000000000000000100 \ 1 = Coriolis station EQUD %00000000000000000000000000001000 \ 2 = Escape pod EQUD %00000000000000000000000000010000 \ 3 = Alloy plate EQUD %00000000000000000000000000100000 \ 4 = Cargo canister EQUD %00000000000000000000000001000000 \ 5 = Boulder EQUD %00000000000000000000000010000000 \ 6 = Asteroid EQUD %00000000000000000000000100000000 \ 7 = Splinter EQUD %00000000000000000000001000000000 \ 8 = Shuttle EQUD %00000000000000000000010000000000 \ 9 = Transporter EQUD %00011111111000000011100000000000 \ 10 = Cobra Mk III EQUD %00011001110000000011100000000000 \ 11 = Python EQUD %00000000000000000011100000000000 \ 12 = Boa EQUD %00000000000000000100000000000000 \ 13 = Anaconda EQUD %00000001110000001000000000000000 \ 14 = Worm EQUD %00000000000000000000000000000010 \ 15 = Missile EQUD %00000000000000010000000000000000 \ 16 = Viper EQUD %00010001111111101000000000000000 \ 17 = Sidewinder EQUD %00010001111111100000000000000000 \ 18 = Mamba EQUD %00010001111111100000000000000000 \ 19 = Krait EQUD %00011001111110000011000000000000 \ 20 = Adder EQUD %00011001111111100000000000000000 \ 21 = Gecko EQUD %00011001111111100010000000000000 \ 22 = Cobra Mk I EQUD %00011001000000000000000000000000 \ 23 = Asp Mk II EQUD %00011111000000000010000000000000 \ 24 = Fer-de-Lance EQUD %00011001110000000011000000000000 \ 25 = Moray EQUD %00100000000000000000000000000000 \ 26 = Thargoid EQUD %01000000000000000000000000000000 \ 27 = Thargon EQUD %10000000000000000000000000000000 \ 28 = Constrictor EQUD %00000000000000000100000000000000 \ 29 = Dragon EQUD %00010001000000000011100000000000 \ 30 = Monitor EQUD %00010001111000000011000000000000 \ 31 = Ophidian EQUD %00010000000000000011100000000000 \ 32 = Ghavial EQUD %00011101111100000000000000000000 \ 33 = Bushmaster EQUD %00010001110000000011000000000000 \ 34 = Rattler EQUD %00011101111100000010000000000000 \ 35 = Iguana EQUD %00000000000000000000011000000000 \ 36 = Shuttle Mk II EQUD %00010001110000000011000000000000 \ 37 = Chameleon EQUD %00011111111111100111111000000000 \ 38 = No ship