Jump to content

<Undeletable>true</Undeletable>, re: Foundations


Recommended Posts

In templates/special/filter/foundation.xml one can change the undeletable flag:

  <Identity merge=""/>

to

  <Identity merge="">
    <Undeletable>false</Undeletable>
  </Identity>

But it might be that when the hammer touches the foundation (i.e. the foundation is committed) it still is deletable then.

  • Thanks 1
Link to comment
Share on other sites

2 hours ago, Freagarach said:

In templates/special/filter/foundation.xml one can change the undeletable flag:


  <Identity merge=""/>

to


  <Identity merge="">
    <Undeletable>false</Undeletable>
  </Identity>

But it might be that when the hammer touches the foundation (i.e. the foundation is committed) it still is deletable then.

Thank you. The "ideal" threshold might be 50% finished or 1% finished or 99% finished. Your solution looks like it'll make the threshold 99% which is okay to me for now, but others might want something more comprehensive. 

  • Like 1
Link to comment
Share on other sites

15 minutes ago, wraitii said:

Are you talking about the "virtual" foundation that doesn't block movement? That's in "construction.xml", not foundation.xml

Right, but I'd rather let the player the ability to delete it up to 99% completion (after thinking about it a bit) so foundation.xml works fine. If I change my mind back I'll switch it to construction.xml. :) 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...