[0.14.22] Canceling deconstruction planner still changes BY
[0.14.22] Canceling deconstruction planner still changes BY
Canceling a deconstruction planner order still changes the build by playerName.
It should only change the name if there is a change to the entity.
Possible solution: add an extra value, field eg. 'marked by'
This could work for blueprints aswell.
a blueprint or a deconstruction order are not 'build ...'
It should only change the name if there is a change to the entity.
Possible solution: add an extra value, field eg. 'marked by'
This could work for blueprints aswell.
a blueprint or a deconstruction order are not 'build ...'
Re: [0.14.22] Canceling deconstruction planner still changes BY
That's by design. Marking it for deconstruction changes the entity and canceling deconstruction changes it again.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.14.22] Canceling deconstruction planner still changes BY
This makes it impossible to know who build it if someone drags a deconstruction planner over it.Rseding91 wrote:That's by design. Marking it for deconstruction changes the entity and canceling deconstruction changes it again.
Re: [0.14.22] Canceling deconstruction planner still changes BY
Yes, it's not a built-by property. It's a last-modified-by property.mophydeen wrote:This makes it impossible to know who build it if someone drags a deconstruction planner over it.Rseding91 wrote:That's by design. Marking it for deconstruction changes the entity and canceling deconstruction changes it again.
Changing circuit conditions, rotating, changing recipes and so on will also update the value.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.14.22] Canceling deconstruction planner still changes BY
Can we suggest on_pre_marked_to_deconstruction?Rseding91 wrote: Yes, it's not a built-by property. It's a last-modified-by property.
Changing circuit conditions, rotating, changing recipes and so on will also update the value.
Re: [0.14.22] Canceling deconstruction planner still changes BY
Why?darkfrei wrote:Can we suggest on_pre_marked_to_deconstruction?Rseding91 wrote: Yes, it's not a built-by property. It's a last-modified-by property.
Changing circuit conditions, rotating, changing recipes and so on will also update the value.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.14.22] Canceling deconstruction planner still changes BY
Anti griefing mod.Rseding91 wrote:Why?
Compare the player who last modified it to the player trying to deconstruct it.
Re: [0.14.22] Canceling deconstruction planner still changes BY
what I would do:
* lastModifiedBy: someName (always visible for entities)
* markedBy: someName (only visible when marked for deconstruction or blueprint)
blueprint's markedBy is transfered to lastModifiedBy in case a robot build it. An other player in case he build it manualy.
tip: dont call it 'build by X' if it's modifiedBy.
just my 2c.
* lastModifiedBy: someName (always visible for entities)
* markedBy: someName (only visible when marked for deconstruction or blueprint)
blueprint's markedBy is transfered to lastModifiedBy in case a robot build it. An other player in case he build it manualy.
tip: dont call it 'build by X' if it's modifiedBy.
just my 2c.
Re: [0.14.22] Canceling deconstruction planner still changes BY
That's the wrong reason for such an event. Besides I've already got a proper solution to prevent griefing for 0.15.DaveMcW wrote:Anti griefing mod.Rseding91 wrote:Why?
Compare the player who last modified it to the player trying to deconstruct it.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.14.22] Canceling deconstruction planner still changes BY
Rseding91 wrote:That's the wrong reason for such an event. Besides I've already got a proper solution to prevent griefing for 0.15.DaveMcW wrote:Anti griefing mod.Rseding91 wrote:Why?
Compare the player who last modified it to the player trying to deconstruct it.


Re: [0.14.22] Canceling deconstruction planner still changes BY
Good news, everyone!Rseding91 wrote: That's the wrong reason for such an event. Besides I've already got a proper solution to prevent griefing for 0.15.
Why event.entity.last_user and event.player_index are always same?