Starbound

Starbound

153 betyg
Stackable Reward Bags and Blueprints
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
15.808 KB
11 sep, 2021 @ 17:33
15 sep, 2021 @ 15:18
2 ändringsnotiser ( visa )

Abonnera för att ladda ner
Stackable Reward Bags and Blueprints

I 1 samling av MystRaven.skg
Ours
164 artiklar
Beskrivning
I was bothered by the inability to stack reward bags and randomized blueprints. This increases the stack size of reward bags to 20 and each tier of mech blueprints to 100.

This mod changes the randomblueprint lua file; any incompatibilities will be with other mods that mess with that. Special thanks to Anter583 for solving the issue of using entire stacks of mech blueprints at once.
10 kommentarer
TopsyPentaceratops 8 maj, 2024 @ 15:46 
I am genuinely curious how you did this. I've tried looking around for tutorials for increasing item stacks, namely for unstackables like lootboxes.
Kerik 19 feb, 2022 @ 8:44 
Anter583 got that answer for him?
MystRaven.skg  [skapare] 13 sep, 2021 @ 18:14 
@Anter583 you brilliant inventor. You're the true hero here. I'm gonna implement this. How shall I list your name in the credits?
Anter583 13 sep, 2021 @ 4:45 
Ok after checking mech blueprints for a bit, they get stuck in a phase that auto learns the entire stack, you don't actually lose anything though.


To fix it all you have to do is go into the file /items/active/randomblueprint/randomblueprint.lua and add the following 2 lines of code inbetween lines 21 & 22

self.swingTimer = nil
activeItem.setArmAngle(-math.pi / 2)


It basically resets self.swingTimer to be blank so that it doesn't re-trigger learnBlueprint() every game tick after reaching 0 and then resets the item's aim angle to default so that you don't hold it weirdly.
Anter583 13 sep, 2021 @ 4:13 
Are you sure that you don't have a mod installed that messes with blueprint code?
I checked the blueprint & reward bag code and it seems to correctly use item.consume() to only consume 1 from the stack.
Literally Just Freckle 12 sep, 2021 @ 6:43 
THANK YOU. You have no idea how much this frustrated me!
VaporBitBot 12 sep, 2021 @ 5:32 
No Problemo
Wednesmove Nyan-Nyan 12 sep, 2021 @ 3:06 
Useful:SBpenguin:
MystRaven.skg  [skapare] 12 sep, 2021 @ 1:53 
@VaporBitBot I didn't think to do that. Definitely will next chance I get to work on it, thank you!
VaporBitBot 11 sep, 2021 @ 19:37 
My Suggestion to how to learn this I believe would be the Vanilla Geode