Skip to content

Commit

Permalink
feat: Mod init
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkborderman committed Aug 19, 2024
0 parents commit a311b47
Show file tree
Hide file tree
Showing 19 changed files with 401 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text eol=lf
* linguist-detectable
18 changes: 18 additions & 0 deletions .github/workflows/github-repo-info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Update Github repository information

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Github repo info
uses: Darkborderman/github-actions/github-repo-info@master
env:
YML_PATH: metadata.yml
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Darkborderman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Starsector-GameConfig

Personal adjusted gameplay config for playing Starsector.
4 changes: 4 additions & 0 deletions data/campaign/procgen/age_gen_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,minExtraOrbits,maxExtraOrbits,probNebula,nebulaDensity,freqNormal,freqBinary,freqTrinary
YOUNG,10,10,1.0,0.8,100,30,10
AVERAGE,8,8,1.0,0.55,100,20,5
OLD,6,6,1.0,0.3,100,10,0
8 changes: 8 additions & 0 deletions data/campaign/procgen/location_gen_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
id,tags,freqYOUNG,freqAVERAGE,freqOLD
SINGLE,,1000,1000,1000
BINARY_CLOSE,,50,40,30
BINARY_FAR,,100,70,50
TRINARY_2CLOSE,,2,1,1
TRINARY_1CLOSE_1FAR,,4,3,2
TRINARY_2FAR,,5,3,2
NEBULA,requires_nebula,50,20,5
16 changes: 16 additions & 0 deletions data/campaign/procgen/star_gen_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
id,age,tags,freqYOUNG,freqAVERAGE,freqOLD,minRadius,maxRadius,habZoneStart,probOrbits,minOrbits,maxOrbits,coronaMin,coronaMult,coronaVar,solarWind,minFlare,maxFlare,crLossMult,lightColorMin,lightColorMax
star_neutron,ANY,,0,0,0,150,250,-3,1,6,10,2000,100,10,50,0,0,15,175 185 195,225 235 245
star_orange_giant,OLD,,1,4,6,1100,1300,4,1,6,10,500,1,0.5,7,0,1,2,255 190 140,255 240 200
star_red_giant,OLD,,5,20,30,1100,1300,4,1,6,10,500,1,0.5,5,0,1,2,255 175 135,255 225 225
star_red_supergiant,AVERAGE,,3,5,1,1500,1800,5,1,6,10,500,1,0.5,5,0,1,2,255 175 135,255 225 225
star_red_dwarf,ANY,,75,65,55,500,600,2,1,6,10,300,1,0.25,5,0,1,2,255 175 135,255 225 225
star_orange,ANY,,50,45,40,650,750,3,1,6,10,400,1,0.5,10,0,1,3,255 180 140,255 240 200
star_yellow,ANY,,40,35,30,800,900,3,1,6,10,400,1,0.5,10,0,1,3,255 205 205,255 255 255
star_blue_giant,YOUNG,,30,15,5,1100,1300,6,1,6,10,500,1,0.5,15,0,3,5,155 175 255,225 225 255
star_browndwarf,ANY,,5,5,5,400,450,0,1,6,10,150,1,0.25,1,0,0,1,180 205 140,220 240 155
star_white,OLD,,10,20,50,400,700,2,1,6,10,300,1,0.25,5,0,1,2,230 230 230,255 255 255
star_blue_supergiant,YOUNG,,10,5,2,1200,1500,6,1,6,10,500,1,0.5,17,0,3,6,155 175 255,220 220 255
black_hole,ANY,,5,10,20,150,200,-20,1,6,10,1000,1,0.5,-10,0,0,25,125 90 125,125 90 125
nebula_center_old,ANY,NEBULA,0,0,3,0,0,-20,1,6,10,0,0,0,0,0,0,0,125 125 125,125 125 125
nebula_center_average,ANY,NEBULA,0,5,0,0,0,-20,1,6,10,0,0,0,0,0,0,0,125 125 125,125 125 125
nebula_center_young,ANY,NEBULA,10,0,0,0,0,-20,1,6,10,0,0,0,0,0,0,0,125 125 125,125 125 125
56 changes: 56 additions & 0 deletions data/config/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"combatSpeedMult":"1.5f",

"speedPerBurnLevel": 100,
"maxStormStrikeBurn": 20,

"maxLogisticsHullmods": 100,
"maxPermanentHullmods": 99,

"baseMaxOutposts": 0,
"colonyOverMaxPenalty":0,

"upkeepReductionFromInFactionImports": 1.0,
"maxIndustries":[11,12,13,14,15,16,17,18,19,20],
# This is contolled by other mod (Astral Ascension)
"maxColonySize": 9,
"accessibilityLossWhenAllHostile": 0,

"techMiningDecay":1.0,

"salvageWeaponProb":1.0,
"salvageWingProb":1.0,

"historianSpecialItemBase":0,
"industryImproveBase":0,
"createStableLocation":0,

"showMaxShipsWidgetAtShips":0,
"maxShipsInFleet":100,
"maxShipsInAIFleet":100,
"maxOfficersInAIFleet":100,

"drop_prob_officer_alpha_core":1.0,
"drop_prob_officer_beta_core":1.0,
"drop_prob_officer_gamma_core":1.0,

"minBattleSize":200,
"defaultBattleSize":600,
"maxBattleSize":1000,

"minPersonBounties":6,
"maxPersonBounties":12,
"personBountyNoSpawnRangeAroundPlayerLY":1,

# Deciv
"decivSamplingMonths": 240,

# Raid
"raidCooldownDays":0,
"raidDefenderIncreasePerRaid":0,
"raidDefenderIncreaseMax":0,
"raidDefenderIncreaseFraction":0,
"raidDefenderIncreaseMin":0,

"contactMissionUpdateIntervalDays":1
}
2 changes: 2 additions & 0 deletions data/hulls/ship_data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name,id,designation,tech/manufacturer,system id,fleet pts,hitpoints,armor rating,max flux,8/6/5/4%,flux dissipation,ordnance points,fighter bays,max speed,acceleration,deceleration,max turn rate,turn acceleration,mass,shield type,defense id,shield arc,shield upkeep,shield efficiency,phase cost,phase upkeep,min crew,max crew,cargo,fuel,fuel/ly,range,max burn,base value,cr %/day,CR to deploy,peak CR sec,CR loss/sec,supplies/rec,supplies/mo,c/s,c/f,f/s,f/f,crew/s,crew/f,hints,tags,rarity,breakProb,minPieces,maxPieces,travel drive,number
Ravelin,ravelin,Station Drone,Midline,,3,4000,500,2400,,500,100,,250,400,300,60,90,200,FRONT,,300,0,0.7,,,1,1,,,,,10,,20,5,,,3,3,,,,,,,,,,0.4,2,2,,7
74 changes: 74 additions & 0 deletions data/hulls/skins/ravelin_b.skin
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"baseHullId":"ravelin",
"skinHullId":"ravelin_b",
"hullName":"Ravelin Extreme(B)",
"systemId":"temporalshell",
"ordnancePoints": 250,
"restoreToBaseHull":false,
"spriteName":"graphics/ships/stations/ravelin2.png",
"removeWeaponSlots":[], # ids
"removeEngineSlots":[], # indices, as engine slots have no id in the .ship file
"removeBuiltInMods":[], # hullmod ids
"removeBuiltInWeapons":[], # weapon slot ids
"builtInMods":["no_weapon_flux", "advancedcore", "fluxshunt"],
"builtInWeapons":{
},
"weaponSlotChanges":{
"WS 000":{
"angle": 0,
"arc": 120,
"mount": "TURRET",
"size": "MEDIUM",
"type": "BALLISTIC"
},
"WS 001":{
"angle": 0,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "BALLISTIC"
},
"WS 002":{
"angle": 45,
"arc": 140,
"mount": "TURRET",
"size": "MEDIUM",
"type": "BALLISTIC"
},
"WS 003":{
"angle": -45,
"arc": 140,
"mount": "TURRET",
"size": "MEDIUM",
"type": "BALLISTIC"
},
"WS 004":{
"angle": 25,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "BALLISTIC"
},
"WS 005":{
"angle": -25,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "BALLISTIC"
},
"WS 006":{
"angle": 30,
"arc": 190,
"mount": "TURRET",
"size": "MEDIUM",
"type": "BALLISTIC"
},
"WS 007":{
"angle": -30,
"arc": 190,
"mount": "TURRET",
"size": "MEDIUM",
"type": "BALLISTIC"
}
}
}
74 changes: 74 additions & 0 deletions data/hulls/skins/ravelin_e.skin
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"baseHullId":"ravelin",
"skinHullId":"ravelin_e",
"hullName":"Ravelin Extreme(E)",
"systemId":"temporalshell",
"ordnancePoints": 250,
"restoreToBaseHull":false,
"spriteName":"graphics/ships/stations/ravelin2.png",
"removeWeaponSlots":[], # ids
"removeEngineSlots":[], # indices, as engine slots have no id in the .ship file
"removeBuiltInMods":[], # hullmod ids
"removeBuiltInWeapons":[], # weapon slot ids
"builtInMods":["no_weapon_flux", "advancedcore", "fluxshunt"],
"builtInWeapons":{
},
"weaponSlotChanges":{
"WS 000":{
"angle": 0,
"arc": 120,
"mount": "TURRET",
"size": "MEDIUM",
"type": "ENERGY"
},
"WS 001":{
"angle": 0,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "ENERGY"
},
"WS 002":{
"angle": 45,
"arc": 140,
"mount": "TURRET",
"size": "MEDIUM",
"type": "ENERGY"
},
"WS 003":{
"angle": -45,
"arc": 140,
"mount": "TURRET",
"size": "MEDIUM",
"type": "ENERGY"
},
"WS 004":{
"angle": 25,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "ENERGY"
},
"WS 005":{
"angle": -25,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "ENERGY"
},
"WS 006":{
"angle": 30,
"arc": 190,
"mount": "TURRET",
"size": "MEDIUM",
"type": "ENERGY"
},
"WS 007":{
"angle": -30,
"arc": 190,
"mount": "TURRET",
"size": "MEDIUM",
"type": "ENERGY"
}
}
}
74 changes: 74 additions & 0 deletions data/hulls/skins/ravelin_m.skin
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"baseHullId":"ravelin",
"skinHullId":"ravelin_m",
"hullName":"Ravelin Extreme(M)",
"systemId":"temporalshell",
"ordnancePoints": 250,
"restoreToBaseHull":false,
"spriteName":"graphics/ships/stations/ravelin2.png",
"removeWeaponSlots":[], # ids
"removeEngineSlots":[], # indices, as engine slots have no id in the .ship file
"removeBuiltInMods":[], # hullmod ids
"removeBuiltInWeapons":[], # weapon slot ids
"builtInMods":["no_weapon_flux", "missile_reload", "advancedcore", "fluxshunt"],
"builtInWeapons":{
},
"weaponSlotChanges":{
"WS 000":{
"angle": 0,
"arc": 120,
"mount": "TURRET",
"size": "MEDIUM",
"type": "MISSILE"
},
"WS 001":{
"angle": 0,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "MISSILE"
},
"WS 002":{
"angle": 45,
"arc": 140,
"mount": "TURRET",
"size": "MEDIUM",
"type": "MISSILE"
},
"WS 003":{
"angle": -45,
"arc": 140,
"mount": "TURRET",
"size": "MEDIUM",
"type": "MISSILE"
},
"WS 004":{
"angle": 25,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "MISSILE"
},
"WS 005":{
"angle": -25,
"arc": 360,
"mount": "TURRET",
"size": "LARGE",
"type": "MISSILE"
},
"WS 006":{
"angle": 30,
"arc": 190,
"mount": "TURRET",
"size": "MEDIUM",
"type": "MISSILE"
},
"WS 007":{
"angle": -30,
"arc": 190,
"mount": "TURRET",
"size": "MEDIUM",
"type": "MISSILE"
}
}
}
5 changes: 5 additions & 0 deletions data/world/factions/hegemony.faction
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"custom":{
"caresAboutAtrocities":false,
}
}
5 changes: 5 additions & 0 deletions data/world/factions/independent.faction
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"custom":{
"caresAboutAtrocities":false,
}
}
5 changes: 5 additions & 0 deletions data/world/factions/luddic_church.faction
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"custom":{
"caresAboutAtrocities":false,
}
}
5 changes: 5 additions & 0 deletions data/world/factions/persean_league.faction
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"custom":{
"caresAboutAtrocities":false,
}
}
8 changes: 8 additions & 0 deletions data/world/factions/pirates.faction
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"custom":{
"buysAICores":true,
"AICoreValueMult":0.5,
"AICoreRepMult":1.5,
"offersCommissions":true
}
}
Loading

0 comments on commit a311b47

Please sign in to comment.