All-bones Jones :verified:

All-bones Jones :verified: 's avatar
All-bones Jones :verified:
npub1tqep...myz3
this is the jankiest fucking solution imaginable jesus fucking christ this is so cursed this is SO FUCKING CURSED so to explain a bit i wanted to have a weighted loot distribution table that's easily scalable and not hardcoded without resorting to a plugin that reads an external json. so i wrote a short script that 1) goes through a defined common event id (in this case, 18, which this is a screencap of) 2) looks for every command that adds a static value to variable 37 (eg, += 10) 3) adds each of those values together to get a cumulative weight for items in the pool 4) compares those weights against the prand that's calculated off gameseed 5) and writes that to variable 36 then i just compare variable 36 in the common event to get nice clean easy to write to and edit loot table common events variable 37 isn't actually used for anything during calculation, it's just there to denote item weights, and after a long playthrough it's going to hit the engine's max integer size (999999) but it doesn't fucking matter because it's not actually USED FOR ANYTHING image
i incorporated a lot of the feedback i got from you guys. i'm still not sure how to define spider-like movement speeds to translate that into gameplay mechanics, nor am i particularly satisfied with what i've got so far for its chasing sound effects i DID completely overhaul yanfly's default sound effect handling though View quoted note → https://media.shitposter.world/shitposter.club/01/55/db/0155db49e21463421f43f4c4e3bbb41abd0f75785e00bdbf2844dd69fc8a1ab3.mkv?name=63lM1-ScILXnXA.mkv