Glad you like the game so far.Cool game, y.v. I've been playing for a while and--because I like to tinker with my games, and have ported my customizations through a few versions of your game here--have a question. Why did you implement the v1.3 "premium" shell stuff that way?
While I doubt there is any performance penalty, it's (to my mind) needless complication when a) the static attributes can be pushed into the base parts inside GAME.sbPartsData, b) addons already had talent boosting implementation, and c) SexbotPart (and other classes) already has generic attr and tags variables for expansion purposes so new specific fields might not be necessary.
In my customizations of previous versions of your game, I had implemented some of this stuff already, and found at least one bug so far in V 130_15d.1 ("agressive" with 1 g in a few strings) while porting my code to this new game version.
Anyway, here is some snippets of my customizations of your code. Ignore or use as you wish. I will provide more if you want--no need for attribution.You don't have permission to view the spoiler content. Log in or register now.
As you looked into the code you may have noticed sbPartsData is used as read only dictionary for bot part data templates only.
Every ingame bot part is instantiated from that template with random properties to get more variety per clone()
As to the premium shells I wanted a system that gives more freedom to stat etc. changes (like unique items in diablo). Thats why I modified all stat, trait etc variables to be accessed only via query wrappers and can intercept there if I want a specific effect for a premium shell.
I specifically wanted that without modifying the bot (cortex) instance the shell is mounted to as it is annoying to add and then remove data to that part when mounting / dismounting a shell. That data "hard writing" would also be really inconvenient for legacy bots coming in via MV pod, as I would have to run scrubbers for all imported bots.
So thats the idea behind that more flexible premium shell concept.
Last edited: