Jump to content

Unable to import


Nelolis

Recommended Posts

I seem to be unable to import items from other modules. I just cant figure out why it wont work tryed it a few ways but dont know why it wont work. Maybe someone else can see what I have done wrong.

 

This is my code

 

module one:

module furnfood{ imports {  Base, bits } item Cat {  HungerChange  = -20,  UnhappyChange  = 75,  Weight    = 1,  Type    = Food,  IsCookable   = FALSE,  DangerousUncooked = TRUE,  DisplayName   = Dead Cat,  Icon    = DeadRat,  DaysFresh   = 1,  DaysTotallyRotten = 2,  ReplaceOnUse  = AnimalGuts, } item CatDressed {  HungerChange  = -25,  UnhappyChange  = 45,  Weight    = .8,  Type    = Food,  IsCookable   = FALSE,  DangerousUncooked = TRUE,  DisplayName   = Field Dressed Cat,  Icon    = DeadRat,  DaysFresh   = 1,  DaysTotallyRotten = 2,  ReplaceOnUse  = SmallFur, } item CatSkinned {  HungerChange  = -60,  UnhappyChange  = 20,  Weight    = .6,  Type    = Food,  IsCookable   = TRUE,  DangerousUncooked = TRUE,  DaysTotallyRotten = 4,  DisplayName   = Skinned Cat,  Icon    = DeadRat,  DaysFresh   = 2,  MinutesToCook = 60,  MinutesToBurn = 80, } item Rat {  HungerChange  = -4,  UnhappyChange  = 50,  Weight    = .2,  Type    = Food,  IsCookable   = FALSE,  DangerousUncooked = TRUE,  DisplayName   = Dead Rat,  Icon    = DeadRat,  DaysFresh   = 1,  DaysTotallyRotten = 2,  ReplaceOnUse  = AnimalGuts, } item RatDressed {  HungerChange  = -6,  UnhappyChange  = 30,  Weight    = .8,  Type    = Food,  IsCookable   = FALSE,  DangerousUncooked = TRUE,  DisplayName   = Field Dressed Rat,  Icon    = DeadRat,  DaysFresh   = 1,  DaysTotallyRotten = 2,  ReplaceOnUse  = SmallFur, } item RatSkinned {  HungerChange  = -8,  UnhappyChange  = 10,  Weight    = .12,  Type    = Food,  IsCookable   = TRUE,  DangerousUncooked = TRUE,  DisplayName   = Skinned Rat,  Icon    = DeadRat,  DaysFresh   = 2,  DaysTotallyRotten = 4,  MinutesToCook = 60,  MinutesToBurn = 80, } recipe Field Dress a Cat {    Cat,    keep KitchenKnife/Axe,       Result:CatDressed,    Time:70.0, } recipe Skin a Cat {    CatDressed,    keep KitchenKnife/Axe,       Result:CatSkinned,    Time:70.0, } recipe Butcher Cat {    CatSkinned,    keep KitchenKnife/Axe,       Result:CutMeat=4,    Time:70.0, } recipe Field Dress a Rat {    Rat,    keep KitchenKnife/Axe,       Result:RatDressed,    Time:70.0, } recipe Skin a Rat {    RatDressed,    keep KitchenKnife/Axe,       Result:RatSkinned,    Time:70.0, } recipe Butcher Rat {    RatSkinned,    keep KitchenKnife/Axe,       Result:CutMeat,    Time:70.0, }}

 

module two:

module bits{ item SmallFur {  Weight    = 0.2,  Type    = Normal,  DisplayName   = Small Fur,  Icon    = DeadRat, } item AnimalGuts {  HungerChange  = -5,  Weight    = 0.2,  Type    = Food,  DisplayName   = Offal,  IsCookable   = TRUE,  DangerousUncooked = TRUE,  DaysFresh   = 1,  DaysTotallyRotten = 2,  Icon    = Chicken,  MinutesToCook = 5,  MinutesToBurn = 15, } item CutMeat {  HungerChange  = -15,  Weight    = .2,  Type    = Food,  IsCookable   = TRUE,  DangerousUncooked = TRUE,  DaysTotallyRotten = 6,  DisplayName   = Cuts of Meat,  Icon    = Chicken,  DaysFresh   = 2,  MinutesToCook = 20,  MinutesToBurn = 40, }}
Link to comment
Share on other sites

No it kind of looked that away, but my other post had to do with how the game loaded the base files and loading new items over the old ones(took a long time but I figured it out). In that one I was trying to get my rewored itmes to be used insted of the games. My problem here is that it will not load my items from the other module.

Link to comment
Share on other sites

You could also name them both module furnfood and it would work also.

Yes that works too. But I still cant get it to import more then one module. I had a recipie that i need items from Hunting and camping for but it wont let me import them. I was able to get just Hunting to import into furnfood

Link to comment
Share on other sites

I did some poking around and I was able to get the first mod to work (just called it base and added them together.) . But I am still unable to import anything from camping I wanted to use a WoodenStick in a recipe but i have to add that item to the module im making to get it to work just seems like a strange wok around to me.

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