Hoopy Casino
By Murg

Version 2.0
(Requires Oolite 1.80 or newer.)

Overview
--------
Multi-billionaire and FurCorp heiress Magda DeMug first dabbled in commercial enterprises founding CoachWhip Inc. Her fleet of CoachWhip luxury liners provide a first class transport service to well-healed business executives, VIPs and anyone else who can afford the 5,000 Cr ticket price. Having established a profitable enterprise fleecing the idle rich, the heiress turned her acute feline business mind to the question of sucking credits from the pockets of the proletariat.

The basic hull of the CoachWhip liner was completely stripped, removing the cargo bay, hyperspace drive and inter-system drive. A docking port was added and the internal structure re-fitted as a luxurious Casino. The platforms were then deployed in geo-stationary orbit near the main GalCop Station in technologically advanced systems throughout the eight galaxies. Thus was the Chain of HoOpy Casinos born. These dens of inequity are found in all systems with a Tech Level of 11 or more. In such a system, setting an Advanced Space Compass to C will locate the nearest HoOpy Casino.

The HoOpy Casino Chain
----------------------
Commanders who chose to dock with a HoOpy Casino are quickly ushered into the vast gaming halls, here to be offered the opportunity to win or lose credits in games of chance.

Some Commanders never leave the casino area of the station, claiming that they have a system to ‘beat the hoops’. These doomed lost souls can often be seen wagering their credits, ship, left kidney or spouse on just one more throw of the hoops.

Commanders of a more level-headed nature visit HoOpy Casinos for the purpose of trading. Those who can resist the charms of the complementary drinks and scantily clad croupiers available in the main casino area of the orbital platform may engage in trading on the Station’s commodity market. The Casinos often have a surplus or deficient of certain goods and thus a canny trader can sometimes make more profit by off-loading or purchasing his cargo at the Casino rather than the system’s GalCop station.

The Casino is protected by a reasonably strong shield, although it carries no weapons. The Casino Management rely on the fact that the casino closely orbits the GalCop Station, which will launch Vipers to defend the orbital platform from attack. Additionally a small fleet of Security Sidewinders in HoOpy livery are stationed aboard to defend the Casino if need be.

(Background story by Little Bear)

(Original JS scripting by Paul Wilkins & Eric Walch)

Background image: https://www.freepik.com/free-vector/red-frame-with-light-bulbs-dark-blue-brick-wall_199782073.htm Designed by Freepik www.freepik.com

Update (1.3) for Oolite 1.80 by CaptSolo & spara.
* New and retouched textures and flashy shader effects by CaptSolo. Shader by Griff, Neon sign model Arexic_Heretic. Docking bay by Griff.
* BGS docking tunnel texture by spara
* Sidewinder defenders updated to Griff's model.
* Script restructured and updated to spawn with 1.80 populator by spara.
* Station welcome screen is removed and games are moved to station interfaces (F4).
* Station AI tweaked to be more aggressive against attacking. Code borrowed from YAH.
* Two new gambling games: Smuggler's Run dice game and Video Poker. Scripting by spara. Card model and textures by CaptSolo. Sound effects are borrowed from Oolite. Dice game graphics by spara with two screenshots by Cody and Redspear.

Update (1.3.1)
* New gambling game: Blackjack.
* Backgrounds added to the gard games.

Update (1.3.2)
* New gambling game: hOopy Hold'em. 
* Market stripped to gems, gold and platinum. In 1.80 prices follow the main station rules. In 1.81 prices are 10% below main station. In other words market is solely meant for exchanging valuables to play credits, with 10% commission.
* AI rewitten to JS. Casino now cruises around the main station at the edge of the Aegis.

Update (1.3.3)
* AI finished.

Update (1.3.4)
* No shader neonsign added.

Update (1.3.5)
* Holdem bugfixed
* Shiny cards

Update (2.0)
* Fixed incorrect normal and emission map for Sidewinder.
* Reverted to using default shaders for the Casino Ship.
* Updated textures on Casino Ship, added new normal specular and gloss maps, plus RGB lighting effects.
* Added flashers to docking bay of Casino ship.
* Fixed issue with NaN values in dice game.
* Moved all text into missiontext.plist for easier localisation.
* New background image.
* Made compatible with Xenon UI.
* Spelling corrections.
* Removed deprecated files.

Update (2.1)
* Added Library Config options to limit Casinos to Corporate States, and to control the minimum TL required.

Update (2.2)
* Small tweaks to role checking method for determining if the station is a casino ship.

Update (2.3)
* Created a single F4 Interfaces page entry for the casino (rather than having 5 different ones)

Update (2.3.1)
* New texture graphics have been added for the playing cards by Captain Beatnik.

Update (2.3.2)
* Minor changes in the playing cards design by Captain Beatnik.

Update (2.3.3)
* Removed Hoopy logo from hoops background images, as it was interfering with the menu.
* Animated the lights on the opening menu background image.
* Random version of "Hoopy" used in most locations.
* Tweaks to shipdata.
