Skip to content

Commit

Permalink
Add and update data (#23)
Browse files Browse the repository at this point in the history
* chore: add vscode-edit-csv plugin to dev container

* fix: fix fetching id by full name also when there is no last name

* feat: add military academies data

* data: update data

* chore: update data parser to map character full name to character id

* fix: add missing param (id) to /story/plots/{id} path
  • Loading branch information
5annaha authored Apr 22, 2024
1 parent 3573e99 commit 8c92703
Show file tree
Hide file tree
Showing 12 changed files with 4,092 additions and 1,906 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"janisdd.vscode-edit-csv"
],
"settings": {
"dev.containers.copyGitConfig": true,
Expand Down
7 changes: 3 additions & 4 deletions db/data/artifacts.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
catalog_id,name,discovered_at,discovered_by,discovered_from,type,text,entry,gm_notes,is_visible
EL-QV57-1,Power source,541.295,Remy Hall,P-TE96-QV57,Elder,"Large sylinder-like object made from unknown metal with five half-spheres.

![](http://192.168.1.2/images/el-qv57-1.jpg)","542 Artifact EL-QV57-1 has suddenly started showing organic activity and seems to be rapidly growing. There are multiple theories that specific type of genetic mutation would be required to activate and operate Elder originated artifacts and the team has been working on confirming the theory and isolating the gene type.

541 Team was able to strain the organic growth of the artifact EL-QV57-1 and have determined that the artifact is some form of organic powersource that grows around the generator and is able to produce immense amounts of energy for very long periods of time.    ",,TRUE
![](http://192.168.1.2/images/el-qv57-1.jpg)","541 Team was able to strain the organic growth of the artifact EL-QV57-1 and have determined that the artifact is some form of organic powersource that grows around the generator and is able to produce immense amounts of energy for very long periods of time.
542 Artifact EL-QV57-1 has suddenly started showing organic activity and seems to be rapidly growing. There are multiple theories that specific type of genetic mutation would be required to activate and operate Elder originated artifacts and the team has been working on confirming the theory and isolating the gene type.",,TRUE
EL-QV57-2,Unknown,541.303,Remy Hall,P-TE96-QV57,Elder,"Short, tube-like metal object with a loose connector at one end.

![](http://192.168.1.2/images/el-qv57-2.jpg)",,,TRUE
Expand Down Expand Up @@ -66,7 +65,7 @@ MACH-24,Machine Drone,442.134,Reloz Duran,P-OC65-OY50,Machine,"**Machine Drone**
Machine Drones are human sized metallic constructs which are controlled by machine commander. The distinct feature is a red light in the forehead. They are extremely durable and resilient to gunfire and blunt force.

![](http://192.168.1.2/images/machine-drone.jpg)",,,TRUE
BEACON-1,Beacon 1,542.,Velians,Alpha-5-D2-100-P-DE47-HC55 ,Earth,A box with a lock and covered with special symbols.,,,FALSE
BEACON-1,Beacon 1,542.,Velians,Alpha-5-D2-100-P-DE47-HC55,Earth,A box with a lock and covered with special symbols.,,,FALSE
BEACON-2,Beacon 2,542.,ESS Odysseus Alpha Team,Alpha-5-C1-82-P-TE49-HE75,Earth,A box with a lock and covered with special symbols.,,,FALSE
BEACON-3,Beacon 3,542.,ESS Odysseus Beta Team,Alpha-1-B1-49-P-CA95-LN71,Earth,A box with a lock and covered with special symbols.,,,FALSE
BEACON-4,Beacon 4,542.,ESS Odysseus Alpha Team,Beta-4-B8-63-P-OC46-DA97,Earth,A box with a lock and covered with special symbols.,,,FALSE
Expand Down
225 changes: 113 additions & 112 deletions db/data/blood-test-results.csv

Large diffs are not rendered by default.

5,240 changes: 3,520 additions & 1,720 deletions db/data/characters.csv

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions db/data/events.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ id,name,character_groups,character_ids,artifact_ids,size,importance,dmx_event_nu
16,Jump 16,"Bridge Crew, Engineers",,,Medium,Mandatory,,Jump,Jump actions,15,TRUE,Not Done,Fleet Comms & EE,2,Odysseus runs away from the Machines,Empty Epsilon NPC: Before jump - Normal stuff,
17,Jump 17,"Bridge Crew, Engineers",,,Medium,Mandatory,,Jump,Jump actions,16,TRUE,Not Done,Fleet Comms & EE,2,Odysseus runs away from the Machines,Empty Epsilon NPC: Before jump - Normal stuff,
18,Jump 18,"Bridge Crew, Engineers",,,Medium,Mandatory,,Jump,Jump actions,17,TRUE,Not Done,Fleet Comms & EE,2,Odysseus runs away from the Machines,Empty Epsilon NPC: Before jump - Major attack,
19,LM 1 - Research pick up,"Marines, Scientists","20014, 20015",,Large,Mandatory,,Land Mission,Briefing NPCs,1,TRUE,Not Done,Mission,,Odysseus picks up 2 researchers from Solaris hopefully before they are out of air,,Possibility to send a message from Research station and then open text comms and later on voice comms to Odysseus
20,LM 2 - Velian pick up,"Marines, Scientists, Velians","20128, 20130, 20028, 20025, 20022, 20113, 20131, 20024, 20026, 20132, 20133, 20129, 20134, 20386, 20023 ",BEACON-1,Large,Mandatory,,Land Mission,Briefing NPCs,3,TRUE,Not Done,Mission,2,"Velians sends a distress signal.
19,LM 1 - Research pick up,"Marines, Scientists","Evin Reid, Gallan Reid",,Large,Mandatory,,Land Mission,Briefing NPCs,1,TRUE,Not Done,Mission,,Odysseus picks up 2 researchers from Solaris hopefully before they are out of air,,Possibility to send a message from Research station and then open text comms and later on voice comms to Odysseus
20,LM 2 - Velian pick up,"Marines, Scientists, Velians","Xavier Blake, Alia Swanson, Zyra Lee, Malak Kovalenko, Roan Rowen, Tristan Fukui, Flann Hollow, Lane Thomas, Nicol Wells, Ballard Case, Hali Okuma, Eugenie Russell, Karin Alexandrov, The Guardian, Jardan, Taelor, Aedan, Saria, Zaera, Mael, Keana, Tarai, Anix, Nayel, Naethan, Jaeco, Briya",BEACON-1,Large,Mandatory,,Land Mission,Briefing NPCs,3,TRUE,Not Done,Mission,2,"Velians sends a distress signal.
Odysseus picks up Velian survivors from Velian.",2 Velian NPCs die during the Velian resque event,Velians will send a distress signal and this also activates the beacon on the map and then opens text comms and later on voice comms to Odysseus
21,LM 3 - Rebels,"Marines, Scientists",,BEACON-2,Large,Mandatory,,Land Mission,Briefing NPCs,6,TRUE,Not Done,Mission,,,,
22,LM 4 - Alien worm,"Marines, Scientists",,BEACON-3,Large,Mandatory,,Land Mission,Briefing NPCs,8,TRUE,Not Done,Mission,,,,
Expand All @@ -27,11 +27,11 @@ Odysseus picks up Velian survivors from Velian.",2 Velian NPCs die during the Ve
25,LM 7 - Radiation,"Marines, Scientists",,BEACON-6,Large,Mandatory,,Land Mission,Briefing NPCs,14,TRUE,Not Done,Mission,,,,
26,LM 8 - Earth outpost,"Marines, Scientists",,,Large,Mandatory,,Land Mission,Briefing NPCs,15,TRUE,Not Done,Mission,,,,
27,LM 9 - Shadow beasts,"Marines, Scientists",,,Large,Mandatory,,Land Mission,Briefing NPCs,17,TRUE,Not Done,Mission,,,,
28,ESS Harbinger - Mutiny,"Bridge Crew, Criminals, Engineers, Politics, Security, Armory","20077, 20000, 20044, 20046, 20045, 20066, 20065, 20122, 20092",,Large,Should have,,Political,NPC,,FALSE,Not Done,Odysseus,6,ESS Harbinger is the first ship where the marshal law is overrun by a mutiny. All the commanders and some of the military personel are cast out from the ESS Harbinger to a small vessel which is uncapable to jump. Now the fleet needs to decide who would take them in before the next jump or will they be left behind. Here is a chance that Odysseus will take them in since there will be on board some of the people known in the Odysseus like the captain of the ESS Harbinger Mark Bolton is the father of Amir Bolton Chief Engineer. ,,"Criminals should get a shipment with the resqued.
28,ESS Harbinger - Mutiny,"Bridge Crew, Criminals, Engineers, Politics, Security, Armory","Amir Bolton, Mark Bolton, Jill Montoya, Gira Hayakawa, Isha Hayakawa, Lane Hayakawa, Lane Thomas, Shae Thomas, Hedly Walker",,Large,Should have,,Political,NPC,,FALSE,Not Done,Odysseus,6,"ESS Harbinger is the first ship where the marshal law is overrun by a mutiny. All the commanders and some of the military personel are cast out from the ESS Harbinger to a small vessel which is uncapable to jump. Now the fleet needs to decide who would take them in before the next jump or will they be left behind. Here is a chance that Odysseus will take them in since there will be on board some of the people known in the Odysseus like the captain of the ESS Harbinger Mark Bolton is the father of Amir Bolton Chief Engineer. ",,"Criminals should get a shipment with the resqued.
Mutinees has give the people they are throwing out time to send letters to their loved ones
The ones on the vessel: Mark Bolton, Gira Hayakawa"
29,Tristan Fukui - Suicide,,20062,,Large,Mandatory,,Plot related,Briefing Character,11,TRUE,Not Done,,0,Tristan Fukui jumps out from the airlock,,Tristan Fukui makes a suicide but comes back
30,Tristan Fukui - Comes back as Cherry,"Bridge Crew, Criminals, Engineers, Politics, Security",20062,,Large,Mandatory,,Plot related,Briefing Character,,TRUE,Not Done,,0,"Tristan Fukui comes back with a enemy fighter and makes Cherry's Barrel Roll so they would be recognized as ""friend"".",,"Brief Character before comeback as follows:
29,Tristan Fukui - Suicide,,Tristan Fukui,,Large,Mandatory,,Plot related,Briefing Character,11,TRUE,Not Done,,0,Tristan Fukui jumps out from the airlock,,Tristan Fukui makes a suicide but comes back
30,Tristan Fukui - Comes back as Cherry,"Bridge Crew, Criminals, Engineers, Politics, Security","Tristan Fukui, Amir Bolton",,Large,Mandatory,,Plot related,Briefing Character,,TRUE,Not Done,,0,"Tristan Fukui comes back with a enemy fighter and makes Cherry's Barrel Roll so they would be recognized as ""friend"".",,"Brief Character before comeback as follows:
Add instructions here"
31,Gas leak/explosion,"Engineers, Medics",20026,,Medium,Should have,162,Hazard,DMX event,18,TRUE,Not Done,,0,Random Gas leak / explosion because Odysseus is starting to break (engineers didn't fix the ship well enouhg),,"Needs DMX event fired.
31,Gas leak/explosion,"Engineers, Medics",,,Medium,Should have,162,Hazard,DMX event,18,TRUE,Not Done,,0,Random Gas leak / explosion because Odysseus is starting to break (engineers didn't fix the ship well enouhg),,"Needs DMX event fired.
Character death: Naethan injured -> later die"
12 changes: 6 additions & 6 deletions db/data/messages.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id,name,sender_character_id,reciever_character_ids,plot_ids,event_ids,type,after_jump,locked,sent,message,gm_notes
1,"""Good you are alive"" - Message from Mark Bolton to Amir",20000,20077,2,,Text NPC,4,FALSE,Not yet,I see from the records that you are alive. Good. Stay safe.,"If Amir sends the first message, ignore this message and anwser how Mark Bolton would. See plot for more information."
2,"""I'm sorry"" - Message from Mark Bolton to Amir",20000,20077,"2, 3","1, 28",Text NPC,,FALSE,Not yet,"My Dearest Amir,
id,name,sender_character_id,receiver_character_ids,plot_ids,event_ids,type,after_jump,locked,sent,message,gm_notes
1,"""Good you are alive"" - Message from Mark Bolton to Amir",Mark Bolton,Amir Bolton,2,,Text NPC,4,FALSE,Not yet,I see from the records that you are alive. Good. Stay safe.,"If Amir sends the first message, ignore this message and anwser how Mark Bolton would. See plot for more information."
2,"""I'm sorry"" - Message from Mark Bolton to Amir",Mark Bolton,Amir Bolton,"2, 3","1, 28",Text NPC,,FALSE,Not yet,"My Dearest Amir,
As I pen down these words, I am burdened with the weight of regret and the realization that time slips through our fingers like sand. There are moments in life when we confront our failings, and this is one such moment for me.
I must start by saying how sorry I am—sorry for not being there when you needed me, sorry for the silence that echoed in response to your messages during Delta's passing. The loss of your sister, a beacon of light in our lives, was a tragedy that reverberated through the very core of our family.
Seeing you across the star system, grieving and isolated, stirred a pain I cannot easily express. Your choice to face that harsh reality alone while I remained distant is a regret I carry heavily. The burden of my responsibilities, the expectations that I unknowingly placed upon you, became a barrier when you needed a father's support the most.
Expand All @@ -12,7 +12,7 @@ I hope you can find it within yourself to forgive a flawed father, and I pray th
With heartfelt apologies and enduring love,
Mark Bolton
PS. Jill Montoya is your sibling. Take good care of them.",Should be sent after the ESS Harbinger Mutiny starts
3,"""I'm your father"" - Message from Mark Bolton to Jill Montoya",20000,20044,2,28,Text NPC,,FALSE,Not yet,"Dear Jill,
3,"""I'm your father"" - Message from Mark Bolton to Jill Montoya",Mark Bolton,Jill Montoya,2,28,Text NPC,,FALSE,Not yet,"Dear Jill,
I hope this letter finds you well amidst the vastness of space and the challenges you face on the ESS Odysseus. There comes a time when secrets must be unveiled, and truths shared. It is with a mix of emotions—regret, longing, and immense pride—that I pen down these words.
In the shadows of the past, where the threads of our lives were woven, you emerged as the beautiful consequence of a brief affair between Qwen Montoya and me. Jill, you are my daughter, and though circumstances forced me to keep this revelation concealed, the time has come for you to know the truth.
I understand the complexity of emotions that may surge within you upon learning this, and I apologize for the pain my silence may have caused. Life has a way of steering us down unexpected paths, and in my misguided attempt to protect you and my own standing, I made choices that shaped our journey.
Expand All @@ -28,7 +28,7 @@ Star Captain",Should be sent right after the ESS Harbinger Mutiny starts
7,Long range anomaly detected,,,,,Ship Log - Warning,,FALSE,Repeatable,Long range anomaly detected. Possible incoming jump into current sector.,Should be posted before every jump
8,Solaris distress message,,,,19,Ship Log - Warning,0,TRUE,Not yet,,
9,Velian distress message,,,,20,Ship Log - Warning,1,TRUE,Not yet,Received a distress signal from area Alpha-5-D2-100: [Velians will write their own message],This also activates the beacon on the map
10,Calculations about alien artifact,20263,"20001, 20074",5,,EVA,3,FALSE,Not yet,"Pre calculations done
10,Calculations about alien artifact,EVA (Easy Virtual Assistant),"Vane Hodge, Nikita Watson",5,,EVA,3,FALSE,Not yet,"Pre calculations done

Before safe integration to ship systems can be made the following information needs to be gathered from the scientists:
- Scientists should find out what was it in the blood that triggered the artifact
Expand All @@ -41,5 +41,5 @@ Engineers should do the following transformations:
Please send me a message after you have acquired the above information for further instructions.

[Offgame: You or the engineers should improvise the transformations listed above for the artifact using the spare parts given to engineers. The engineering transformation and science calculations should take at least one day before the artifact can be attached to Odysseus. Please send a verification message with the info what you have done to the artifact to EVA before trying to attach the artifact. For more info ask GM:s.]",Send the message after 3rd jump. The next message should let them insert the artifact into the ship systems and after calibration time add extra calibration slot.
11,Security footage who were in the science lab when the alien artifract went missing,20263,20381,5,,EVA,0,FALSE,Not yet,"Security footage shows that the persons who visited Science lab at the time the alien artifact went missing are:
11,Security footage who were in the science lab when the alien artifract went missing,EVA (Easy Virtual Assistant),ESS Odysseus Security,5,,EVA,0,FALSE,Not yet,"Security footage shows that the persons who visited Science lab at the time the alien artifact went missing are:
Ismy Arima, Eli Booth, Gene Hawkins, Vane Hodge, Nikita Watson, Dayle Rogers, and Leigh Kent",Send if security asks EVA who visited in the science lab when the alien artifact went missing
Loading

0 comments on commit 8c92703

Please sign in to comment.