Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- str modsOn = "";
- int start = 0;
- //Everytime a new mod is applied, do the following steps:
- // * Start out with (
- // * Construct the string to include Mod + ModQuantity in a specific order (P1B2A3, etc)
- // * Keep in mind to not add on top but to do the mod stitching all in one go
- // * End with )
- SCRIPT "ModConstructor" (void)
- {
- modsOn = "(";
- if(powerMods || bulkMods || agilityMods || techMods || sniperMods || firestormMods || nanoMods)
- {
- modsOn = StrParam(s: modsOn, s:"P", i:powerMods);
- modsOn = StrParam(s: modsOn, s:"B", i:bulkMods);
- modsOn = StrParam(s: modsOn, s:"A", i:agilityMods);
- modsOn = StrParam(s: modsOn, s:"T", i:techMods);
- modsOn = StrParam(s: modsOn, s:"S", i:sniperMods);
- modsOn = StrParam(s: modsOn, s:"F", i:firestormMods);
- modsOn = StrParam(s: modsOn, s:"N", i:nanoMods);
- }
- modsOn = StrParam(s: modsOn, s:")");
- if(!powerMods && !bulkMods && !agilityMods && !techMods && !sniperMods && !firestormMods && !nanoMods)
- modsOn = " ";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement