Jump to content

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


Recommended Posts

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...