Jump to content

couple of fixes i need please anyone


Recommended Posts

Couple of issues I have, please if anyone has an idea how to fix

 

1st

 

I use nitrogen to create maps, I've got the latest version

 

But when map is loading I get this, spammed a lot, and happened also since a18, I suppose the map just doesn’t load the poi

 mbudHR1t.png

I have no idea why I should need to edit a prefab, some have said, if its vanilla why would i need to, or even a clue how?

 

I have no prefab mods downloaded, just server sided mods

 

2nd

 

I'm trying to make rebar frame of any variety repair item changed from forged iron to the scrap iron in my modlets which loads last because I've named it zzzzdatasmodlets, so “should” override anything loaded previous, forged iron for repair doesn’t make sense as it uses scrap iron to make!

 

In my blocks xml, So far I've used these

 

<set xpath="/blocks/block[@name='rebarFrameMaster']/property[@name='resourceForgedIron']/@value">resourceScrapIron</set>

 

<set xpath="/blocks/block[@name='rebarFrameMaster']/property/[@name='RepairItems']/@value">resourceScrapIron</set>

 

<set xpath="/blocks/block[@name='rebarFrameMaster']/property[@name='resourceForgedIron']">resourceScrapIron</set>

 

None work, in game they still want forged iron for repair

 

I thought about because I've already made a rebar block it wouldn’t work, so I made a new one, still wants forged iron?!?

 

What am I missing?

Edited by Data (see edit history)
Link to post
Share on other sites
17 minutes ago, Data said:

Couple of issues I have, please if anyone has an idea how to fix

 

1st

 

I use nitrogen to create maps, I've got the latest version

 

But when map is loading I get this, spammed a lot, and happened also since a18, I suppose the map just doesn’t load the poi

 mbudHR1t.png

I have no idea why I should need to edit a prefab, some have said, if its vanilla why would i need to, or even a clue how?

 

I have no prefab mods downloaded, just server sided mods

 

2nd

 

I'm trying to make rebar frame of any variety repair item changed from forged iron to the scrap iron in my modlets which loads last because I've named it zzzzdatasmodlets, so “should” override anything loaded previous, forged iron for repair doesn’t make sense as it uses scrap iron to make!

 

In my blocks xml, So far I've used these

 

<set xpath="/blocks/block[@name='rebarFrameMaster']/property[@name='resourceForgedIron']/@value">resourceScrapIron</set>

 

<set xpath="/blocks/block[@name='rebarFrameMaster']/property/[@name='RepairItems']/@value">resourceScrapIron</set>

 

<set xpath="/blocks/block[@name='rebarFrameMaster']/property[@name='resourceForgedIron']">resourceScrapIron</set>

 

None work, in game they still want forged iron for repair

 

I thought about because I've already made a rebar block it wouldn’t work, so I made a new one, still wants forged iron?!?

 

What am I missing?

Your xpath is wrong, should be 

<set xpath="//block[@name='rebarFrameMaster']/property[@class='RepairItems']/property[@name='resourceForgedIron']/@name">resourceScrapIron</set>

 

Link to post
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
×
×
  • Create New...