One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2019-07-16 13:01:40

Mr.XIX
Member
From: The Netherlands
Registered: 2018-03-12
Posts: 175

When using Last Use of Actor, the Reverse Use of the Target is ignored

I was modding around and tried to make a transition that enables to switch contents of buckets around.

This led me to create the transition:
Partial Bucket of Water (Last Use) + Empty Bucket
=
Empty Bucket + Partial Bucket of Water (Reverse Use)

This creates this file.
Filename: 1099_659_LA
File contents: 659 1099 0 0.000000 0.000000 0 1 0 1 0 0

The expected result is to get a bucket of water with one use on the ground.
The observed result is a bucket of water with nine uses on the ground.
This means the Reverse Use flag on the Target is ignored.

When removing the Reverse Use on the target, the observed transition in-game stays the same.

Proof me wrong?

Offline

#2 2019-07-17 10:06:25

Mr.XIX
Member
From: The Netherlands
Registered: 2018-03-12
Posts: 175

Re: When using Last Use of Actor, the Reverse Use of the Target is ignored

Solutions that didn't seem to work:
Make sure all the items in the recipe are unique by creating a copy of the Partial Bucket of Water and the Empty Bucket.
Use the flag "Last Use" on the target Empty Bucket as well.

Observations:
Changing the held item (Last Use of the Partial Bucket of Water) to an item without the "Last Use" flag (for example an Empty Bucket), will result in the Target transition being correct (a.k.a. the Reversed flag is used and a Partial bucket of Water with a single use is created)

Branch + Empty Bucket
=
Branch + Partial Bucket of Water (Reverse Use)
^this works like expected

Last edited by Mr.XIX (2019-07-22 08:22:56)

Offline

#3 2019-07-22 08:22:24

Mr.XIX
Member
From: The Netherlands
Registered: 2018-03-12
Posts: 175

Re: When using Last Use of Actor, the Reverse Use of the Target is ignored

More things that don´t seem to work:
Putting a generic use in place where an Empty Bucket will always result in a Partial Bucket of Water (Reversed)

Workaround:
Instead of setting NewTarget as a Partial Bucket of Water (Reversed), put a dummy in place that decays into a Partial Bucket of Water (Reversed)

Offline

Board footer

Powered by FluxBB