Skip to content

Commit

Permalink
Social Network Randomization (#9)
Browse files Browse the repository at this point in the history
* Add Social Network settings and data in TextBundle

* Social Network randomization first pass

* Added tooltips for Social Network

* Logging for Skills

* Bump version to 0.5
  • Loading branch information
SaltContainer authored Nov 6, 2024
1 parent 65a8f61 commit 7f75fee
Show file tree
Hide file tree
Showing 37 changed files with 5,178 additions and 174 deletions.
17 changes: 15 additions & 2 deletions NEO-TWEWY-Randomizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Icons\ID001_NoBrand.ico</ApplicationIcon>
<AssemblyVersion>0.4.0</AssemblyVersion>
<FileVersion>0.4.0</FileVersion>
<AssemblyVersion>0.5.0</AssemblyVersion>
<FileVersion>0.5.0</FileVersion>
<Authors>SaltContainer</Authors>
</PropertyGroup>
<ItemGroup>
Expand All @@ -57,4 +57,17 @@
<PackageReference Include="AssetsTools.NET" Version="3.0.0" />
<PackageReference Include="Mono.Cecil" Version="0.10.4" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>
137 changes: 113 additions & 24 deletions Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,58 @@ Make all pins have a specific growth speed.</value>
Don't change the growth speed of any pin.</value>
<comment>Pin Growth Unchanged</comment>
</data>
<data name="ttradioSkillCostRandom" xml:space="preserve">
<value> Random Skill Costs
Make each skill cost a new random amount with a fixed overall total.
This total is currently set to the vanilla total of 159 FP.</value>
<comment>Social Network Skill Costs Random Fixed Total</comment>
</data>
<data name="ttradioSkillCostShuffle" xml:space="preserve">
<value> Shuffled Skill Costs
Take the full vanilla set of skill costs, and randomize which skill each cost is associated with.</value>
<comment>Social Network Skill Costs Shuffle</comment>
</data>
<data name="ttradioSkillCostUnchanged" xml:space="preserve">
<value> Unchanged Skill Costs
Don't change the cost of skills.</value>
<comment>Social Network Skill Costs Unchanged</comment>
</data>
<data name="ttradioSkillRewardRandomC" xml:space="preserve">
<value> Random (Completely) Skill Item Rewards
Make each skill item reward a new random item with no other limitations.
Those items can only be limited pins or threads.
Only skills with an item reward in vanilla are affected.</value>
<comment>Social Network Item Rewards Random Completely</comment>
</data>
<data name="ttradioSkillRewardRandomS" xml:space="preserve">
<value> Random (Same Type) Skill Item Rewards
Make each skill item reward a new random item of the same type.
Limited pins will become limited pins and threads will become threads.
Only skills with an item reward in vanilla are affected.</value>
<comment>Social Network Item Rewards Random Same Type</comment>
</data>
<data name="ttradioSkillRewardShuffle" xml:space="preserve">
<value> Shuffled Skill Item Rewards
Take the full vanilla set of skill item rewards, and randomize which skill each reward is associated with.
Only skills with an item reward in vanilla are affected.</value>
<comment>Social Network Item Rewards Shuffle</comment>
</data>
<data name="ttradioSkillRewardUnchanged" xml:space="preserve">
<value> Unchanged Skill Item Rewards
Don't change the item rewards from skills.</value>
<comment>Social Network Item Rewards Unchanged</comment>
</data>
<data name="ttradioSkillShuffleShuffle" xml:space="preserve">
<value> Shuffled Skill Locations
Take the full set of skills/item rewards, and randomize where each is received in the social network.
This is applied after the randomization of all skill costs and item rewards.</value>
<comment>Social Network Skill Location Shuffling Shuffle</comment>
</data>
<data name="ttradioSkillShuffleUnchanged" xml:space="preserve">
<value> Unchanged Skill Locations
Don't change where each skill/item reward is received in the social network.</value>
<comment>Social Network Skill Location Shuffling Unchanged</comment>
</data>
<data name="ttradioStoryFPRandom" xml:space="preserve">
<value> Random Friendship Point Story Rewards
Make each amount of FP received as a story reward a new random amount with a fixed overall total.
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ I am not aware on how to mod games on the PS4. There are likely tutorials online
- Power, Limit, Reboot, Boot, Recover, Charge, Sell Price, Affinity, Max Level, Brand, Uber Status, Ability, Growth Speed, and Evolution are all data that can be randomized.
- Most stats have predetermined ranges that cannot be edited at this time.
- Character-specific evolutions can be removed.
- Random Social Network Rewards
- Rewards obtained from the Social Network can be shuffled.
- Item rewards can be randomized, to an item of the same type or not.
- The cost of every reward can be either shuffled or randomized to have a set total (currently always 159).

### Planned
- Shuffled Social Network Rewards
- Random Thread Stats
- Random Shops
- Random Noise Encounters
Expand Down
60 changes: 60 additions & 0 deletions Randomizer/Data/Data/Enums/AllBoardLabel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
namespace NEO_TWEWY_Randomizer
{
public enum AllBoardLabel : int
{
Board_w1d0 = 100,
Board_w1d1 = 110,
Board_w1d2 = 120,
Board_w1d3 = 130,
Board_w1d4 = 140,
Board_w1d5 = 150,
Board_w1d6 = 160,
Board_w1d7 = 170,
Board_w2d1 = 210,
Board_w2d2 = 220,
Board_w2d3 = 230,
Board_w2d4 = 240,
Board_w2d5 = 250,
Board_w2d6 = 260,
Board_w2d7 = 270,
Board_w3d1 = 310,
Board_w3d2 = 320,
Board_w3d3 = 330,
Board_w3d4 = 340,
Board_w3d5 = 350,
Board_w3d6 = 360,
Board_w3d7 = 370,
Board_w3d8 = 380,
Board_w3d9 = 390,
Board_w4d1 = 410,
Board_sub01 = 1010,
Board_sub02 = 1020,
Board_sub03 = 1030,
Board_sub04 = 1040,
Board_sub05 = 1050,
Board_sub06 = 1060,
Board_sub07 = 1070,
Board_sub08 = 1080,
Board_sub09 = 1090,
Board_sub10 = 1100,
Board_sub11 = 1110,
Board_sub12 = 1120,
Board_sub13 = 1130,
Board_sub14 = 1140,
Board_sub15 = 1150,
Board_sub16 = 1160,
Board_sub17 = 1170,
Board_sub18 = 1180,
Board_sub29 = 1290,
Board_sub30 = 1300,
Board_sub31 = 1310,
Board_sub32 = 1320,
Board_sub33 = 1330,
Board_sub34 = 1340,
Board_sub35 = 1350,
Board_sub36 = 1360,
Board_sub37 = 1370,
Board_sub38 = 1380,
Invalid = -1,
}
}
32 changes: 32 additions & 0 deletions Randomizer/Data/Data/Enums/DayInfoLabel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
namespace NEO_TWEWY_Randomizer
{
public enum DayInfoLabel : int
{
Day_w1d0 = 0,
Day_w1d1 = 1,
Day_w1d2 = 2,
Day_w1d3 = 3,
Day_w1d4 = 4,
Day_w1d5 = 5,
Day_w1d6 = 6,
Day_w1d7 = 7,
Day_w2d1 = 8,
Day_w2d2 = 9,
Day_w2d3 = 10,
Day_w2d4 = 11,
Day_w2d5 = 12,
Day_w2d6 = 13,
Day_w2d7 = 14,
Day_w3d1 = 15,
Day_w3d2 = 16,
Day_w3d3 = 17,
Day_w3d4 = 18,
Day_w3d5 = 19,
Day_w3d6 = 20,
Day_w3d7 = 21,
Day_w3d8 = 22,
Day_w3d9 = 23,
Day_w4d1 = 24,
Invalid = -1,
}
}
Loading

0 comments on commit 7f75fee

Please sign in to comment.