From 729e5ad2c53bd62df954327c5818ca358918ae8a Mon Sep 17 00:00:00 2001 From: Natalie Rose Date: Sun, 23 Aug 2026 19:52:37 +1000 Subject: [PATCH] Stub out all API methods --- lacuna/app/controllers/algae_controller.rb | 5 + .../app/controllers/algaepond_controller.rb | 5 + lacuna/app/controllers/alliance_controller.rb | 9 + .../controllers/amalgusmeadow_controller.rb | 5 + lacuna/app/controllers/apple_controller.rb | 5 + .../app/controllers/archaeology_controller.rb | 37 + .../app/controllers/artmuseum_controller.rb | 5 + .../atmosphericevaporator_controller.rb | 5 + lacuna/app/controllers/beach_controller.rb | 5 + lacuna/app/controllers/bean_controller.rb | 5 + .../app/controllers/beeldeban_controller.rb | 5 + .../controllers/beeldebannest_controller.rb | 5 + .../blackholegenerator_controller.rb | 17 + lacuna/app/controllers/body_controller.rb | 36 + lacuna/app/controllers/bread_controller.rb | 5 + lacuna/app/controllers/building_controller.rb | 30 + lacuna/app/controllers/burger_controller.rb | 5 + lacuna/app/controllers/capitol_controller.rb | 9 + lacuna/app/controllers/captcha_controller.rb | 9 + lacuna/app/controllers/cheese_controller.rb | 5 + lacuna/app/controllers/chip_controller.rb | 5 + lacuna/app/controllers/cider_controller.rb | 5 + .../controllers/citadelofknope_controller.rb | 5 + .../app/controllers/cloakinglab_controller.rb | 5 + lacuna/app/controllers/corn_controller.rb | 5 + lacuna/app/controllers/cornmeal_controller.rb | 5 + .../controllers/crashedshipsite_controller.rb | 5 + lacuna/app/controllers/crater_controller.rb | 5 + .../culinaryinstitute_controller.rb | 5 + lacuna/app/controllers/dairy_controller.rb | 5 + lacuna/app/controllers/denton_controller.rb | 5 + .../controllers/dentonbrambles_controller.rb | 5 + .../controllers/deployedbleeder_controller.rb | 5 + .../app/controllers/development_controller.rb | 17 + .../distributioncenter_controller.rb | 17 + lacuna/app/controllers/embassy_controller.rb | 77 + lacuna/app/controllers/empire_controller.rb | 142 ++ .../controllers/energyreserve_controller.rb | 9 + .../controllers/entertainment_controller.rb | 13 + .../app/controllers/espionage_controller.rb | 5 + .../controllers/essentiavein_controller.rb | 9 + lacuna/app/controllers/fission_controller.rb | 5 + lacuna/app/controllers/fissure_controller.rb | 5 + .../app/controllers/foodreserve_controller.rb | 9 + lacuna/app/controllers/fusion_controller.rb | 5 + .../app/controllers/gasgiantlab_controller.rb | 5 + .../gasgiantplatform_controller.rb | 5 + .../app/controllers/geneticslab_controller.rb | 17 + lacuna/app/controllers/geo_controller.rb | 5 + .../controllers/geothermalvent_controller.rb | 5 + .../controllers/gratchsgauntlet_controller.rb | 5 + .../controllers/greatballofjunk_controller.rb | 5 + lacuna/app/controllers/grove_controller.rb | 5 + .../controllers/hallsofvrbansk_controller.rb | 5 + .../app/controllers/hydrocarbon_controller.rb | 5 + lacuna/app/controllers/ibs_controller.rb | 5 + lacuna/app/controllers/inbox_controller.rb | 41 + .../controllers/intelligence_controller.rb | 37 + .../controllers/inteltraining_controller.rb | 5 + .../interdimensionalrift_controller.rb | 5 + .../junkhengesculpture_controller.rb | 5 + .../controllers/kalavianruins_controller.rb | 5 + .../controllers/kasternskeep_controller.rb | 5 + lacuna/app/controllers/lagoon_controller.rb | 5 + lacuna/app/controllers/lake_controller.rb | 5 + lacuna/app/controllers/lapis_controller.rb | 5 + .../app/controllers/lapisforest_controller.rb | 5 + .../controllers/libraryofjith_controller.rb | 9 + .../lostcityoftyleon_controller.rb | 5 + .../controllers/luxuryhousing_controller.rb | 5 + lacuna/app/controllers/malcud_controller.rb | 5 + .../app/controllers/malcudfield_controller.rb | 5 + lacuna/app/controllers/map_controller.rb | 37 + .../controllers/massadshenge_controller.rb | 5 + .../controllers/mayhemtraining_controller.rb | 5 + .../mercenariesguild_controller.rb | 37 + .../controllers/metaljunkarches_controller.rb | 5 + lacuna/app/controllers/mine_controller.rb | 5 + .../controllers/miningministry_controller.rb | 29 + .../controllers/missioncommand_controller.rb | 17 + .../controllers/munitionslab_controller.rb | 5 + .../controllers/naturalspring_controller.rb | 5 + .../app/controllers/network19_controller.rb | 13 + .../app/controllers/observatory_controller.rb | 17 + .../app/controllers/operahouse_controller.rb | 5 + .../controllers/oracleofanid_controller.rb | 13 + .../app/controllers/orerefinery_controller.rb | 5 + .../app/controllers/orestorage_controller.rb | 9 + .../app/controllers/oversight_controller.rb | 5 + lacuna/app/controllers/pancake_controller.rb | 5 + .../pantheonofhagness_controller.rb | 5 + lacuna/app/controllers/park_controller.rb | 13 + .../app/controllers/parliament_controller.rb | 113 ++ lacuna/app/controllers/pie_controller.rb | 5 + .../controllers/pilottraining_controller.rb | 5 + .../planetarycommand_controller.rb | 17 + .../controllers/policestation_controller.rb | 33 + .../politicstraining_controller.rb | 5 + lacuna/app/controllers/potato_controller.rb | 5 + .../app/controllers/propulsion_controller.rb | 5 + .../pyramidjunksculpture_controller.rb | 5 + lacuna/app/controllers/ravine_controller.rb | 5 + .../controllers/rockyoutcrop_controller.rb | 5 + lacuna/app/controllers/sand_controller.rb | 5 + lacuna/app/controllers/saw_controller.rb | 5 + lacuna/app/controllers/security_controller.rb | 21 + lacuna/app/controllers/shake_controller.rb | 5 + lacuna/app/controllers/shipyard_controller.rb | 29 + .../app/controllers/singularity_controller.rb | 5 + lacuna/app/controllers/soup_controller.rb | 5 + .../controllers/spacejunkpark_controller.rb | 5 + .../app/controllers/spaceport_controller.rb | 81 + .../controllers/spacestationlab_controller.rb | 13 + .../controllers/stationcommand_controller.rb | 13 + lacuna/app/controllers/stats_controller.rb | 33 + .../app/controllers/stockpile_controller.rb | 5 + .../subspacesupplydepot_controller.rb | 25 + .../app/controllers/supplypod_controller.rb | 5 + lacuna/app/controllers/syrup_controller.rb | 5 + .../templeofthedrajilites_controller.rb | 13 + .../controllers/terraforminglab_controller.rb | 5 + .../terraformingplatform_controller.rb | 5 + .../controllers/thedillonforge_controller.rb | 17 + .../controllers/thefttraining_controller.rb | 5 + .../app/controllers/themepark_controller.rb | 9 + lacuna/app/controllers/trade_controller.rb | 105 ++ .../app/controllers/transporter_controller.rb | 57 + .../app/controllers/university_controller.rb | 5 + lacuna/app/controllers/volcano_controller.rb | 5 + .../app/controllers/warehouse_controller.rb | 5 + .../controllers/wastedigester_controller.rb | 5 + .../app/controllers/wasteenergy_controller.rb | 5 + .../controllers/wasteexchanger_controller.rb | 13 + .../controllers/wasterecycling_controller.rb | 13 + .../wastesequestration_controller.rb | 5 + .../controllers/wastetreatment_controller.rb | 5 + .../controllers/waterproduction_controller.rb | 5 + .../waterpurification_controller.rb | 5 + .../waterreclamation_controller.rb | 5 + .../controllers/waterstorage_controller.rb | 9 + lacuna/app/controllers/wheat_controller.rb | 5 + lacuna/config/routes.rb | 1576 +++++++++++++++++ 142 files changed, 3394 insertions(+) create mode 100644 lacuna/app/controllers/algae_controller.rb create mode 100644 lacuna/app/controllers/algaepond_controller.rb create mode 100644 lacuna/app/controllers/alliance_controller.rb create mode 100644 lacuna/app/controllers/amalgusmeadow_controller.rb create mode 100644 lacuna/app/controllers/apple_controller.rb create mode 100644 lacuna/app/controllers/archaeology_controller.rb create mode 100644 lacuna/app/controllers/artmuseum_controller.rb create mode 100644 lacuna/app/controllers/atmosphericevaporator_controller.rb create mode 100644 lacuna/app/controllers/beach_controller.rb create mode 100644 lacuna/app/controllers/bean_controller.rb create mode 100644 lacuna/app/controllers/beeldeban_controller.rb create mode 100644 lacuna/app/controllers/beeldebannest_controller.rb create mode 100644 lacuna/app/controllers/blackholegenerator_controller.rb create mode 100644 lacuna/app/controllers/bread_controller.rb create mode 100644 lacuna/app/controllers/building_controller.rb create mode 100644 lacuna/app/controllers/burger_controller.rb create mode 100644 lacuna/app/controllers/capitol_controller.rb create mode 100644 lacuna/app/controllers/captcha_controller.rb create mode 100644 lacuna/app/controllers/cheese_controller.rb create mode 100644 lacuna/app/controllers/chip_controller.rb create mode 100644 lacuna/app/controllers/cider_controller.rb create mode 100644 lacuna/app/controllers/citadelofknope_controller.rb create mode 100644 lacuna/app/controllers/cloakinglab_controller.rb create mode 100644 lacuna/app/controllers/corn_controller.rb create mode 100644 lacuna/app/controllers/cornmeal_controller.rb create mode 100644 lacuna/app/controllers/crashedshipsite_controller.rb create mode 100644 lacuna/app/controllers/crater_controller.rb create mode 100644 lacuna/app/controllers/culinaryinstitute_controller.rb create mode 100644 lacuna/app/controllers/dairy_controller.rb create mode 100644 lacuna/app/controllers/denton_controller.rb create mode 100644 lacuna/app/controllers/dentonbrambles_controller.rb create mode 100644 lacuna/app/controllers/deployedbleeder_controller.rb create mode 100644 lacuna/app/controllers/development_controller.rb create mode 100644 lacuna/app/controllers/distributioncenter_controller.rb create mode 100644 lacuna/app/controllers/embassy_controller.rb create mode 100644 lacuna/app/controllers/energyreserve_controller.rb create mode 100644 lacuna/app/controllers/entertainment_controller.rb create mode 100644 lacuna/app/controllers/espionage_controller.rb create mode 100644 lacuna/app/controllers/essentiavein_controller.rb create mode 100644 lacuna/app/controllers/fission_controller.rb create mode 100644 lacuna/app/controllers/fissure_controller.rb create mode 100644 lacuna/app/controllers/foodreserve_controller.rb create mode 100644 lacuna/app/controllers/fusion_controller.rb create mode 100644 lacuna/app/controllers/gasgiantlab_controller.rb create mode 100644 lacuna/app/controllers/gasgiantplatform_controller.rb create mode 100644 lacuna/app/controllers/geneticslab_controller.rb create mode 100644 lacuna/app/controllers/geo_controller.rb create mode 100644 lacuna/app/controllers/geothermalvent_controller.rb create mode 100644 lacuna/app/controllers/gratchsgauntlet_controller.rb create mode 100644 lacuna/app/controllers/greatballofjunk_controller.rb create mode 100644 lacuna/app/controllers/grove_controller.rb create mode 100644 lacuna/app/controllers/hallsofvrbansk_controller.rb create mode 100644 lacuna/app/controllers/hydrocarbon_controller.rb create mode 100644 lacuna/app/controllers/ibs_controller.rb create mode 100644 lacuna/app/controllers/inbox_controller.rb create mode 100644 lacuna/app/controllers/intelligence_controller.rb create mode 100644 lacuna/app/controllers/inteltraining_controller.rb create mode 100644 lacuna/app/controllers/interdimensionalrift_controller.rb create mode 100644 lacuna/app/controllers/junkhengesculpture_controller.rb create mode 100644 lacuna/app/controllers/kalavianruins_controller.rb create mode 100644 lacuna/app/controllers/kasternskeep_controller.rb create mode 100644 lacuna/app/controllers/lagoon_controller.rb create mode 100644 lacuna/app/controllers/lake_controller.rb create mode 100644 lacuna/app/controllers/lapis_controller.rb create mode 100644 lacuna/app/controllers/lapisforest_controller.rb create mode 100644 lacuna/app/controllers/libraryofjith_controller.rb create mode 100644 lacuna/app/controllers/lostcityoftyleon_controller.rb create mode 100644 lacuna/app/controllers/luxuryhousing_controller.rb create mode 100644 lacuna/app/controllers/malcud_controller.rb create mode 100644 lacuna/app/controllers/malcudfield_controller.rb create mode 100644 lacuna/app/controllers/map_controller.rb create mode 100644 lacuna/app/controllers/massadshenge_controller.rb create mode 100644 lacuna/app/controllers/mayhemtraining_controller.rb create mode 100644 lacuna/app/controllers/mercenariesguild_controller.rb create mode 100644 lacuna/app/controllers/metaljunkarches_controller.rb create mode 100644 lacuna/app/controllers/mine_controller.rb create mode 100644 lacuna/app/controllers/miningministry_controller.rb create mode 100644 lacuna/app/controllers/missioncommand_controller.rb create mode 100644 lacuna/app/controllers/munitionslab_controller.rb create mode 100644 lacuna/app/controllers/naturalspring_controller.rb create mode 100644 lacuna/app/controllers/network19_controller.rb create mode 100644 lacuna/app/controllers/observatory_controller.rb create mode 100644 lacuna/app/controllers/operahouse_controller.rb create mode 100644 lacuna/app/controllers/oracleofanid_controller.rb create mode 100644 lacuna/app/controllers/orerefinery_controller.rb create mode 100644 lacuna/app/controllers/orestorage_controller.rb create mode 100644 lacuna/app/controllers/oversight_controller.rb create mode 100644 lacuna/app/controllers/pancake_controller.rb create mode 100644 lacuna/app/controllers/pantheonofhagness_controller.rb create mode 100644 lacuna/app/controllers/park_controller.rb create mode 100644 lacuna/app/controllers/parliament_controller.rb create mode 100644 lacuna/app/controllers/pie_controller.rb create mode 100644 lacuna/app/controllers/pilottraining_controller.rb create mode 100644 lacuna/app/controllers/planetarycommand_controller.rb create mode 100644 lacuna/app/controllers/policestation_controller.rb create mode 100644 lacuna/app/controllers/politicstraining_controller.rb create mode 100644 lacuna/app/controllers/potato_controller.rb create mode 100644 lacuna/app/controllers/propulsion_controller.rb create mode 100644 lacuna/app/controllers/pyramidjunksculpture_controller.rb create mode 100644 lacuna/app/controllers/ravine_controller.rb create mode 100644 lacuna/app/controllers/rockyoutcrop_controller.rb create mode 100644 lacuna/app/controllers/sand_controller.rb create mode 100644 lacuna/app/controllers/saw_controller.rb create mode 100644 lacuna/app/controllers/security_controller.rb create mode 100644 lacuna/app/controllers/shake_controller.rb create mode 100644 lacuna/app/controllers/shipyard_controller.rb create mode 100644 lacuna/app/controllers/singularity_controller.rb create mode 100644 lacuna/app/controllers/soup_controller.rb create mode 100644 lacuna/app/controllers/spacejunkpark_controller.rb create mode 100644 lacuna/app/controllers/spaceport_controller.rb create mode 100644 lacuna/app/controllers/spacestationlab_controller.rb create mode 100644 lacuna/app/controllers/stationcommand_controller.rb create mode 100644 lacuna/app/controllers/stats_controller.rb create mode 100644 lacuna/app/controllers/stockpile_controller.rb create mode 100644 lacuna/app/controllers/subspacesupplydepot_controller.rb create mode 100644 lacuna/app/controllers/supplypod_controller.rb create mode 100644 lacuna/app/controllers/syrup_controller.rb create mode 100644 lacuna/app/controllers/templeofthedrajilites_controller.rb create mode 100644 lacuna/app/controllers/terraforminglab_controller.rb create mode 100644 lacuna/app/controllers/terraformingplatform_controller.rb create mode 100644 lacuna/app/controllers/thedillonforge_controller.rb create mode 100644 lacuna/app/controllers/thefttraining_controller.rb create mode 100644 lacuna/app/controllers/themepark_controller.rb create mode 100644 lacuna/app/controllers/trade_controller.rb create mode 100644 lacuna/app/controllers/transporter_controller.rb create mode 100644 lacuna/app/controllers/university_controller.rb create mode 100644 lacuna/app/controllers/volcano_controller.rb create mode 100644 lacuna/app/controllers/warehouse_controller.rb create mode 100644 lacuna/app/controllers/wastedigester_controller.rb create mode 100644 lacuna/app/controllers/wasteenergy_controller.rb create mode 100644 lacuna/app/controllers/wasteexchanger_controller.rb create mode 100644 lacuna/app/controllers/wasterecycling_controller.rb create mode 100644 lacuna/app/controllers/wastesequestration_controller.rb create mode 100644 lacuna/app/controllers/wastetreatment_controller.rb create mode 100644 lacuna/app/controllers/waterproduction_controller.rb create mode 100644 lacuna/app/controllers/waterpurification_controller.rb create mode 100644 lacuna/app/controllers/waterreclamation_controller.rb create mode 100644 lacuna/app/controllers/waterstorage_controller.rb create mode 100644 lacuna/app/controllers/wheat_controller.rb diff --git a/lacuna/app/controllers/algae_controller.rb b/lacuna/app/controllers/algae_controller.rb new file mode 100644 index 00000000..f2ff8d89 --- /dev/null +++ b/lacuna/app/controllers/algae_controller.rb @@ -0,0 +1,5 @@ +class AlgaeController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/algaepond_controller.rb b/lacuna/app/controllers/algaepond_controller.rb new file mode 100644 index 00000000..32806bb8 --- /dev/null +++ b/lacuna/app/controllers/algaepond_controller.rb @@ -0,0 +1,5 @@ +class AlgaepondController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/alliance_controller.rb b/lacuna/app/controllers/alliance_controller.rb new file mode 100644 index 00000000..2a6f7c13 --- /dev/null +++ b/lacuna/app/controllers/alliance_controller.rb @@ -0,0 +1,9 @@ +class AllianceController < ApplicationController + def find + head :not_implemented + end + + def view_profile + head :not_implemented + end +end diff --git a/lacuna/app/controllers/amalgusmeadow_controller.rb b/lacuna/app/controllers/amalgusmeadow_controller.rb new file mode 100644 index 00000000..0bf69a02 --- /dev/null +++ b/lacuna/app/controllers/amalgusmeadow_controller.rb @@ -0,0 +1,5 @@ +class AmalgusmeadowController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/apple_controller.rb b/lacuna/app/controllers/apple_controller.rb new file mode 100644 index 00000000..54a96de3 --- /dev/null +++ b/lacuna/app/controllers/apple_controller.rb @@ -0,0 +1,5 @@ +class AppleController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/archaeology_controller.rb b/lacuna/app/controllers/archaeology_controller.rb new file mode 100644 index 00000000..086f88bf --- /dev/null +++ b/lacuna/app/controllers/archaeology_controller.rb @@ -0,0 +1,37 @@ +class ArchaeologyController < BuildingController + def abandon_excavator + head :not_implemented + end + + def assemble_glyphs + head :not_implemented + end + + def get_glyph_summary + head :not_implemented + end + + def get_ores_available_for_processing + head :not_implemented + end + + def mass_abandon_excavator + head :not_implemented + end + + def search_for_glyph + head :not_implemented + end + + def subsidize_search + head :not_implemented + end + + def view + head :not_implemented + end + + def view_excavators + head :not_implemented + end +end diff --git a/lacuna/app/controllers/artmuseum_controller.rb b/lacuna/app/controllers/artmuseum_controller.rb new file mode 100644 index 00000000..58ddcead --- /dev/null +++ b/lacuna/app/controllers/artmuseum_controller.rb @@ -0,0 +1,5 @@ +class ArtmuseumController < ApplicationController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/atmosphericevaporator_controller.rb b/lacuna/app/controllers/atmosphericevaporator_controller.rb new file mode 100644 index 00000000..cbd2c477 --- /dev/null +++ b/lacuna/app/controllers/atmosphericevaporator_controller.rb @@ -0,0 +1,5 @@ +class AtmosphericevaporatorController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/beach_controller.rb b/lacuna/app/controllers/beach_controller.rb new file mode 100644 index 00000000..4aae6dd8 --- /dev/null +++ b/lacuna/app/controllers/beach_controller.rb @@ -0,0 +1,5 @@ +class BeachController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/bean_controller.rb b/lacuna/app/controllers/bean_controller.rb new file mode 100644 index 00000000..242b4613 --- /dev/null +++ b/lacuna/app/controllers/bean_controller.rb @@ -0,0 +1,5 @@ +class BeanController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/beeldeban_controller.rb b/lacuna/app/controllers/beeldeban_controller.rb new file mode 100644 index 00000000..f37ee482 --- /dev/null +++ b/lacuna/app/controllers/beeldeban_controller.rb @@ -0,0 +1,5 @@ +class BeeldebanController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/beeldebannest_controller.rb b/lacuna/app/controllers/beeldebannest_controller.rb new file mode 100644 index 00000000..86469f17 --- /dev/null +++ b/lacuna/app/controllers/beeldebannest_controller.rb @@ -0,0 +1,5 @@ +class BeeldebannestController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/blackholegenerator_controller.rb b/lacuna/app/controllers/blackholegenerator_controller.rb new file mode 100644 index 00000000..37de136f --- /dev/null +++ b/lacuna/app/controllers/blackholegenerator_controller.rb @@ -0,0 +1,17 @@ +class BlackholegeneratorController < BuildingController + def generate_singularity + head :not_implemented + end + + def get_actions_for + head :not_implemented + end + + def subsidize_cooldown + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/body_controller.rb b/lacuna/app/controllers/body_controller.rb index d3e6461c..8cccb9a8 100644 --- a/lacuna/app/controllers/body_controller.rb +++ b/lacuna/app/controllers/body_controller.rb @@ -12,4 +12,40 @@ class BodyController < ApplicationController render json: format_status(body) end + + def abandon + head :not_implemented + end + + def get_buildable + head :not_implemented + end + + def get_buildable_locations + head :not_implemented + end + + def get_buildings + head :not_implemented + end + + def rearrange_buildings + head :not_implemented + end + + def rename + head :not_implemented + end + + def repair_list + head :not_implemented + end + + def set_colony_notes + head :not_implemented + end + + def view_laws + head :not_implemented + end end diff --git a/lacuna/app/controllers/bread_controller.rb b/lacuna/app/controllers/bread_controller.rb new file mode 100644 index 00000000..a5e2fd1d --- /dev/null +++ b/lacuna/app/controllers/bread_controller.rb @@ -0,0 +1,5 @@ +class BreadController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/building_controller.rb b/lacuna/app/controllers/building_controller.rb new file mode 100644 index 00000000..66a1de0f --- /dev/null +++ b/lacuna/app/controllers/building_controller.rb @@ -0,0 +1,30 @@ +# Shared base for every building-type controller, mirroring Perl's Lacuna::RPC::Building base +# class (lib/Lacuna/RPC/Building.pm) — the actions every regular building type exposes +# identically. `view` is intentionally NOT here: nearly every building type adds its own extra +# fields to `view`, so it's defined per-building instead (compare buildingCommonMethods vs. +# buildingView in api-spec's src/spec/chunks.ts). +class BuildingController < ApplicationController + def build + head :not_implemented + end + + def upgrade + head :not_implemented + end + + def downgrade + head :not_implemented + end + + def demolish + head :not_implemented + end + + def repair + head :not_implemented + end + + def get_stats_for_level + head :not_implemented + end +end diff --git a/lacuna/app/controllers/burger_controller.rb b/lacuna/app/controllers/burger_controller.rb new file mode 100644 index 00000000..2f681b0e --- /dev/null +++ b/lacuna/app/controllers/burger_controller.rb @@ -0,0 +1,5 @@ +class BurgerController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/capitol_controller.rb b/lacuna/app/controllers/capitol_controller.rb new file mode 100644 index 00000000..95dd324f --- /dev/null +++ b/lacuna/app/controllers/capitol_controller.rb @@ -0,0 +1,9 @@ +class CapitolController < BuildingController + def rename_empire + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/captcha_controller.rb b/lacuna/app/controllers/captcha_controller.rb new file mode 100644 index 00000000..24babf37 --- /dev/null +++ b/lacuna/app/controllers/captcha_controller.rb @@ -0,0 +1,9 @@ +class CaptchaController < ApplicationController + def fetch + head :not_implemented + end + + def solve + head :not_implemented + end +end diff --git a/lacuna/app/controllers/cheese_controller.rb b/lacuna/app/controllers/cheese_controller.rb new file mode 100644 index 00000000..4e00bb61 --- /dev/null +++ b/lacuna/app/controllers/cheese_controller.rb @@ -0,0 +1,5 @@ +class CheeseController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/chip_controller.rb b/lacuna/app/controllers/chip_controller.rb new file mode 100644 index 00000000..2b2b255a --- /dev/null +++ b/lacuna/app/controllers/chip_controller.rb @@ -0,0 +1,5 @@ +class ChipController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/cider_controller.rb b/lacuna/app/controllers/cider_controller.rb new file mode 100644 index 00000000..490cb81f --- /dev/null +++ b/lacuna/app/controllers/cider_controller.rb @@ -0,0 +1,5 @@ +class CiderController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/citadelofknope_controller.rb b/lacuna/app/controllers/citadelofknope_controller.rb new file mode 100644 index 00000000..1918bbf7 --- /dev/null +++ b/lacuna/app/controllers/citadelofknope_controller.rb @@ -0,0 +1,5 @@ +class CitadelofknopeController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/cloakinglab_controller.rb b/lacuna/app/controllers/cloakinglab_controller.rb new file mode 100644 index 00000000..89c68e72 --- /dev/null +++ b/lacuna/app/controllers/cloakinglab_controller.rb @@ -0,0 +1,5 @@ +class CloakinglabController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/corn_controller.rb b/lacuna/app/controllers/corn_controller.rb new file mode 100644 index 00000000..ee10df4c --- /dev/null +++ b/lacuna/app/controllers/corn_controller.rb @@ -0,0 +1,5 @@ +class CornController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/cornmeal_controller.rb b/lacuna/app/controllers/cornmeal_controller.rb new file mode 100644 index 00000000..8d5bb1bf --- /dev/null +++ b/lacuna/app/controllers/cornmeal_controller.rb @@ -0,0 +1,5 @@ +class CornmealController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/crashedshipsite_controller.rb b/lacuna/app/controllers/crashedshipsite_controller.rb new file mode 100644 index 00000000..0b27ccad --- /dev/null +++ b/lacuna/app/controllers/crashedshipsite_controller.rb @@ -0,0 +1,5 @@ +class CrashedshipsiteController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/crater_controller.rb b/lacuna/app/controllers/crater_controller.rb new file mode 100644 index 00000000..9d47ff99 --- /dev/null +++ b/lacuna/app/controllers/crater_controller.rb @@ -0,0 +1,5 @@ +class CraterController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/culinaryinstitute_controller.rb b/lacuna/app/controllers/culinaryinstitute_controller.rb new file mode 100644 index 00000000..8c218e7d --- /dev/null +++ b/lacuna/app/controllers/culinaryinstitute_controller.rb @@ -0,0 +1,5 @@ +class CulinaryinstituteController < ApplicationController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/dairy_controller.rb b/lacuna/app/controllers/dairy_controller.rb new file mode 100644 index 00000000..52bfb55d --- /dev/null +++ b/lacuna/app/controllers/dairy_controller.rb @@ -0,0 +1,5 @@ +class DairyController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/denton_controller.rb b/lacuna/app/controllers/denton_controller.rb new file mode 100644 index 00000000..d8557d04 --- /dev/null +++ b/lacuna/app/controllers/denton_controller.rb @@ -0,0 +1,5 @@ +class DentonController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/dentonbrambles_controller.rb b/lacuna/app/controllers/dentonbrambles_controller.rb new file mode 100644 index 00000000..a2d05a29 --- /dev/null +++ b/lacuna/app/controllers/dentonbrambles_controller.rb @@ -0,0 +1,5 @@ +class DentonbramblesController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/deployedbleeder_controller.rb b/lacuna/app/controllers/deployedbleeder_controller.rb new file mode 100644 index 00000000..78882f31 --- /dev/null +++ b/lacuna/app/controllers/deployedbleeder_controller.rb @@ -0,0 +1,5 @@ +class DeployedbleederController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/development_controller.rb b/lacuna/app/controllers/development_controller.rb new file mode 100644 index 00000000..7957a4bf --- /dev/null +++ b/lacuna/app/controllers/development_controller.rb @@ -0,0 +1,17 @@ +class DevelopmentController < BuildingController + def cancel_build + head :not_implemented + end + + def subsidize_build_queue + head :not_implemented + end + + def subsidize_one_build + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/distributioncenter_controller.rb b/lacuna/app/controllers/distributioncenter_controller.rb new file mode 100644 index 00000000..92667306 --- /dev/null +++ b/lacuna/app/controllers/distributioncenter_controller.rb @@ -0,0 +1,17 @@ +class DistributioncenterController < BuildingController + def get_stored_resources + head :not_implemented + end + + def release_reserve + head :not_implemented + end + + def reserve + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/embassy_controller.rb b/lacuna/app/controllers/embassy_controller.rb new file mode 100644 index 00000000..a625e725 --- /dev/null +++ b/lacuna/app/controllers/embassy_controller.rb @@ -0,0 +1,77 @@ +class EmbassyController < BuildingController + def accept_invite + head :not_implemented + end + + def assign_alliance_leader + head :not_implemented + end + + def cast_vote + head :not_implemented + end + + def create_alliance + head :not_implemented + end + + def dissolve_alliance + head :not_implemented + end + + def donate_to_stash + head :not_implemented + end + + def exchange_with_stash + head :not_implemented + end + + def expel_member + head :not_implemented + end + + def get_alliance_status + head :not_implemented + end + + def get_my_invites + head :not_implemented + end + + def get_pending_invites + head :not_implemented + end + + def leave_alliance + head :not_implemented + end + + def reject_invite + head :not_implemented + end + + def send_invite + head :not_implemented + end + + def update_alliance + head :not_implemented + end + + def view + head :not_implemented + end + + def view_propositions + head :not_implemented + end + + def view_stash + head :not_implemented + end + + def withdraw_invite + head :not_implemented + end +end diff --git a/lacuna/app/controllers/empire_controller.rb b/lacuna/app/controllers/empire_controller.rb index 7b43670f..36e9a481 100644 --- a/lacuna/app/controllers/empire_controller.rb +++ b/lacuna/app/controllers/empire_controller.rb @@ -1,4 +1,6 @@ class EmpireController < ApplicationController + skip_before_action :set_session, only: %i[create fetch_captcha found get_species_templates is_name_available login redefine_species_limits reset_password send_password_reset_message] + # Mirrors Lacuna::RPC::Empire#view_profile (lib/Lacuna/RPC/Empire.pm) — the private # self-profile view (not view_public_profile, which targets a different empire_id). def view_profile @@ -55,4 +57,144 @@ class EmpireController < ApplicationController def get_status render json: format_status end + + def authorize_sitters + head :not_implemented + end + + def boost_building + head :not_implemented + end + + def boost_energy + head :not_implemented + end + + def boost_food + head :not_implemented + end + + def boost_happiness + head :not_implemented + end + + def boost_ore + head :not_implemented + end + + def boost_spy_training + head :not_implemented + end + + def boost_storage + head :not_implemented + end + + def boost_water + head :not_implemented + end + + def change_password + head :not_implemented + end + + def create + head :not_implemented + end + + def deauthorize_sitters + head :not_implemented + end + + def disable_self_destruct + head :not_implemented + end + + def edit_profile + head :not_implemented + end + + def enable_self_destruct + head :not_implemented + end + + def fetch_captcha + head :not_implemented + end + + def find + head :not_implemented + end + + def found + head :not_implemented + end + + def get_invite_friend_url + head :not_implemented + end + + def get_species_templates + head :not_implemented + end + + def invite_friend + head :not_implemented + end + + def is_name_available + head :not_implemented + end + + def login + head :not_implemented + end + + def logout + head :not_implemented + end + + def redeem_essentia_code + head :not_implemented + end + + def redefine_species + head :not_implemented + end + + def redefine_species_limits + head :not_implemented + end + + def reset_password + head :not_implemented + end + + def send_password_reset_message + head :not_implemented + end + + def set_status_message + head :not_implemented + end + + def update_species + head :not_implemented + end + + def view_authorized_sitters + head :not_implemented + end + + def view_boosts + head :not_implemented + end + + def view_public_profile + head :not_implemented + end + + def view_species_stats + head :not_implemented + end end diff --git a/lacuna/app/controllers/energyreserve_controller.rb b/lacuna/app/controllers/energyreserve_controller.rb new file mode 100644 index 00000000..90e71339 --- /dev/null +++ b/lacuna/app/controllers/energyreserve_controller.rb @@ -0,0 +1,9 @@ +class EnergyreserveController < BuildingController + def dump + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/entertainment_controller.rb b/lacuna/app/controllers/entertainment_controller.rb new file mode 100644 index 00000000..29474a89 --- /dev/null +++ b/lacuna/app/controllers/entertainment_controller.rb @@ -0,0 +1,13 @@ +class EntertainmentController < BuildingController + def duck_quack + head :not_implemented + end + + def get_lottery_voting_options + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/espionage_controller.rb b/lacuna/app/controllers/espionage_controller.rb new file mode 100644 index 00000000..197035fc --- /dev/null +++ b/lacuna/app/controllers/espionage_controller.rb @@ -0,0 +1,5 @@ +class EspionageController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/essentiavein_controller.rb b/lacuna/app/controllers/essentiavein_controller.rb new file mode 100644 index 00000000..93b3d3fa --- /dev/null +++ b/lacuna/app/controllers/essentiavein_controller.rb @@ -0,0 +1,9 @@ +class EssentiaveinController < BuildingController + def drain + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/fission_controller.rb b/lacuna/app/controllers/fission_controller.rb new file mode 100644 index 00000000..d3403d7c --- /dev/null +++ b/lacuna/app/controllers/fission_controller.rb @@ -0,0 +1,5 @@ +class FissionController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/fissure_controller.rb b/lacuna/app/controllers/fissure_controller.rb new file mode 100644 index 00000000..c3d1154d --- /dev/null +++ b/lacuna/app/controllers/fissure_controller.rb @@ -0,0 +1,5 @@ +class FissureController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/foodreserve_controller.rb b/lacuna/app/controllers/foodreserve_controller.rb new file mode 100644 index 00000000..b86e1ae2 --- /dev/null +++ b/lacuna/app/controllers/foodreserve_controller.rb @@ -0,0 +1,9 @@ +class FoodreserveController < BuildingController + def dump + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/fusion_controller.rb b/lacuna/app/controllers/fusion_controller.rb new file mode 100644 index 00000000..49b1e2a8 --- /dev/null +++ b/lacuna/app/controllers/fusion_controller.rb @@ -0,0 +1,5 @@ +class FusionController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/gasgiantlab_controller.rb b/lacuna/app/controllers/gasgiantlab_controller.rb new file mode 100644 index 00000000..db31853c --- /dev/null +++ b/lacuna/app/controllers/gasgiantlab_controller.rb @@ -0,0 +1,5 @@ +class GasgiantlabController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/gasgiantplatform_controller.rb b/lacuna/app/controllers/gasgiantplatform_controller.rb new file mode 100644 index 00000000..778258ba --- /dev/null +++ b/lacuna/app/controllers/gasgiantplatform_controller.rb @@ -0,0 +1,5 @@ +class GasgiantplatformController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/geneticslab_controller.rb b/lacuna/app/controllers/geneticslab_controller.rb new file mode 100644 index 00000000..0afb4d8e --- /dev/null +++ b/lacuna/app/controllers/geneticslab_controller.rb @@ -0,0 +1,17 @@ +class GeneticslabController < BuildingController + def prepare_experiment + head :not_implemented + end + + def rename_species + head :not_implemented + end + + def run_experiment + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/geo_controller.rb b/lacuna/app/controllers/geo_controller.rb new file mode 100644 index 00000000..bba56f1f --- /dev/null +++ b/lacuna/app/controllers/geo_controller.rb @@ -0,0 +1,5 @@ +class GeoController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/geothermalvent_controller.rb b/lacuna/app/controllers/geothermalvent_controller.rb new file mode 100644 index 00000000..5684a9ff --- /dev/null +++ b/lacuna/app/controllers/geothermalvent_controller.rb @@ -0,0 +1,5 @@ +class GeothermalventController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/gratchsgauntlet_controller.rb b/lacuna/app/controllers/gratchsgauntlet_controller.rb new file mode 100644 index 00000000..f743c31a --- /dev/null +++ b/lacuna/app/controllers/gratchsgauntlet_controller.rb @@ -0,0 +1,5 @@ +class GratchsgauntletController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/greatballofjunk_controller.rb b/lacuna/app/controllers/greatballofjunk_controller.rb new file mode 100644 index 00000000..e4657f5d --- /dev/null +++ b/lacuna/app/controllers/greatballofjunk_controller.rb @@ -0,0 +1,5 @@ +class GreatballofjunkController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/grove_controller.rb b/lacuna/app/controllers/grove_controller.rb new file mode 100644 index 00000000..b9a16f3f --- /dev/null +++ b/lacuna/app/controllers/grove_controller.rb @@ -0,0 +1,5 @@ +class GroveController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/hallsofvrbansk_controller.rb b/lacuna/app/controllers/hallsofvrbansk_controller.rb new file mode 100644 index 00000000..66edbc8d --- /dev/null +++ b/lacuna/app/controllers/hallsofvrbansk_controller.rb @@ -0,0 +1,5 @@ +class HallsofvrbanskController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/hydrocarbon_controller.rb b/lacuna/app/controllers/hydrocarbon_controller.rb new file mode 100644 index 00000000..a9eb2f0e --- /dev/null +++ b/lacuna/app/controllers/hydrocarbon_controller.rb @@ -0,0 +1,5 @@ +class HydrocarbonController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/ibs_controller.rb b/lacuna/app/controllers/ibs_controller.rb new file mode 100644 index 00000000..3f8a5819 --- /dev/null +++ b/lacuna/app/controllers/ibs_controller.rb @@ -0,0 +1,5 @@ +class IbsController < ApplicationController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/inbox_controller.rb b/lacuna/app/controllers/inbox_controller.rb new file mode 100644 index 00000000..84f7edfa --- /dev/null +++ b/lacuna/app/controllers/inbox_controller.rb @@ -0,0 +1,41 @@ +class InboxController < ApplicationController + def archive_messages + head :not_implemented + end + + def read_message + head :not_implemented + end + + def send_message + head :not_implemented + end + + def trash_messages + head :not_implemented + end + + def trash_messages_where + head :not_implemented + end + + def view_archived + head :not_implemented + end + + def view_inbox + head :not_implemented + end + + def view_sent + head :not_implemented + end + + def view_trashed + head :not_implemented + end + + def view_unread + head :not_implemented + end +end diff --git a/lacuna/app/controllers/intelligence_controller.rb b/lacuna/app/controllers/intelligence_controller.rb new file mode 100644 index 00000000..5a2dd652 --- /dev/null +++ b/lacuna/app/controllers/intelligence_controller.rb @@ -0,0 +1,37 @@ +class IntelligenceController < BuildingController + def assign_spy + head :not_implemented + end + + def burn_spy + head :not_implemented + end + + def name_spies + head :not_implemented + end + + def name_spy + head :not_implemented + end + + def subsidize_training + head :not_implemented + end + + def train_spy + head :not_implemented + end + + def view + head :not_implemented + end + + def view_all_spies + head :not_implemented + end + + def view_spies + head :not_implemented + end +end diff --git a/lacuna/app/controllers/inteltraining_controller.rb b/lacuna/app/controllers/inteltraining_controller.rb new file mode 100644 index 00000000..dd60cfce --- /dev/null +++ b/lacuna/app/controllers/inteltraining_controller.rb @@ -0,0 +1,5 @@ +class InteltrainingController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/interdimensionalrift_controller.rb b/lacuna/app/controllers/interdimensionalrift_controller.rb new file mode 100644 index 00000000..f31c95fd --- /dev/null +++ b/lacuna/app/controllers/interdimensionalrift_controller.rb @@ -0,0 +1,5 @@ +class InterdimensionalriftController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/junkhengesculpture_controller.rb b/lacuna/app/controllers/junkhengesculpture_controller.rb new file mode 100644 index 00000000..c91fc510 --- /dev/null +++ b/lacuna/app/controllers/junkhengesculpture_controller.rb @@ -0,0 +1,5 @@ +class JunkhengesculptureController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/kalavianruins_controller.rb b/lacuna/app/controllers/kalavianruins_controller.rb new file mode 100644 index 00000000..0d8d3427 --- /dev/null +++ b/lacuna/app/controllers/kalavianruins_controller.rb @@ -0,0 +1,5 @@ +class KalavianruinsController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/kasternskeep_controller.rb b/lacuna/app/controllers/kasternskeep_controller.rb new file mode 100644 index 00000000..89fefe9e --- /dev/null +++ b/lacuna/app/controllers/kasternskeep_controller.rb @@ -0,0 +1,5 @@ +class KasternskeepController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/lagoon_controller.rb b/lacuna/app/controllers/lagoon_controller.rb new file mode 100644 index 00000000..1f60a07b --- /dev/null +++ b/lacuna/app/controllers/lagoon_controller.rb @@ -0,0 +1,5 @@ +class LagoonController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/lake_controller.rb b/lacuna/app/controllers/lake_controller.rb new file mode 100644 index 00000000..72f468b5 --- /dev/null +++ b/lacuna/app/controllers/lake_controller.rb @@ -0,0 +1,5 @@ +class LakeController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/lapis_controller.rb b/lacuna/app/controllers/lapis_controller.rb new file mode 100644 index 00000000..aca59a2e --- /dev/null +++ b/lacuna/app/controllers/lapis_controller.rb @@ -0,0 +1,5 @@ +class LapisController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/lapisforest_controller.rb b/lacuna/app/controllers/lapisforest_controller.rb new file mode 100644 index 00000000..b8de4a5a --- /dev/null +++ b/lacuna/app/controllers/lapisforest_controller.rb @@ -0,0 +1,5 @@ +class LapisforestController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/libraryofjith_controller.rb b/lacuna/app/controllers/libraryofjith_controller.rb new file mode 100644 index 00000000..42c227e4 --- /dev/null +++ b/lacuna/app/controllers/libraryofjith_controller.rb @@ -0,0 +1,9 @@ +class LibraryofjithController < BuildingController + def research_species + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/lostcityoftyleon_controller.rb b/lacuna/app/controllers/lostcityoftyleon_controller.rb new file mode 100644 index 00000000..9feb0f96 --- /dev/null +++ b/lacuna/app/controllers/lostcityoftyleon_controller.rb @@ -0,0 +1,5 @@ +class LostcityoftyleonController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/luxuryhousing_controller.rb b/lacuna/app/controllers/luxuryhousing_controller.rb new file mode 100644 index 00000000..0ea55d6b --- /dev/null +++ b/lacuna/app/controllers/luxuryhousing_controller.rb @@ -0,0 +1,5 @@ +class LuxuryhousingController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/malcud_controller.rb b/lacuna/app/controllers/malcud_controller.rb new file mode 100644 index 00000000..6e8c3729 --- /dev/null +++ b/lacuna/app/controllers/malcud_controller.rb @@ -0,0 +1,5 @@ +class MalcudController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/malcudfield_controller.rb b/lacuna/app/controllers/malcudfield_controller.rb new file mode 100644 index 00000000..846bdff6 --- /dev/null +++ b/lacuna/app/controllers/malcudfield_controller.rb @@ -0,0 +1,5 @@ +class MalcudfieldController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/map_controller.rb b/lacuna/app/controllers/map_controller.rb new file mode 100644 index 00000000..af3134d5 --- /dev/null +++ b/lacuna/app/controllers/map_controller.rb @@ -0,0 +1,37 @@ +class MapController < ApplicationController + def check_star_for_incoming_probe + head :not_implemented + end + + def get_star + head :not_implemented + end + + def get_star_by_name + head :not_implemented + end + + def get_star_by_xy + head :not_implemented + end + + def get_star_map + head :not_implemented + end + + def get_stars + head :not_implemented + end + + def probe_summary_fissures + head :not_implemented + end + + def search_stars + head :not_implemented + end + + def view_laws + head :not_implemented + end +end diff --git a/lacuna/app/controllers/massadshenge_controller.rb b/lacuna/app/controllers/massadshenge_controller.rb new file mode 100644 index 00000000..2c52d695 --- /dev/null +++ b/lacuna/app/controllers/massadshenge_controller.rb @@ -0,0 +1,5 @@ +class MassadshengeController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/mayhemtraining_controller.rb b/lacuna/app/controllers/mayhemtraining_controller.rb new file mode 100644 index 00000000..9d678b19 --- /dev/null +++ b/lacuna/app/controllers/mayhemtraining_controller.rb @@ -0,0 +1,5 @@ +class MayhemtrainingController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/mercenariesguild_controller.rb b/lacuna/app/controllers/mercenariesguild_controller.rb new file mode 100644 index 00000000..90f6b568 --- /dev/null +++ b/lacuna/app/controllers/mercenariesguild_controller.rb @@ -0,0 +1,37 @@ +class MercenariesguildController < BuildingController + def accept_from_market + head :not_implemented + end + + def add_to_market + head :not_implemented + end + + def get_spies + head :not_implemented + end + + def get_trade_ships + head :not_implemented + end + + def report_abuse + head :not_implemented + end + + def view + head :not_implemented + end + + def view_market + head :not_implemented + end + + def view_my_market + head :not_implemented + end + + def withdraw_from_market + head :not_implemented + end +end diff --git a/lacuna/app/controllers/metaljunkarches_controller.rb b/lacuna/app/controllers/metaljunkarches_controller.rb new file mode 100644 index 00000000..00284c0a --- /dev/null +++ b/lacuna/app/controllers/metaljunkarches_controller.rb @@ -0,0 +1,5 @@ +class MetaljunkarchesController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/mine_controller.rb b/lacuna/app/controllers/mine_controller.rb new file mode 100644 index 00000000..a16b1b96 --- /dev/null +++ b/lacuna/app/controllers/mine_controller.rb @@ -0,0 +1,5 @@ +class MineController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/miningministry_controller.rb b/lacuna/app/controllers/miningministry_controller.rb new file mode 100644 index 00000000..88886de7 --- /dev/null +++ b/lacuna/app/controllers/miningministry_controller.rb @@ -0,0 +1,29 @@ +class MiningministryController < BuildingController + def abandon_platform + head :not_implemented + end + + def add_cargo_ship_to_fleet + head :not_implemented + end + + def mass_abandon_platform + head :not_implemented + end + + def remove_cargo_ship_from_fleet + head :not_implemented + end + + def view + head :not_implemented + end + + def view_platforms + head :not_implemented + end + + def view_ships + head :not_implemented + end +end diff --git a/lacuna/app/controllers/missioncommand_controller.rb b/lacuna/app/controllers/missioncommand_controller.rb new file mode 100644 index 00000000..d8ea886e --- /dev/null +++ b/lacuna/app/controllers/missioncommand_controller.rb @@ -0,0 +1,17 @@ +class MissioncommandController < BuildingController + def complete_mission + head :not_implemented + end + + def get_missions + head :not_implemented + end + + def skip_mission + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/munitionslab_controller.rb b/lacuna/app/controllers/munitionslab_controller.rb new file mode 100644 index 00000000..1e39b622 --- /dev/null +++ b/lacuna/app/controllers/munitionslab_controller.rb @@ -0,0 +1,5 @@ +class MunitionslabController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/naturalspring_controller.rb b/lacuna/app/controllers/naturalspring_controller.rb new file mode 100644 index 00000000..2d4942da --- /dev/null +++ b/lacuna/app/controllers/naturalspring_controller.rb @@ -0,0 +1,5 @@ +class NaturalspringController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/network19_controller.rb b/lacuna/app/controllers/network19_controller.rb new file mode 100644 index 00000000..e69124a9 --- /dev/null +++ b/lacuna/app/controllers/network19_controller.rb @@ -0,0 +1,13 @@ +class Network19Controller < BuildingController + def restrict_coverage + head :not_implemented + end + + def view + head :not_implemented + end + + def view_news + head :not_implemented + end +end diff --git a/lacuna/app/controllers/observatory_controller.rb b/lacuna/app/controllers/observatory_controller.rb new file mode 100644 index 00000000..b7009e0f --- /dev/null +++ b/lacuna/app/controllers/observatory_controller.rb @@ -0,0 +1,17 @@ +class ObservatoryController < BuildingController + def abandon_all_probes + head :not_implemented + end + + def abandon_probe + head :not_implemented + end + + def get_probed_stars + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/operahouse_controller.rb b/lacuna/app/controllers/operahouse_controller.rb new file mode 100644 index 00000000..5a0c67a2 --- /dev/null +++ b/lacuna/app/controllers/operahouse_controller.rb @@ -0,0 +1,5 @@ +class OperahouseController < ApplicationController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/oracleofanid_controller.rb b/lacuna/app/controllers/oracleofanid_controller.rb new file mode 100644 index 00000000..8705479d --- /dev/null +++ b/lacuna/app/controllers/oracleofanid_controller.rb @@ -0,0 +1,13 @@ +class OracleofanidController < BuildingController + def get_probed_stars + head :not_implemented + end + + def get_star + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/orerefinery_controller.rb b/lacuna/app/controllers/orerefinery_controller.rb new file mode 100644 index 00000000..ddad9ecd --- /dev/null +++ b/lacuna/app/controllers/orerefinery_controller.rb @@ -0,0 +1,5 @@ +class OrerefineryController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/orestorage_controller.rb b/lacuna/app/controllers/orestorage_controller.rb new file mode 100644 index 00000000..0756ca73 --- /dev/null +++ b/lacuna/app/controllers/orestorage_controller.rb @@ -0,0 +1,9 @@ +class OrestorageController < BuildingController + def dump + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/oversight_controller.rb b/lacuna/app/controllers/oversight_controller.rb new file mode 100644 index 00000000..2a97d950 --- /dev/null +++ b/lacuna/app/controllers/oversight_controller.rb @@ -0,0 +1,5 @@ +class OversightController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/pancake_controller.rb b/lacuna/app/controllers/pancake_controller.rb new file mode 100644 index 00000000..0bbc5dea --- /dev/null +++ b/lacuna/app/controllers/pancake_controller.rb @@ -0,0 +1,5 @@ +class PancakeController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/pantheonofhagness_controller.rb b/lacuna/app/controllers/pantheonofhagness_controller.rb new file mode 100644 index 00000000..5aa1c668 --- /dev/null +++ b/lacuna/app/controllers/pantheonofhagness_controller.rb @@ -0,0 +1,5 @@ +class PantheonofhagnessController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/park_controller.rb b/lacuna/app/controllers/park_controller.rb new file mode 100644 index 00000000..ea54d8c8 --- /dev/null +++ b/lacuna/app/controllers/park_controller.rb @@ -0,0 +1,13 @@ +class ParkController < BuildingController + def subsidize_party + head :not_implemented + end + + def throw_a_party + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/parliament_controller.rb b/lacuna/app/controllers/parliament_controller.rb new file mode 100644 index 00000000..ae1547b4 --- /dev/null +++ b/lacuna/app/controllers/parliament_controller.rb @@ -0,0 +1,113 @@ +class ParliamentController < ApplicationController + def allow_bhg_by_alliance + head :not_implemented + end + + def cast_vote + head :not_implemented + end + + def get_bodies_for_star_in_jurisdiction + head :not_implemented + end + + def get_mining_platforms_for_asteroid_in_jurisdiction + head :not_implemented + end + + def get_stars_in_jurisdiction + head :not_implemented + end + + def propose_broadcast_on_network19 + head :not_implemented + end + + def propose_elect_new_leader + head :not_implemented + end + + def propose_evict_mining_platform + head :not_implemented + end + + def propose_expel_member + head :not_implemented + end + + def propose_fire_bfg + head :not_implemented + end + + def propose_foreign_aid + head :not_implemented + end + + def propose_induct_member + head :not_implemented + end + + def propose_members_only_colonization + head :not_implemented + end + + def propose_members_only_excavation + head :not_implemented + end + + def propose_members_only_mining_rights + head :not_implemented + end + + def propose_members_only_stations + head :not_implemented + end + + def propose_neutralize_bhg + head :not_implemented + end + + def propose_rename_asteroid + head :not_implemented + end + + def propose_rename_star + head :not_implemented + end + + def propose_rename_uninhabited + head :not_implemented + end + + def propose_repeal_law + head :not_implemented + end + + def propose_taxation + head :not_implemented + end + + def propose_transfer_station_ownership + head :not_implemented + end + + def propose_writ + head :not_implemented + end + + def view + head :not_implemented + end + + def view_laws + head :not_implemented + end + + def view_propositions + head :not_implemented + end + + def view_taxes_collected + head :not_implemented + end +end diff --git a/lacuna/app/controllers/pie_controller.rb b/lacuna/app/controllers/pie_controller.rb new file mode 100644 index 00000000..5d5d227e --- /dev/null +++ b/lacuna/app/controllers/pie_controller.rb @@ -0,0 +1,5 @@ +class PieController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/pilottraining_controller.rb b/lacuna/app/controllers/pilottraining_controller.rb new file mode 100644 index 00000000..be16fbda --- /dev/null +++ b/lacuna/app/controllers/pilottraining_controller.rb @@ -0,0 +1,5 @@ +class PilottrainingController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/planetarycommand_controller.rb b/lacuna/app/controllers/planetarycommand_controller.rb new file mode 100644 index 00000000..8126246f --- /dev/null +++ b/lacuna/app/controllers/planetarycommand_controller.rb @@ -0,0 +1,17 @@ +class PlanetarycommandController < BuildingController + def subsidize_pod_cooldown + head :not_implemented + end + + def view + head :not_implemented + end + + def view_incoming_supply_chains + head :not_implemented + end + + def view_plans + head :not_implemented + end +end diff --git a/lacuna/app/controllers/policestation_controller.rb b/lacuna/app/controllers/policestation_controller.rb new file mode 100644 index 00000000..89894e16 --- /dev/null +++ b/lacuna/app/controllers/policestation_controller.rb @@ -0,0 +1,33 @@ +class PolicestationController < ApplicationController + def execute_prisoner + head :not_implemented + end + + def release_prisoner + head :not_implemented + end + + def view + head :not_implemented + end + + def view_foreign_ships + head :not_implemented + end + + def view_foreign_spies + head :not_implemented + end + + def view_prisoners + head :not_implemented + end + + def view_ships_orbiting + head :not_implemented + end + + def view_ships_travelling + head :not_implemented + end +end diff --git a/lacuna/app/controllers/politicstraining_controller.rb b/lacuna/app/controllers/politicstraining_controller.rb new file mode 100644 index 00000000..7b9d7f8c --- /dev/null +++ b/lacuna/app/controllers/politicstraining_controller.rb @@ -0,0 +1,5 @@ +class PoliticstrainingController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/potato_controller.rb b/lacuna/app/controllers/potato_controller.rb new file mode 100644 index 00000000..6ce7d8a6 --- /dev/null +++ b/lacuna/app/controllers/potato_controller.rb @@ -0,0 +1,5 @@ +class PotatoController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/propulsion_controller.rb b/lacuna/app/controllers/propulsion_controller.rb new file mode 100644 index 00000000..d719fa74 --- /dev/null +++ b/lacuna/app/controllers/propulsion_controller.rb @@ -0,0 +1,5 @@ +class PropulsionController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/pyramidjunksculpture_controller.rb b/lacuna/app/controllers/pyramidjunksculpture_controller.rb new file mode 100644 index 00000000..595a6a25 --- /dev/null +++ b/lacuna/app/controllers/pyramidjunksculpture_controller.rb @@ -0,0 +1,5 @@ +class PyramidjunksculptureController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/ravine_controller.rb b/lacuna/app/controllers/ravine_controller.rb new file mode 100644 index 00000000..2cc3f269 --- /dev/null +++ b/lacuna/app/controllers/ravine_controller.rb @@ -0,0 +1,5 @@ +class RavineController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/rockyoutcrop_controller.rb b/lacuna/app/controllers/rockyoutcrop_controller.rb new file mode 100644 index 00000000..bd061591 --- /dev/null +++ b/lacuna/app/controllers/rockyoutcrop_controller.rb @@ -0,0 +1,5 @@ +class RockyoutcropController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/sand_controller.rb b/lacuna/app/controllers/sand_controller.rb new file mode 100644 index 00000000..7f991e69 --- /dev/null +++ b/lacuna/app/controllers/sand_controller.rb @@ -0,0 +1,5 @@ +class SandController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/saw_controller.rb b/lacuna/app/controllers/saw_controller.rb new file mode 100644 index 00000000..a84cd2dc --- /dev/null +++ b/lacuna/app/controllers/saw_controller.rb @@ -0,0 +1,5 @@ +class SawController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/security_controller.rb b/lacuna/app/controllers/security_controller.rb new file mode 100644 index 00000000..148ea768 --- /dev/null +++ b/lacuna/app/controllers/security_controller.rb @@ -0,0 +1,21 @@ +class SecurityController < BuildingController + def execute_prisoner + head :not_implemented + end + + def release_prisoner + head :not_implemented + end + + def view + head :not_implemented + end + + def view_foreign_spies + head :not_implemented + end + + def view_prisoners + head :not_implemented + end +end diff --git a/lacuna/app/controllers/shake_controller.rb b/lacuna/app/controllers/shake_controller.rb new file mode 100644 index 00000000..9d3a542c --- /dev/null +++ b/lacuna/app/controllers/shake_controller.rb @@ -0,0 +1,5 @@ +class ShakeController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/shipyard_controller.rb b/lacuna/app/controllers/shipyard_controller.rb new file mode 100644 index 00000000..bd9f46b6 --- /dev/null +++ b/lacuna/app/controllers/shipyard_controller.rb @@ -0,0 +1,29 @@ +class ShipyardController < BuildingController + def build_ship + head :not_implemented + end + + def build_ships + head :not_implemented + end + + def get_buildable + head :not_implemented + end + + def subsidize_build_queue + head :not_implemented + end + + def subsidize_ship + head :not_implemented + end + + def view + head :not_implemented + end + + def view_build_queue + head :not_implemented + end +end diff --git a/lacuna/app/controllers/singularity_controller.rb b/lacuna/app/controllers/singularity_controller.rb new file mode 100644 index 00000000..caaffd17 --- /dev/null +++ b/lacuna/app/controllers/singularity_controller.rb @@ -0,0 +1,5 @@ +class SingularityController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/soup_controller.rb b/lacuna/app/controllers/soup_controller.rb new file mode 100644 index 00000000..a90c8c8d --- /dev/null +++ b/lacuna/app/controllers/soup_controller.rb @@ -0,0 +1,5 @@ +class SoupController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/spacejunkpark_controller.rb b/lacuna/app/controllers/spacejunkpark_controller.rb new file mode 100644 index 00000000..c4d78e52 --- /dev/null +++ b/lacuna/app/controllers/spacejunkpark_controller.rb @@ -0,0 +1,5 @@ +class SpacejunkparkController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/spaceport_controller.rb b/lacuna/app/controllers/spaceport_controller.rb new file mode 100644 index 00000000..99a60d82 --- /dev/null +++ b/lacuna/app/controllers/spaceport_controller.rb @@ -0,0 +1,81 @@ +class SpaceportController < BuildingController + def fetch_spies + head :not_implemented + end + + def get_fleet_for + head :not_implemented + end + + def get_ships_for + head :not_implemented + end + + def mass_scuttle_ship + head :not_implemented + end + + def name_ship + head :not_implemented + end + + def prepare_fetch_spies + head :not_implemented + end + + def prepare_send_spies + head :not_implemented + end + + def recall_all + head :not_implemented + end + + def recall_ship + head :not_implemented + end + + def scuttle_ship + head :not_implemented + end + + def send_fleet + head :not_implemented + end + + def send_ship + head :not_implemented + end + + def send_ship_types + head :not_implemented + end + + def send_spies + head :not_implemented + end + + def view + head :not_implemented + end + + def view_all_ships + head :not_implemented + end + + def view_battle_logs + head :not_implemented + end + + def view_foreign_ships + head :not_implemented + end + + def view_ships_orbiting + head :not_implemented + end + + def view_ships_travelling + head :not_implemented + end +end diff --git a/lacuna/app/controllers/spacestationlab_controller.rb b/lacuna/app/controllers/spacestationlab_controller.rb new file mode 100644 index 00000000..3447c06b --- /dev/null +++ b/lacuna/app/controllers/spacestationlab_controller.rb @@ -0,0 +1,13 @@ +class SpacestationlabController < BuildingController + def make_plan + head :not_implemented + end + + def subsidize_plan + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/stationcommand_controller.rb b/lacuna/app/controllers/stationcommand_controller.rb new file mode 100644 index 00000000..b7dd4d27 --- /dev/null +++ b/lacuna/app/controllers/stationcommand_controller.rb @@ -0,0 +1,13 @@ +class StationcommandController < ApplicationController + def view + head :not_implemented + end + + def view_incoming_supply_chains + head :not_implemented + end + + def view_plans + head :not_implemented + end +end diff --git a/lacuna/app/controllers/stats_controller.rb b/lacuna/app/controllers/stats_controller.rb new file mode 100644 index 00000000..d813cee6 --- /dev/null +++ b/lacuna/app/controllers/stats_controller.rb @@ -0,0 +1,33 @@ +class StatsController < ApplicationController + def alliance_rank + head :not_implemented + end + + def colony_rank + head :not_implemented + end + + def credits + head :not_implemented + end + + def empire_rank + head :not_implemented + end + + def find_alliance_rank + head :not_implemented + end + + def find_empire_rank + head :not_implemented + end + + def spy_rank + head :not_implemented + end + + def weekly_medal_winners + head :not_implemented + end +end diff --git a/lacuna/app/controllers/stockpile_controller.rb b/lacuna/app/controllers/stockpile_controller.rb new file mode 100644 index 00000000..627e539e --- /dev/null +++ b/lacuna/app/controllers/stockpile_controller.rb @@ -0,0 +1,5 @@ +class StockpileController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/subspacesupplydepot_controller.rb b/lacuna/app/controllers/subspacesupplydepot_controller.rb new file mode 100644 index 00000000..165dcaca --- /dev/null +++ b/lacuna/app/controllers/subspacesupplydepot_controller.rb @@ -0,0 +1,25 @@ +class SubspacesupplydepotController < BuildingController + def complete_build_queue + head :not_implemented + end + + def transmit_energy + head :not_implemented + end + + def transmit_food + head :not_implemented + end + + def transmit_ore + head :not_implemented + end + + def transmit_water + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/supplypod_controller.rb b/lacuna/app/controllers/supplypod_controller.rb new file mode 100644 index 00000000..1fa23acf --- /dev/null +++ b/lacuna/app/controllers/supplypod_controller.rb @@ -0,0 +1,5 @@ +class SupplypodController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/syrup_controller.rb b/lacuna/app/controllers/syrup_controller.rb new file mode 100644 index 00000000..e2b70f4e --- /dev/null +++ b/lacuna/app/controllers/syrup_controller.rb @@ -0,0 +1,5 @@ +class SyrupController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/templeofthedrajilites_controller.rb b/lacuna/app/controllers/templeofthedrajilites_controller.rb new file mode 100644 index 00000000..8fae2fd2 --- /dev/null +++ b/lacuna/app/controllers/templeofthedrajilites_controller.rb @@ -0,0 +1,13 @@ +class TempleofthedrajilitesController < BuildingController + def list_planets + head :not_implemented + end + + def view + head :not_implemented + end + + def view_planet + head :not_implemented + end +end diff --git a/lacuna/app/controllers/terraforminglab_controller.rb b/lacuna/app/controllers/terraforminglab_controller.rb new file mode 100644 index 00000000..6aa8fe9d --- /dev/null +++ b/lacuna/app/controllers/terraforminglab_controller.rb @@ -0,0 +1,5 @@ +class TerraforminglabController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/terraformingplatform_controller.rb b/lacuna/app/controllers/terraformingplatform_controller.rb new file mode 100644 index 00000000..79229c37 --- /dev/null +++ b/lacuna/app/controllers/terraformingplatform_controller.rb @@ -0,0 +1,5 @@ +class TerraformingplatformController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/thedillonforge_controller.rb b/lacuna/app/controllers/thedillonforge_controller.rb new file mode 100644 index 00000000..52723646 --- /dev/null +++ b/lacuna/app/controllers/thedillonforge_controller.rb @@ -0,0 +1,17 @@ +class ThedillonforgeController < BuildingController + def make_plan + head :not_implemented + end + + def split_plan + head :not_implemented + end + + def subsidize + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/thefttraining_controller.rb b/lacuna/app/controllers/thefttraining_controller.rb new file mode 100644 index 00000000..9d0e8b81 --- /dev/null +++ b/lacuna/app/controllers/thefttraining_controller.rb @@ -0,0 +1,5 @@ +class ThefttrainingController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/themepark_controller.rb b/lacuna/app/controllers/themepark_controller.rb new file mode 100644 index 00000000..3a068138 --- /dev/null +++ b/lacuna/app/controllers/themepark_controller.rb @@ -0,0 +1,9 @@ +class ThemeparkController < BuildingController + def operate + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/trade_controller.rb b/lacuna/app/controllers/trade_controller.rb new file mode 100644 index 00000000..6fa6a2b4 --- /dev/null +++ b/lacuna/app/controllers/trade_controller.rb @@ -0,0 +1,105 @@ +class TradeController < BuildingController + def accept_from_market + head :not_implemented + end + + def add_supply_ship_to_fleet + head :not_implemented + end + + def add_to_market + head :not_implemented + end + + def add_waste_ship_to_fleet + head :not_implemented + end + + def create_supply_chain + head :not_implemented + end + + def delete_supply_chain + head :not_implemented + end + + def get_glyph_summary + head :not_implemented + end + + def get_plan_summary + head :not_implemented + end + + def get_prisoners + head :not_implemented + end + + def get_ships + head :not_implemented + end + + def get_stored_resources + head :not_implemented + end + + def get_supply_ships + head :not_implemented + end + + def get_trade_ships + head :not_implemented + end + + def get_waste_ships + head :not_implemented + end + + def push_items + head :not_implemented + end + + def remove_supply_ship_from_fleet + head :not_implemented + end + + def remove_waste_ship_from_fleet + head :not_implemented + end + + def report_abuse + head :not_implemented + end + + def update_supply_chain + head :not_implemented + end + + def update_waste_chain + head :not_implemented + end + + def view + head :not_implemented + end + + def view_market + head :not_implemented + end + + def view_my_market + head :not_implemented + end + + def view_supply_chains + head :not_implemented + end + + def view_waste_chains + head :not_implemented + end + + def withdraw_from_market + head :not_implemented + end +end diff --git a/lacuna/app/controllers/transporter_controller.rb b/lacuna/app/controllers/transporter_controller.rb new file mode 100644 index 00000000..c60aa0f5 --- /dev/null +++ b/lacuna/app/controllers/transporter_controller.rb @@ -0,0 +1,57 @@ +class TransporterController < BuildingController + def accept_from_market + head :not_implemented + end + + def add_to_market + head :not_implemented + end + + def get_glyph_summary + head :not_implemented + end + + def get_plan_summary + head :not_implemented + end + + def get_prisoners + head :not_implemented + end + + def get_ships + head :not_implemented + end + + def get_stored_resources + head :not_implemented + end + + def push_items + head :not_implemented + end + + def report_abuse + head :not_implemented + end + + def trade_one_for_one + head :not_implemented + end + + def view + head :not_implemented + end + + def view_market + head :not_implemented + end + + def view_my_market + head :not_implemented + end + + def withdraw_from_market + head :not_implemented + end +end diff --git a/lacuna/app/controllers/university_controller.rb b/lacuna/app/controllers/university_controller.rb new file mode 100644 index 00000000..3752ec18 --- /dev/null +++ b/lacuna/app/controllers/university_controller.rb @@ -0,0 +1,5 @@ +class UniversityController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/volcano_controller.rb b/lacuna/app/controllers/volcano_controller.rb new file mode 100644 index 00000000..c383ee78 --- /dev/null +++ b/lacuna/app/controllers/volcano_controller.rb @@ -0,0 +1,5 @@ +class VolcanoController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/warehouse_controller.rb b/lacuna/app/controllers/warehouse_controller.rb new file mode 100644 index 00000000..a9337af7 --- /dev/null +++ b/lacuna/app/controllers/warehouse_controller.rb @@ -0,0 +1,5 @@ +class WarehouseController < ApplicationController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wastedigester_controller.rb b/lacuna/app/controllers/wastedigester_controller.rb new file mode 100644 index 00000000..8650c0ac --- /dev/null +++ b/lacuna/app/controllers/wastedigester_controller.rb @@ -0,0 +1,5 @@ +class WastedigesterController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wasteenergy_controller.rb b/lacuna/app/controllers/wasteenergy_controller.rb new file mode 100644 index 00000000..e6c1bf8e --- /dev/null +++ b/lacuna/app/controllers/wasteenergy_controller.rb @@ -0,0 +1,5 @@ +class WasteenergyController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wasteexchanger_controller.rb b/lacuna/app/controllers/wasteexchanger_controller.rb new file mode 100644 index 00000000..59f43790 --- /dev/null +++ b/lacuna/app/controllers/wasteexchanger_controller.rb @@ -0,0 +1,13 @@ +class WasteexchangerController < BuildingController + def recycle + head :not_implemented + end + + def subsidize_recycling + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wasterecycling_controller.rb b/lacuna/app/controllers/wasterecycling_controller.rb new file mode 100644 index 00000000..94c3f2e7 --- /dev/null +++ b/lacuna/app/controllers/wasterecycling_controller.rb @@ -0,0 +1,13 @@ +class WasterecyclingController < BuildingController + def recycle + head :not_implemented + end + + def subsidize_recycling + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wastesequestration_controller.rb b/lacuna/app/controllers/wastesequestration_controller.rb new file mode 100644 index 00000000..e2643e3f --- /dev/null +++ b/lacuna/app/controllers/wastesequestration_controller.rb @@ -0,0 +1,5 @@ +class WastesequestrationController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wastetreatment_controller.rb b/lacuna/app/controllers/wastetreatment_controller.rb new file mode 100644 index 00000000..beafe0cb --- /dev/null +++ b/lacuna/app/controllers/wastetreatment_controller.rb @@ -0,0 +1,5 @@ +class WastetreatmentController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/waterproduction_controller.rb b/lacuna/app/controllers/waterproduction_controller.rb new file mode 100644 index 00000000..9e41082b --- /dev/null +++ b/lacuna/app/controllers/waterproduction_controller.rb @@ -0,0 +1,5 @@ +class WaterproductionController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/waterpurification_controller.rb b/lacuna/app/controllers/waterpurification_controller.rb new file mode 100644 index 00000000..4edb09f5 --- /dev/null +++ b/lacuna/app/controllers/waterpurification_controller.rb @@ -0,0 +1,5 @@ +class WaterpurificationController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/waterreclamation_controller.rb b/lacuna/app/controllers/waterreclamation_controller.rb new file mode 100644 index 00000000..e16a296e --- /dev/null +++ b/lacuna/app/controllers/waterreclamation_controller.rb @@ -0,0 +1,5 @@ +class WaterreclamationController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/waterstorage_controller.rb b/lacuna/app/controllers/waterstorage_controller.rb new file mode 100644 index 00000000..65619cf7 --- /dev/null +++ b/lacuna/app/controllers/waterstorage_controller.rb @@ -0,0 +1,9 @@ +class WaterstorageController < BuildingController + def dump + head :not_implemented + end + + def view + head :not_implemented + end +end diff --git a/lacuna/app/controllers/wheat_controller.rb b/lacuna/app/controllers/wheat_controller.rb new file mode 100644 index 00000000..f03ecb19 --- /dev/null +++ b/lacuna/app/controllers/wheat_controller.rb @@ -0,0 +1,5 @@ +class WheatController < BuildingController + def view + head :not_implemented + end +end diff --git a/lacuna/config/routes.rb b/lacuna/config/routes.rb index edf2c5d1..462ac459 100644 --- a/lacuna/config/routes.rb +++ b/lacuna/config/routes.rb @@ -3,10 +3,1586 @@ Rails.application.routes.draw do namespace :empire do post :view_profile post :get_status + post :authorize_sitters + post :boost_building + post :boost_energy + post :boost_food + post :boost_happiness + post :boost_ore + post :boost_spy_training + post :boost_storage + post :boost_water + post :change_password + post :create + post :deauthorize_sitters + post :disable_self_destruct + post :edit_profile + post :enable_self_destruct + post :fetch_captcha + post :find + post :found + post :get_invite_friend_url + post :get_species_templates + post :invite_friend + post :is_name_available + post :login + post :logout + post :redeem_essentia_code + post :redefine_species + post :redefine_species_limits + post :reset_password + post :send_password_reset_message + post :set_status_message + post :update_species + post :view_authorized_sitters + post :view_boosts + post :view_public_profile + post :view_species_stats end namespace :body do post :get_status + post :abandon + post :get_buildable + post :get_buildable_locations + post :get_buildings + post :rearrange_buildings + post :rename + post :repair_list + post :set_colony_notes + post :view_laws + end + + namespace :algae do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :algaepond do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :alliance do + post :find + post :view_profile + end + + namespace :amalgusmeadow do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :apple do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :archaeology do + post :abandon_excavator + post :assemble_glyphs + post :build + post :demolish + post :downgrade + post :get_glyph_summary + post :get_ores_available_for_processing + post :get_stats_for_level + post :mass_abandon_excavator + post :repair + post :search_for_glyph + post :subsidize_search + post :upgrade + post :view + post :view_excavators + end + + namespace :artmuseum do + post :view + end + + namespace :atmosphericevaporator do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :beach do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :bean do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :beeldeban do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :beeldebannest do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :blackholegenerator do + post :build + post :demolish + post :downgrade + post :generate_singularity + post :get_actions_for + post :get_stats_for_level + post :repair + post :subsidize_cooldown + post :upgrade + post :view + end + + namespace :bread do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :burger do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :capitol do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :rename_empire + post :repair + post :upgrade + post :view + end + + namespace :captcha do + post :fetch + post :solve + end + + namespace :cheese do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :chip do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :cider do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :citadelofknope do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :cloakinglab do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :corn do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :cornmeal do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :crashedshipsite do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :crater do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :culinaryinstitute do + post :view + end + + namespace :dairy do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :denton do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :dentonbrambles do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :deployedbleeder do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :development do + post :build + post :cancel_build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :subsidize_build_queue + post :subsidize_one_build + post :upgrade + post :view + end + + namespace :distributioncenter do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :get_stored_resources + post :release_reserve + post :repair + post :reserve + post :upgrade + post :view + end + + namespace :embassy do + post :accept_invite + post :assign_alliance_leader + post :build + post :cast_vote + post :create_alliance + post :demolish + post :dissolve_alliance + post :donate_to_stash + post :downgrade + post :exchange_with_stash + post :expel_member + post :get_alliance_status + post :get_my_invites + post :get_pending_invites + post :get_stats_for_level + post :leave_alliance + post :reject_invite + post :repair + post :send_invite + post :update_alliance + post :upgrade + post :view + post :view_propositions + post :view_stash + post :withdraw_invite + end + + namespace :energyreserve do + post :build + post :demolish + post :downgrade + post :dump + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :entertainment do + post :build + post :demolish + post :downgrade + post :duck_quack + post :get_lottery_voting_options + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :espionage do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :essentiavein do + post :build + post :demolish + post :downgrade + post :drain + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :fission do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :fissure do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :foodreserve do + post :build + post :demolish + post :downgrade + post :dump + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :fusion do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :gasgiantlab do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :gasgiantplatform do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :geneticslab do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :prepare_experiment + post :rename_species + post :repair + post :run_experiment + post :upgrade + post :view + end + + namespace :geo do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :geothermalvent do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :gratchsgauntlet do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :greatballofjunk do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :grove do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :hallsofvrbansk do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :hydrocarbon do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :ibs do + post :view + end + + namespace :inbox do + post :archive_messages + post :read_message + post :send_message + post :trash_messages + post :trash_messages_where + post :view_archived + post :view_inbox + post :view_sent + post :view_trashed + post :view_unread + end + + namespace :intelligence do + post :assign_spy + post :build + post :burn_spy + post :demolish + post :downgrade + post :get_stats_for_level + post :name_spies + post :name_spy + post :repair + post :subsidize_training + post :train_spy + post :upgrade + post :view + post :view_all_spies + post :view_spies + end + + namespace :inteltraining do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :interdimensionalrift do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :junkhengesculpture do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :kalavianruins do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :kasternskeep do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :lagoon do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :lake do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :lapis do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :lapisforest do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :libraryofjith do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :research_species + post :upgrade + post :view + end + + namespace :lostcityoftyleon do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :luxuryhousing do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :malcud do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :malcudfield do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :map do + post :check_star_for_incoming_probe + post :get_star + post :get_star_by_name + post :get_star_by_xy + post :get_star_map + post :get_stars + post :probe_summary_fissures + post :search_stars + post :view_laws + end + + namespace :massadshenge do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :mayhemtraining do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :mercenariesguild do + post :accept_from_market + post :add_to_market + post :build + post :demolish + post :downgrade + post :get_spies + post :get_stats_for_level + post :get_trade_ships + post :repair + post :report_abuse + post :upgrade + post :view + post :view_market + post :view_my_market + post :withdraw_from_market + end + + namespace :metaljunkarches do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :mine do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :miningministry do + post :abandon_platform + post :add_cargo_ship_to_fleet + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :mass_abandon_platform + post :remove_cargo_ship_from_fleet + post :repair + post :upgrade + post :view + post :view_platforms + post :view_ships + end + + namespace :missioncommand do + post :build + post :complete_mission + post :demolish + post :downgrade + post :get_missions + post :get_stats_for_level + post :repair + post :skip_mission + post :upgrade + post :view + end + + namespace :munitionslab do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :naturalspring do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :network19 do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :restrict_coverage + post :upgrade + post :view + post :view_news + end + + namespace :observatory do + post :abandon_all_probes + post :abandon_probe + post :build + post :demolish + post :downgrade + post :get_probed_stars + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :operahouse do + post :view + end + + namespace :oracleofanid do + post :build + post :demolish + post :downgrade + post :get_probed_stars + post :get_star + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :orerefinery do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :orestorage do + post :build + post :demolish + post :downgrade + post :dump + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :oversight do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :pancake do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :pantheonofhagness do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :park do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :subsidize_party + post :throw_a_party + post :upgrade + post :view + end + + namespace :parliament do + post :allow_bhg_by_alliance + post :cast_vote + post :get_bodies_for_star_in_jurisdiction + post :get_mining_platforms_for_asteroid_in_jurisdiction + post :get_stars_in_jurisdiction + post :propose_broadcast_on_network19 + post :propose_elect_new_leader + post :propose_evict_mining_platform + post :propose_expel_member + post :propose_fire_bfg + post :propose_foreign_aid + post :propose_induct_member + post :propose_members_only_colonization + post :propose_members_only_excavation + post :propose_members_only_mining_rights + post :propose_members_only_stations + post :propose_neutralize_bhg + post :propose_rename_asteroid + post :propose_rename_star + post :propose_rename_uninhabited + post :propose_repeal_law + post :propose_taxation + post :propose_transfer_station_ownership + post :propose_writ + post :view + post :view_laws + post :view_propositions + post :view_taxes_collected + end + + namespace :pie do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :pilottraining do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :planetarycommand do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :subsidize_pod_cooldown + post :upgrade + post :view + post :view_incoming_supply_chains + post :view_plans + end + + namespace :policestation do + post :execute_prisoner + post :release_prisoner + post :view + post :view_foreign_ships + post :view_foreign_spies + post :view_prisoners + post :view_ships_orbiting + post :view_ships_travelling + end + + namespace :politicstraining do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :potato do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :propulsion do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :pyramidjunksculpture do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :ravine do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :rockyoutcrop do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :sand do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :saw do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :security do + post :build + post :demolish + post :downgrade + post :execute_prisoner + post :get_stats_for_level + post :release_prisoner + post :repair + post :upgrade + post :view + post :view_foreign_spies + post :view_prisoners + end + + namespace :shake do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :shipyard do + post :build + post :build_ship + post :build_ships + post :demolish + post :downgrade + post :get_buildable + post :get_stats_for_level + post :repair + post :subsidize_build_queue + post :subsidize_ship + post :upgrade + post :view + post :view_build_queue + end + + namespace :singularity do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :soup do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :spacejunkpark do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :spaceport do + post :build + post :demolish + post :downgrade + post :fetch_spies + post :get_fleet_for + post :get_ships_for + post :get_stats_for_level + post :mass_scuttle_ship + post :name_ship + post :prepare_fetch_spies + post :prepare_send_spies + post :recall_all + post :recall_ship + post :repair + post :scuttle_ship + post :send_fleet + post :send_ship + post :send_ship_types + post :send_spies + post :upgrade + post :view + post :view_all_ships + post :view_battle_logs + post :view_foreign_ships + post :view_ships_orbiting + post :view_ships_travelling + end + + namespace :spacestationlab do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :make_plan + post :repair + post :subsidize_plan + post :upgrade + post :view + end + + namespace :stationcommand do + post :view + post :view_incoming_supply_chains + post :view_plans + end + + namespace :stats do + post :alliance_rank + post :colony_rank + post :credits + post :empire_rank + post :find_alliance_rank + post :find_empire_rank + post :spy_rank + post :weekly_medal_winners + end + + namespace :stockpile do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :subspacesupplydepot do + post :build + post :complete_build_queue + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :transmit_energy + post :transmit_food + post :transmit_ore + post :transmit_water + post :upgrade + post :view + end + + namespace :supplypod do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :syrup do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :templeofthedrajilites do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :list_planets + post :repair + post :upgrade + post :view + post :view_planet + end + + namespace :terraforminglab do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :terraformingplatform do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :thedillonforge do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :make_plan + post :repair + post :split_plan + post :subsidize + post :upgrade + post :view + end + + namespace :thefttraining do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :themepark do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :operate + post :repair + post :upgrade + post :view + end + + namespace :trade do + post :accept_from_market + post :add_supply_ship_to_fleet + post :add_to_market + post :add_waste_ship_to_fleet + post :build + post :create_supply_chain + post :delete_supply_chain + post :demolish + post :downgrade + post :get_glyph_summary + post :get_plan_summary + post :get_prisoners + post :get_ships + post :get_stats_for_level + post :get_stored_resources + post :get_supply_ships + post :get_trade_ships + post :get_waste_ships + post :push_items + post :remove_supply_ship_from_fleet + post :remove_waste_ship_from_fleet + post :repair + post :report_abuse + post :update_supply_chain + post :update_waste_chain + post :upgrade + post :view + post :view_market + post :view_my_market + post :view_supply_chains + post :view_waste_chains + post :withdraw_from_market + end + + namespace :transporter do + post :accept_from_market + post :add_to_market + post :build + post :demolish + post :downgrade + post :get_glyph_summary + post :get_plan_summary + post :get_prisoners + post :get_ships + post :get_stats_for_level + post :get_stored_resources + post :push_items + post :repair + post :report_abuse + post :trade_one_for_one + post :upgrade + post :view + post :view_market + post :view_my_market + post :withdraw_from_market + end + + namespace :university do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :volcano do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :warehouse do + post :view + end + + namespace :wastedigester do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :wasteenergy do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :wasteexchanger do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :recycle + post :repair + post :subsidize_recycling + post :upgrade + post :view + end + + namespace :wasterecycling do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :recycle + post :repair + post :subsidize_recycling + post :upgrade + post :view + end + + namespace :wastesequestration do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :wastetreatment do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :waterproduction do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :waterpurification do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :waterreclamation do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :waterstorage do + post :build + post :demolish + post :downgrade + post :dump + post :get_stats_for_level + post :repair + post :upgrade + post :view + end + + namespace :wheat do + post :build + post :demolish + post :downgrade + post :get_stats_for_level + post :repair + post :upgrade + post :view end # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. -- 2.51.2