aliens

Author Topic: [Question] Can You Use A Craft As A Required Item In A Manufacture Project?  (Read 8388 times)

Offline Roxis231

  • Colonel
  • ****
  • Posts: 484
  • Catching the feral kitten hiding in my rubish bin
    • View Profile
I've been thinking, can you use a Craft (ie Skyranger, Interceptor) as a required item for makeing a new Craft?

And If so what code/text would you have to use in the ruleset?

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
I've been thinking, can you use a Craft (ie Skyranger, Interceptor) as a required item for makeing a new Craft?

And If so what code/text would you have to use in the ruleset?

Haven't tried it but I don't see why not, since I already use vanilla HWPs as required items for the upgraded HWPs. You should need something like this:

    requiredItems:
      STR_SKYRANGER: 1

Offline Roxis231

  • Colonel
  • ****
  • Posts: 484
  • Catching the feral kitten hiding in my rubish bin
    • View Profile
Ok I'll test try a rule set this weekend and see how it goes.

Any more sugestions or help is nice though.

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
Ok I'll test try a rule set this weekend and see how it goes.

Any more sugestions or help is nice though.

Just tried it without success - the issue is that planes are Craft and it doesn't seem possible to set them as Items.

Offline Roxis231

  • Colonel
  • ****
  • Posts: 484
  • Catching the feral kitten hiding in my rubish bin
    • View Profile
I thought Dioxine had done something like this in Piratez? or was he just able to make it seem that way?

Offline Dioxine

  • Commander
  • *****
  • Posts: 5458
  • punk not dead
    • View Profile
    • Nocturnal Productions
No, I had that idea long time ago but it's impossible.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
I thought Dioxine had done something like this in Piratez? or was he just able to make it seem that way?

No, I'm pretty sure that's not possible. The reason being, craft is a composite item, since it also contains weapons and possibly soldiers/items.

Offline Roxis231

  • Colonel
  • ****
  • Posts: 484
  • Catching the feral kitten hiding in my rubish bin
    • View Profile
Damm - Looks like I'll have to go with the other plan then, unless some one changes the code - and that's probably not a good idea.

Offline Mackus

  • Sergeant
  • **
  • Posts: 48
    • View Profile
I thought Dioxine had done something like this in Piratez? or was he just able to make it seem that way?
I think he just made it look this way, if you are referring to old aircraft hulls being requirement to manufacture new aircraft. IIRC there are two types of old hulls, one is normal item used in game, other is "hidden" craft that cant be bought but is used only for bootypedia entry.

Offline Firestorm

  • Sergeant
  • **
  • Posts: 19
    • View Profile
What about using live aliens as a component in manufacturing?  Anyone tried that yet? (wrings hands together evilly)

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: [Question] Can You Use A Craft As A Required Item In A Manufacture Project?
« Reply #10 on: November 14, 2015, 03:04:10 am »
Yup, Piratez does it, mostly to slaughter them and get components from them. Or for human captives enslaving them and keeping all their possessions for yourself.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5458
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: [Question] Can You Use A Craft As A Required Item In A Manufacture Project?
« Reply #11 on: November 14, 2015, 03:16:38 am »
Live alien is just like any other item, with the exception it takes Containment space and (thus?) can be shipped despite size = 0.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: [Question] Can You Use A Craft As A Required Item In A Manufacture Project?
« Reply #12 on: November 27, 2015, 08:06:46 am »
I tried to tackle this a while back. What I came up with was possibly being able to add an option to "repackage" the craft, trading it in for an inventory item which can be traded back for the actual craft. The inventory item would carry the same name and monetary value but would take up storage space instead of a hangar. You could then use it as an item in production.

You would just need to make some way to swap one craft for another. I was trying to use it for alloy interceptors--what I finally did was grant two options in the purchase menu: the actual interceptor, or a packaged interceptor. There was no way to swap between them except if you accidentally bought the packaged interceptor when you wanted the actual interceptor, you could sell the packaged one and get most of the money back.

That's the best I came up with.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
This has been added in the latest nightly.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
This has been added in the latest nightly.
Thanks!!

How do I use the feature?