Skip to content

Commit

Permalink
Sandbox: Add Orca (test); tweak Wombat, Roc, Stick; enable Farrah, Sp…
Browse files Browse the repository at this point in the history
…ike, Cobra; disable Hearken, Flipper Rip; enable Speculator, Incorporate Starry's EPJAM simplifications, add science database entries for Fowl, Roc and Sloop
  • Loading branch information
Xansta committed Jan 30, 2022
1 parent e582e63 commit aa42a0d
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 78 deletions.
75 changes: 74 additions & 1 deletion sandbox_science_database.lua
Original file line number Diff line number Diff line change
Expand Up @@ -670,13 +670,33 @@ function initialSandboxDatabaseUpdate()
---------------------------
-- Custom player ships --
---------------------------
-- Need to add descriptions for Roc, Sloop and Fowl
local prototype_db = ships_db:addEntry("Prototype")
prototype_db = queryScienceDatabase("Ships","Prototype")
prototype_db:setLongDescription("Prototype ships are those that are under development or are otherwise considered experimental. Some have seen service in and around Icarus or Kentar. Some have been through several iterations after being tested in the field. Many have been scrapped due to poor design, the ravages of space or perhaps the simple passage of time.")
prototype_db:setImage("gui/icons/station-engineering.png")
---- Starfighters
local fighter_prototype_db = prototype_db:addEntry("Starfighter")
-- Fowl
fighter_prototype_db:addEntry("Fowl")
local fowl_db = queryScienceDatabase("Ships","Prototype","Starfighter","Fowl")
fowl_db:setLongDescription("Through some tricky engineering, the Fowl takes the basic fighter design and fits more repair crew, higher battery capacity, stronger shields and an extra beam. The changes force a rear facing tube that only lays mines.\n\nThe Fowl class was specially designed to be deployed from a carrier.")
fowl_db:setKeyValue("Class","Starfighter")
fowl_db:setKeyValue("Deployed Callsign","Chack")
fowl_db:setKeyValue("Size","40")
fowl_db:setKeyValue("Shield","100/60")
fowl_db:setKeyValue("Hull","60")
fowl_db:setKeyValue("Repair Crew",3)
fowl_db:setKeyValue("Battery Capacity",500)
fowl_db:setKeyValue("Sensor Ranges","Long: 15 U / Short: 4.5 U")
fowl_db:setKeyValue("Move speed","6.6 U/min") --110
fowl_db:setKeyValue("Turn speed","20 deg/sec")
fowl_db:setKeyValue("Beam weapon 0:12","Rng:1 Dmg:3 Cyc:6")
fowl_db:setKeyValue("Beam weapon 350:40","Rng:.8 Dmg:4 Cyc:6")
fowl_db:setKeyValue("Beam weapon 10:40","Rng:.8 Dmg:4 Cyc:6")
fowl_db:setKeyValue("Tube 180","10 sec / Mine")
fowl_db:setKeyValue("Storage Mine","4")
fowl_db:setImage(getFilenameCompatible("radar/fighter.png"))
fowl_db:setModelDataName("small_fighter_1")
-- Fresnel
fighter_prototype_db:addEntry("Fresnel")
local fresnel_db = queryScienceDatabase("Ships","Prototype","Starfighter","Fresnel")
Expand Down Expand Up @@ -1234,6 +1254,34 @@ function initialSandboxDatabaseUpdate()
redhook_db:setKeyValue("Storage Missiles","H:12 M:4 E:4 L:20")
redhook_db:setImage(getFilenameCompatible("radar/piranha.png"))
redhook_db:setModelDataName("HeavyCorvetteRed")
-- Roc
frigate_prototype_db:addEntry("Roc")
local roc_db = queryScienceDatabase("Ships","Prototype","Frigate","Roc")
roc_db:setLongDescription("Loosely based on the Phobos, the Roc design differs in that it bunks more repair crew, has a small warp drive and tweaked shields (stronger in front, weaker in the rear). The weapons tubes were largely replaced. The Roc has 8 tubes in total: two small angled tubes in front along with a normal sized one in front along the ship's main axis, a medium and a large broadside tube on each side and a rear facing mine tube. The beams were replaced with smaller models that have a shorter range and a narrower firing arc. A rapid fire fighter deterrent beam turret was added. With these extensive weapons modifications, the Roc has slightly less maneuverability than the Phobos on which it's based.")
roc_db:setKeyValue("Class","Frigate")
roc_db:setKeyValue("Sub-class","Cruiser")
roc_db:setKeyValue("Deployed Callsign","Swoop")
roc_db:setKeyValue("Size","80")
roc_db:setKeyValue("Shield","150/50")
roc_db:setKeyValue("Hull","200")
roc_db:setKeyValue("Repair Crew",5)
roc_db:setKeyValue("Warp Speed","26.4 U/min") --440 (value * 60 / 1000)
roc_db:setKeyValue("Sensor Ranges","Long: 25 U / Short: 5 U")
roc_db:setKeyValue("Proximity Scan","1 U")
roc_db:setKeyValue("Move speed","4.5 U/min") --75 (value * 60 / 1000)
roc_db:setKeyValue("Turn speed","9 deg/sec")
roc_db:setKeyValue("Beam weapon 10:30","Rng:1 Dmg:6 Cyc:8")
roc_db:setKeyValue("Beam weapon 350:30","Rng:1 Dmg:6 Cyc:8")
roc_db:setKeyValue("Beam weapon 180:310","Rng:1.5 Dmg:0.5 Cyc:2 Tur:1")
roc_db:setKeyValue("Small Tubes ±4","5 sec / Homing, HVLI")
roc_db:setKeyValue("Tube 0","10 sec / HVLI")
roc_db:setKeyValue("Tubes ±90","10 sec / HVLI, Homing, Nuke EMP")
roc_db:setKeyValue("Large Tubes ±90","20 sec / HVLI, Homing, Nuke EMP")
roc_db:setKeyValue("Tube 180","15 sec / Mine")
roc_db:setKeyValue("Storage Missiles","H:10 N:2 M:4 E:3 L:18")
roc_db:setKeyValue("EPJAM Device","Radius: 1 unit (M)")
roc_db:setImage(getFilenameCompatible("radar/cruiser.png"))
roc_db:setModelDataName("AtlasHeavyFighterYellow")
-- Rodent
frigate_prototype_db:addEntry("Rodent")
local rodent_db = queryScienceDatabase("Ships","Prototype","Frigate","Rodent")
Expand Down Expand Up @@ -1341,6 +1389,31 @@ function initialSandboxDatabaseUpdate()
scatter_db:setKeyValue("Storage HVLI",8)
scatter_db:setImage(getFilenameCompatible("radar/piranha.png"))
scatter_db:setModelDataName("HeavyCorvetteGreen")
-- Sloop
frigate_prototype_db:addEntry("Sloop")
local sloop_db = queryScienceDatabase("Ships","Prototype","Frigate","Sloop")
sloop_db:setLongDescription("The Sloop design tweaks the Phobos design by adding a jump drive and a couple of repair crew. The beams were changed to ones with a narrower focus so that the tubes could be reconfigured. Now there are two angled tubes in front that shoot only homing missiles and three rear tubes that lay mines. These tweaks also sped up the impulse and maneuverability of the Sloop.")
sloop_db:setKeyValue("Class","Frigate")
sloop_db:setKeyValue("Sub-class","Cruiser")
sloop_db:setKeyValue("Deployed Callsign","Levant")
sloop_db:setKeyValue("Size","80")
sloop_db:setKeyValue("Shield","100/100")
sloop_db:setKeyValue("Hull","200")
sloop_db:setKeyValue("Repair Crew",5)
sloop_db:setKeyValue("Jump Range","3.5 - 35 U")
sloop_db:setKeyValue("Sensor Ranges","Long: 35 U / Short: 4.5 U")
sloop_db:setKeyValue("Proximity Scan","2 U")
sloop_db:setKeyValue("Move speed","5.4 U/min") --90
sloop_db:setKeyValue("Turn speed","15 deg/sec")
sloop_db:setKeyValue("Beam weapon 350:40","Rng:1.2 Dmg:6 Cyc:8")
sloop_db:setKeyValue("Beam weapon 10:40","Rng:1.2 Dmg:6 Cyc:8")
sloop_db:setKeyValue("Tubes ±10","10 sec / Homing")
sloop_db:setKeyValue("Tube 180","10 sec / Mine")
sloop_db:setKeyValue("Tube 170","10 sec / Mine")
sloop_db:setKeyValue("Tube 190","10 sec / Mine")
sloop_db:setKeyValue("Storage Missiles","H:12 M:6")
sloop_db:setImage(getFilenameCompatible("radar/cruiser.png"))
sloop_db:setModelDataName("AtlasHeavyFighterYellow")
-- Squid
frigate_prototype_db:addEntry("Squid")
local squid_db = queryScienceDatabase("Ships","Prototype","Frigate","Squid")
Expand Down
Loading

0 comments on commit aa42a0d

Please sign in to comment.