Search found 4 matches

by xnenai
Wed Mar 30, 2016 6:36 pm
Forum: Modding help
Topic: No such node, but same code works else where.
Replies: 3
Views: 1126

Re: No such node, but same code works else where.

As far as I know, it's just not reading the file at all. They're both in the same folder, the require is implemented. I've copy and pasted all applicable relevant code from my technology files , where it works just fine, but doesn't work in the item files. I tried doing some basic arithmetic on the ...
by xnenai
Wed Mar 30, 2016 3:31 pm
Forum: Modding help
Topic: No such node, but same code works else where.
Replies: 3
Views: 1126

Re: No such node, but same code works else where.

Yea it's still giving me problems. It will work if I assign the values locally in the file:

Code: Select all

   
   da = 8 --stats.steelAxe.da
   du = 5000 --stats.steelAxe.du
   sp = 4 --stats.steelAxe.sp
   ss = 20 --stats.steelAxe.ss
but for some reason it just isn't reading the stats.lua
by xnenai
Wed Mar 30, 2016 8:12 am
Forum: Modding help
Topic: No such node, but same code works else where.
Replies: 3
Views: 1126

No such node, but same code works else where.

So I'm trying to utilize the following code for an 'item' file. I already use this code for 'technology' files and I have no problems, but when I use it for 'item' I get the following message on start up: "Error while loading item prototype (steel-axe-t1): No such node (stack_size / damage ...
by xnenai
Sat Mar 26, 2016 9:14 am
Forum: Modding help
Topic: Error in assignID
Replies: 1
Views: 822

Error in assignID

I'm trying to add additional tiers of modules.
When I load the game I get "Error in assignID, item with name 'itemName' does not exist.
I've checked, double triple and quadruple over the files for any discrepancies between each module but I haven't found any.
I only made a item/recipe/technology ...

Go to advanced search