-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP lore/worldbuilding/station lobby #5283
Draft
joonicks
wants to merge
11
commits into
pioneerspacesim:master
Choose a base branch
from
joonicks:lore
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
49348dd
it begins
joonicks bf062b7
more examples
joonicks 8864f02
nolanglore
joonicks ad4559b
starsystem subdirs & station name in filename
joonicks 21a4b97
keep world related files close together
joonicks 843d1c7
shipbay + 1
joonicks 37d6b32
textwrap
joonicks 5022d0a
station visuaID
joonicks 02f33b6
oopsie earth mars olympus mons
joonicks 5f04813
incremental changes
joonicks 58166b7
musk station
joonicks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"" : { | ||
"description" : "", | ||
"message" : "" | ||
}, | ||
"SOL_EARTH_LONDON" : { | ||
"description" : "", | ||
"message" : "Traditional center of civilization. Has recovered quite well after last centurys flooding disasters, although many of the cultural landmarks will never be restored to their former glory." | ||
}, | ||
"SOL_EARTH_MOSCOW" : { | ||
"description" : "", | ||
"message" : "Moscow Spaceflight museum is a must see! See how it all started, including an actual moon lander recovered from the moon! Beware of hawkers selling moon rocks for souvenirs, often buying a ticket to the moon is cheaper." | ||
}, | ||
"SOL_EARTH_SHANGHAI" : { | ||
"description" : "", | ||
"message" : "Industrial powerhouse of Earth. Dont forget your hazmat suit if you want to venture outside." | ||
}, | ||
"SOL_MARS_CYDONIA" : { | ||
"description" : "", | ||
"message" : "Home of the core systems champion gravball team, the Little Green Men." | ||
}, | ||
"SOL_MARS_OLYMPUS" : { | ||
"description" : "", | ||
"message" : "Dont forget to enjoy the longest ski slope within a hundred lightyears!" | ||
}, | ||
"SOL_MERCURY_CALORIS" : { | ||
"description" : "", | ||
"message" : "Located in Caloris Planitia, one of the largest impact craters in the system. Mercury being so close to the sun has lead to most things around here being named accordingly, 'Calor' even means 'heat' in latin and here there is a surplus of it. The almost unlimited solar power has been put to good use in the recycling business." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ local max_flavours = 22 | |
local startLocations = { | ||
{['name']=lui.START_AT_MARS, | ||
['desc']=lui.START_AT_MARS_DESC, | ||
['location']=SystemPath.New(0,0,0,0,18), | ||
['location']=SystemPath.New(0,0,0,0,22), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's an instance of '0,0,0,0,18' in /src/main.cpp also. For starting from the command line. |
||
['logmsg']=lui.START_LOG_ENTRY_1, | ||
['shipType']='sinonatrix',['money']=100,['hyperdrive']=true, | ||
['equipment']={ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
world/factions/<##_name>.lua | ||
|
||
Contains properties of factions | ||
|
||
## determines order of precedence when loading | ||
Name filename only. faction name is determined by contents of the file | ||
|
||
world/systems/<##_Name>.lua | ||
|
||
Contains manually created layouts of star systems | ||
|
||
## determines order of precedence when loading | ||
Name filename only. faction name is determined by contents of the file | ||
|
||
world/stations/<faction>.json | ||
world/stations/<system>.json | ||
world/stations/<system+station>.json | ||
world/stations/<system>/<station>.json | ||
|
||
Contains patch properties for individual stations. | ||
Faction is the first to be loaded, then system, then both (or either) system+station files. | ||
Any attribute in earlier files that reoccur in later loaded files will be overridden by the | ||
last loaded. For example, faction values can be overridden by specific station files. | ||
|
||
Stations Json format: | ||
{ | ||
"<PropertyName>" : { | ||
"value" : "<content>" | ||
}, | ||
... | ||
} | ||
|
||
Properties are passed to station:setprop(<PropertyName>, <content>) for all properties | ||
in SpaceStation:Constructor() (libs/SpaceStation.lua). | ||
If PropertyName contains other keys than "value", those are ignored. | ||
Safe to use "comment" for example. | ||
|
||
Recognized PropertyName's: | ||
|
||
techLevel Override stations randomly generated techLevel | ||
|
||
techModifier Alter the randomly generated techLevel by this number, up to a max of 10 or a minimum of 1 | ||
|
||
lore Use this key, translated from lang/lore/*.json, as station lore text | ||
|
||
nolanglore Use this text as-is, as station lore text | ||
overrides lore | ||
|
||
noCargoForSale (true/false) if present and not false, sets all cargo stocks except hydrogen | ||
to zero. cargo can still be sold. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"techLevel" : { | ||
"value" : "10" | ||
}, | ||
"lore" : { | ||
"value" : "SOL_MERCURY_CYDONIA" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"techLevel" : { | ||
"value" : "10" | ||
}, | ||
"lore" : { | ||
"value" : "SOL_MARS_CYDONIA" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lore" : { | ||
"value" : "SOL_EARTH_LONDON" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lore" : { | ||
"value" : "SOL_EARTH_MOSCOW" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lore" : { | ||
"value" : "SOL_MARS_OLYMPUS" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lore" : { | ||
"value" : "SOL_EARTH_SHANGHAI" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"techModifier" : { | ||
"comment" : "added to the techLevel of all Solar Federation stations, up to 10 max", | ||
"value" : "1" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice idea! Is the "out of bays" part necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know but see the diff, how many bays there are in the station was all there was before, I only added the shipbay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, then I realized that you replace the line, not adding another about the pads. Sorry