apace100 / apoli

MIT License
40 stars 46 forks source link

Add `modify_passenger_position` power type #191

Open eggohito opened 11 months ago

eggohito commented 11 months ago

This PR adds a modify_passenger_position power type, which as its name suggests, modifies the position of the passenger(s) of the entity that has the power. I'm not totally sure whether the offset field being a double vector would suffice or if there should be offset_AXIS_modifier(s) fields instead (or both) :thinking:

Fields

Field Type Default Description
bientity_condition Bi-entity Condition Type optional If specified, the position of the passenger will only be offset if either or both the passenger(s) (actor) and the entity that has the power (target) fulfill this bi-entity condition.
offset Vector Determines the offset to apply to the position of the passenger(s).
eggohito commented 5 months ago

Making this PR a draft for now. I might also include a modify_riding_position power type (like in eggolib)