Skip to content

Commit

Permalink
[Unsettling] Fix bugs in content patcher files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonqora committed Sep 23, 2020
1 parent 6583351 commit cf55d98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions UnsettlingDescriptions/assets/i18n/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"LogName": "Edit BigCraftablesInformation descriptions",
"Action": "EditData",
"Target": "Strings/BigCraftablesInformation",
"Target": "Data/BigCraftablesInformation",
"Fields": {
"0": {
"4": "The small flower buds have a sweet, heady aroma."
Expand Down Expand Up @@ -328,7 +328,7 @@
{
"LogName": "Edit Blueprints descriptions",
"Action": "EditData",
"Target": "Strings/Blueprints",
"Target": "Data/Blueprints",
"Fields": {
"Silo": {
"9": "Stores dead organisms to feed your livestock."
Expand Down Expand Up @@ -356,7 +356,7 @@
{
"LogName": "Edit Boots descriptions",
"Action": "EditData",
"Target": "Strings/Boots",
"Target": "Data/Boots",
"Fields": {
"504": {
"1": "Stylish, but they lack traction on muddy, slimy, or bloody surfaces."
Expand Down Expand Up @@ -402,7 +402,7 @@
{
"LogName": "Edit ClothingInformation descriptions",
"Action": "EditData",
"Target": "Strings/ClothingInformation",
"Target": "Data/ClothingInformation",
"Entries": {
"1105": "Shirt/Shirt/A wearable shirt./0/-1/50/255 255 255/false/Shirt"
},
Expand Down Expand Up @@ -529,7 +529,7 @@
{
"LogName": "Edit hats descriptions",
"Action": "EditData",
"Target": "Strings/hats",
"Target": "Data/hats",
"Fields": {
"0": {
"1": "There's a small, round hole torn out of the brim."
Expand Down Expand Up @@ -623,7 +623,7 @@
{
"LogName": "Edit ObjectInformation descriptions",
"Action": "EditData",
"Target": "Strings/ObjectInformation",
"Target": "Data/ObjectInformation",
"Fields": {
"16": {
"5": "A hotly pungent, fleshy root. Crushing or grinding it releases the flavor and heat."
Expand Down Expand Up @@ -2232,7 +2232,7 @@
{
"LogName": "Edit weapons descriptions",
"Action": "EditData",
"Target": "Strings/weapons",
"Target": "Data/weapons",
"Fields": {
"0": {
"1": "Bestows tetanus on your enemies. And on you, if you're not careful."
Expand Down
2 changes: 1 addition & 1 deletion UnsettlingDescriptions/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"Action": "Include",
"FromFile": "assets/i18n/default.json",
"When": {
"HasFile:i18n/{{language}}.json": false
"HasFile:assets/i18n/{{language}}.json": false
}
},
//OTHER LANGUAGES
Expand Down
2 changes: 1 addition & 1 deletion UnsettlingDescriptions/scripts/csv2CP.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

new_patch["LogName"] = "Edit " + target_name + " descriptions"
new_patch["Action"] = "EditData"
new_patch["Target"] = "Strings/" + target_name
new_patch["Target"] = "Data/" + target_name

# Check if this filled csv file exists
if not os.path.isfile('csv_filled/Unsettling Item Descriptions - ' + target_name + '.csv'):
Expand Down

0 comments on commit cf55d98

Please sign in to comment.