Hi all, first off apologies I am Albanian. English is not my first language, and I will be using Grok to translate all of english!
I am trying to get this patch to allow me to sail the seven (7) seas with music from a resonator. I cannot get it to work and I have pulled out most if not all of my remaining hair (I am bald irl xD) trying to make it work. Any code-heads want to teach me what I have been doing wrong?
See below:
[
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/5/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/6/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/7/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/8/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/9/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/10/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/11/forCategoryCodes/-", value: "resonator"},
{ file: "game:entities/nonliving/boat-sailed", op: "add", path: "/behaviorConfigs/rideableaccessories/12/forCategoryCodes/-", value: "resonator"},
{ file: "game:blocktypes/machine/resonator", op: "add", path: "/attributes/", value: {
attachableToEntity: {
categoryCode: "resonator",
seatConfig: {
controllable: false,
bodyYawLimit: 0.25,
mountOffset: { x: 2, y: 0.4, z: 1.5 },
eyeHeight: 1
}
}}}]