r/rational • • Apr 28 '17

[D] Friday Off-Topic Thread

Welcome to the Friday Off-Topic Thread! Is there something that you want to talk about with /r/rational, but which isn't rational fiction, or doesn't otherwise belong as a top-level post? This is the place to post it. The idea is that while reddit is a large place, with lots of special little niches, sometimes you just want to talk with a certain group of people about certain sorts of things that aren't related to why you're all here. It's totally understandable that you might want to talk about Japanese game shows with /r/rational instead of going over to /r/japanesegameshows, but it's hopefully also understandable that this isn't really the place for that sort of thing.

So do you want to talk about how your life has been going? Non-rational and/or non-fictional stuff you've been reading? The recent album from your favourite German pop singer? The politics of Southern India? The sexual preferences of the chairman of the Ukrainian soccer league? Different ways to plot meteorological data? The cost of living in Portugal? Corner cases for siteswap notation? All these things and more could possibly be found in the comments below!

21 Upvotes

31 comments sorted by

View all comments

Show parent comment

2

u/waylandertheslayer Apr 28 '17

The anatomy system is supposed to have as few details as possible: you define what body parts a Pokémon has, and on those body parts you might give them descriptive tags and occasionally a “slot” for another body part to be attached to, but that’s pretty much it.  The engine then metaphorically arranges all the parts on the table, it starts with the part called Body, and then recursively attaches each part as it finds “slots” for them. Any leftovers are just attached to the Body.  

Specifically for Low Kick and other related low/high targets, you can have abstract body parts (i.e. Body.LowerBody and Body.UpperBody, with maybe Body.LowerBody.Leg1 etc.) to deal with that.

I assume the 'only targets specific body parts' code would be on the technique, rather than part of the target's response to being hit, and you should also have access to information about the attacker and target's height. From there, you could calculate (still using Low Kick as an example) that if the user's height is >2x the target's height, it can hit anywhere, but if the size difference isn't that big, it will only hit parts of Body.LowerBody

I'm not sure if this is the sort of thing you meant by 'clever way of reconciling the issue', but I hope so. I like the strengths of both systems, but if one had to be removed I would lean towards keeping the simpler representation.