Skip to content

Commit

Permalink
Release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NeDether committed Jan 3, 2024
1 parent 66b9587 commit c5dac32
Show file tree
Hide file tree
Showing 50 changed files with 766 additions and 17 deletions.
6 changes: 3 additions & 3 deletions FabricatorSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,13 @@ void FabricatorSystem::RenderRecipies(uint32_t cat)
if (App::Property::GetKey(sillyPropList.get(), 0x3068D95C, imgKey))
{
if (catText) {
App::ConsolePrintF("cat name exists");
//App::ConsolePrintF("cat name exists");
if (cat == zurg.Cat) {
LocalizedString silly;
App::ConsolePrintF("found the hash of the icon tool.");
//App::ConsolePrintF("found the hash of the icon tool.");
if (App::Property::GetText(sillyPropList.get(), 0x3068D95D, silly))
{
App::ConsolePrintF("found the text of the icon tool.");
//App::ConsolePrintF("found the text of the icon tool.");
//Gets spaceToolDescription of the item.

string16 products;
Expand Down
10 changes: 7 additions & 3 deletions InjectCategories.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ bool InjectCategories::InjectCategory(char16_t* grug)

if (hasInjectedCategory)
{ // never inject twice
return true;
//HAHA GET FIXED BOOIIIIIi
// return true;
}


Expand All @@ -93,16 +94,18 @@ bool InjectCategories::InjectCategory(char16_t* grug)
{
return false;
}

// add resource keys to vector
resourceKeysVector.clear();
for (size_t i = 0; i < resourceKeysCount; i++)
{

resourceKeysVector.push_back(resourceKeys[i]);
}

// attempt to retrieve resource key of the categories
if (!ResourceKey::Parse(moderatorCategoryResourceKey, grug))
{
{
return false;
}

Expand All @@ -112,5 +115,6 @@ bool InjectCategories::InjectCategory(char16_t* grug)
// change the property with the injected category
property->SetArrayKey(resourceKeysVector.data(), resourceKeysVector.size());
hasInjectedCategory = true;
resourceKeysVector.clear();
return true;
}
21 changes: 17 additions & 4 deletions ModInfo.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<mod displayName="Rattler SPORE" unique="RattlerSPORE" description="A Space Stage overhaul mod for SPORE. Aimed to make the game loop in Space more enjoyable by incorperating modern game elements such as resource gathering, and crafting. Serves as the basis for many potential add-ons." installerSystemVersion="1.0.1.2" hasCustomInstaller="true" isExperimental="true" dllsBuild="2.5.290">
<component unique="RattlerCore" displayName="Rattler SPORE Industry Core" description="The core components of RattlerSPORE, contains mineral tiers 1-3. If you do not prefer most of the overhaul elements, but wish to keep the mining. Only install this. Otherwise, select to your heart's content!" game="GalacticAdventures" defaultChecked="true">RattlerSpore.package</component>
<prerequisite>RattlerSpore.dll</prerequisite>
<remove>RattlerSpore.dll</remove>
<mod displayName="Rattler SPORE" unique="RattlerSPORE" description="A Space Stage overhaul mod for SPORE. Aimed to make the game loop in Space more enjoyable by incorperating modern game elements such as resource gathering, crafting and brand new achievements. Serves as the basis for many potential add-ons." installerSystemVersion="1.0.1.2" hasCustomInstaller="true" isExperimental="false" dllsBuild="2.5.290">
<remove>RattlerSpore.dll</remove>
<remove>Rattler!RecipesCasual.package</remove>
<remove>Rattler!RecipesNormal.package</remove>
<remove>Rattler!RecipesGrindy.package</remove>
<remove>RattlerSpore.package</remove>

<component unique="RattlerCore" displayName="Rattler SPORE Industry Core" description="The core components of RattlerSPORE, contains mineral tiers 1-3. If you do not prefer most of the overhaul elements, but wish to keep the mining. Only install this. Otherwise, select to your heart's content!" game="GalacticAdventures" defaultChecked="true">RattlerSpore.package</component>

<componentGroup unique="toolRecip" displayName="Core Recipe Addons">
<component unique="CasualTools" displayName="Casual Tool Recipes" description="This difficulty is for more casual players of SPORE. The recipe prices are half off." game="GalacticAdventures" defaultChecked="false">Rattler!RecipesCasual.package</component>
<component unique="NormalTools" displayName="Normal Tool Recipes" description="The intended difficulty of RattlerSPORE. Is a tad grindy." game="GalacticAdventures" defaultChecked="true">Rattler!RecipesNormal.package</component>
<component unique="GrindyTools" displayName="Grindy Tool Recipes" description="Doubles the prices of all recipes, making the mod even more grindy. WARNING: DO NOT USE UNLESS YOU HAVE A MOD THAT ALLOWS YOU TO CARRY MORE THAN 99 SPICE." game="GalacticAdventures" defaultChecked="false">Rattler!RecipesGrindy.package</component>
</componentGroup>

<prerequisite>RattlerSpore.dll</prerequisite>

</mod>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This is a mod for SPORE that adds a whole new line of progression as well as new
## Credits
* Chocoice75 : Heavy reference usage from [Solar Spore](https://github.com/VanillaCold/Spore-SolarSpore) code.
* [game-icons.net](https://game-icons.net/) : Provided base icons used for tools in which I modified.
* Rosalie : .prop injection source code.
## Special Thanks!
* 0KepOnline : Assistance
* Chocice75 : Assistance
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
key feedListItemIconKey graphics_misc_2~!feedlisticon_hammer.png
keys feedListItemKeyList
newline

end
texts feedListItemName
(rattlermenu!0x00000002) "casual"
end
key feedListItemType FeedItemMessage
6 changes: 3 additions & 3 deletions SMFX/RattlerRecipesCasual/config.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#Tue Jan 02 02:51:52 EST 2024
lastTimeUsed=1704181444275
#Tue Jan 02 21:33:17 EST 2024
lastTimeUsed=1704249188672
isReadOnly=false
sources="RattlerSpore"
packPathType=GALACTIC_ADVENTURES
packageName=\!RattlerRecipesCasual.package
packageName=Rattler\!RecipesCasual.package
embeddedEditorPackages=None
showOnlyModded=false
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
key feedListItemIconKey graphics_misc_2~!feedlisticon_hammer.png
keys feedListItemKeyList
newline

end
texts feedListItemName
(rattlermenu!0x00000004) "Grindy Tools"
end
key feedListItemType FeedItemMessage
23 changes: 23 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/CreatureCreate.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uint32 Recipe hash(CreatureCreate)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_mat_crude)
hash(spice_mat_obsidian)
hash(spice_drt_sulphide)
hash(spice_mat_gold)
end

uint32s IngCount #A vector Of the amount of materials it needs.
100
20
40
60
end

uint32 productAmount 3 #Amount of items this pops out.
uint32 Catagory hash(tool_category) #catagory in

bool SecretRecip false
23 changes: 23 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/CreatureEdit.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uint32 Recipe hash(CreatureEdit)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_mat_crude)
hash(spice_mat_obsidian)
hash(spice_drt_sulphide)
hash(spice_mat_gold)
end

uint32s IngCount #A vector Of the amount of materials it needs.
60
10
20
40
end

uint32 productAmount 3 #Amount of items this pops out.
uint32 Catagory hash(tool_category) #catagory in

bool SecretRecip false
21 changes: 21 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/Planetscan.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uint32 Recipe hash(Planetscan)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_mat_crude)
hash(spice_mat_obsidian)
hash(spice_mat_nvidium)
end

uint32s IngCount #A vector Of the amount of materials it needs.
40
10
5
end

uint32 productAmount 5 #Amount of items this pops out.
uint32 Catagory hash(tool_category) #catagory in

bool SecretRecip false
21 changes: 21 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/antimatterbomb.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uint32 Recipe hash(antimatterbomb)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_mat_zurg)
hash(spice_mat_uranium)
hash(spice_mat_lithium)
end

uint32s IngCount #A vector Of the amount of materials it needs.
10
40
100
end

uint32 productAmount 3 #Amount of items this pops out.
uint32 Catagory hash(combat_category) #catagory in

bool SecretRecip false
21 changes: 21 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/antimattermissile.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uint32 Recipe hash(antimattermissile)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_mat_zurg)
hash(spice_mat_uranium)
hash(spice_mat_cobalt)
end

uint32s IngCount #A vector Of the amount of materials it needs.
10
40
100
end

uint32 productAmount 5 #Amount of items this pops out.
uint32 Catagory hash(combat_category) #catagory in

bool SecretRecip false
21 changes: 21 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/aoe_repair.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uint32 Recipe hash(aoe_repair)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_mat_serenidite)
hash(spice_mat_cobalt)
hash(spice_mat_titanium)
end

uint32s IngCount #A vector Of the amount of materials it needs.
20
80
150
end

uint32 productAmount 2 #Amount of items this pops out.
uint32 Catagory hash(combat_category) #catagory in

bool SecretRecip false
21 changes: 21 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/asteroid.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uint32 Recipe hash(asteroid)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe. Currently unused
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_drt_kamacite)
hash(spice_drt_silica)
end

uint32s IngCount #A vector Of the amount of materials it needs.
70
70
end

uint32 productAmount 1 #Amount of items this pops out.
uint32 Catagory hash(terra_category) #What catagory in the crafter will be



bool SecretRecip false #won't show up if true
17 changes: 17 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/atmospheregenerator.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uint32 Recipe hash(atmospheregenerator)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_drt_sulphide)
end

uint32s IngCount #A vector Of the amount of materials it needs.
70
end

uint32 productAmount 1 #Amount of items this pops out.
uint32 Catagory hash(terra_category) #catagory in

bool SecretRecip false
17 changes: 17 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/droughtgenerator.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uint32 Recipe hash(droughtgenerator)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_drt_silica)
end

uint32s IngCount #A vector Of the amount of materials it needs.
70
end

uint32 productAmount 1 #Amount of items this pops out.
uint32 Catagory hash(terra_category) #catagory in

bool SecretRecip false
17 changes: 17 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/dryice.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uint32 Recipe hash(dryice)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_drt_ice)
end

uint32s IngCount #A vector Of the amount of materials it needs.
70
end

uint32 productAmount 1 #Amount of items this pops out.
uint32 Catagory hash(terra_category) #catagory in

bool SecretRecip false
21 changes: 21 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/energymegapotion.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uint32 Recipe hash(energymegapotion)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_drt_ice)
hash(spice_mat_lithium)
hash(spice_mat_copper)
end

uint32s IngCount #A vector Of the amount of materials it needs.
120
50
80
end

uint32 productAmount 2 #Amount of items this pops out.
uint32 Catagory hash(tool_category) #catagory in

bool SecretRecip false
19 changes: 19 additions & 0 deletions SMFX/RattlerRecipesGrindy/Recipes/energypotion.prop.prop_t
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uint32 Recipe hash(energypotion)#Link to the spacetools~

uint32s Blueprint #All of the required blueprints for this recipe.
end

uint32s Ingredients #A vector of each possible ingredient.
hash(spice_drt_ice)
hash(spice_mat_copper)
end

uint32s IngCount #A vector Of the amount of materials it needs.
50
20
end

uint32 productAmount 2 #Amount of items this pops out.
uint32 Catagory hash(tool_category) #catagory in

bool SecretRecip false
Loading

0 comments on commit c5dac32

Please sign in to comment.