Jump to content

Adding an item to startup items?


Recommended Posts

Is this possible (of course it is)

 

One recent MOD req is for a +abilities so I was thinking that if I stuck it on a ring that when equipped gives you that buff.

 

The reason I ask is that there are a limited number of vendors so this is a general Q that helps all MOD devs

 

 

The handy thing is that whatever class I chose I can stash it then give it to Aloth if not playing a Wizard myself

 

 

 

OK Fair warning has been applied

 

I'm gonna move the domain to https://perspak.com early Feb but will keep all content

 

There are reasons behind this move which basically boil down to unifying my release schedule

 

My friends are welcome to play (I'll set you up your own areas if you desire them)

 

Please note that this process is messy so may take a few weeks 

Link to comment
Share on other sites

That's a good location

 

Hadn't thought of that one

 

How about the wardrobe? Can I bag that one?

OK Fair warning has been applied

 

I'm gonna move the domain to https://perspak.com early Feb but will keep all content

 

There are reasons behind this move which basically boil down to unifying my release schedule

 

My friends are welcome to play (I'll set you up your own areas if you desire them)

 

Please note that this process is messy so may take a few weeks 

Link to comment
Share on other sites

Hmm, I can't seem to find the loot list for the drawer right now.

 

The nice thing about the wardrobe is that it exists and already supports conditionals: see LL_21_Cabin_Armoire in items.gamedatabundle: it has conditionals for Berath's Blessings to give you fine gear instead of regular gear, for example, so it's easy enough to extend.

 

The trouble is there's still conflicts when you need to add additional loot lists to the parent loot list, so that's annoying...

 

The other idea is to use the Caed Nua crate, but that requires you to obviously let Chitupec sink...

Edited by ydaraishy
Link to comment
Share on other sites

If you simply want to always start with the item(s)…
 
Create a yourname.gamedatabundle file with these contents:

{
    "GameDataObjects": [
        {
            "$type": "Game.GameData.PromotionalItemCollectionGameData, Assembly-CSharp",
            "DebugName": "Your_DebugName_Here",
            "ID": "
00000000-0000-0000-0000-000000000000",
            "Components": [
                {
                    "$type": "Game.GameData.PromotionalItemCollectionComponent, Assembly-CSharp",
                    "PromotionalItemCollections": {
                        "PromotionalItemCollection": [
                            {
                                "ItemReferenceID": "
00000000-0000-0000-0000-000000000000",
                                "Quantity": 1
                            }
                        ]
                    }
                }
            ]
        }
    ]
}

 

You'll need to replace the red values as appropriate.  The "ID" may be used to internally track whether a game has already loaded the item collection, so do be sure to ensure that it is a unique GUID.

 
For two (or more) different items, just repeat the "ItemReferenceID"/"Quantity" { } block as necessary (don't forget the comma in between!):

                            {
                                "ItemReferenceID""
00000000-0000-0000-0000-000000000000",
                                "Quantity"1
                            },
                            {
                                "ItemReferenceID""
00000000-0000-0000-0000-000000000000",
                                "Quantity"1
                            }


This may not be the "official" way to do it, but it currently works. :)

 

It will add the item(s) to the Party Stash upon prologue completion (or the load of a game saved after prologue completion).

 

An advantage of this method over a container is that it will always work (as long as the game handles promotional items, anyway!).  The ship drawer is to my knowledge only available in the sloop, and only when the captain's quarters have not been upgraded.

Edited by Nukenin
  • Like 2

--/\/

Link to comment
Share on other sites

The other idea is to use the Caed Nua crate, but that requires you to obviously let Chitupec sink...

 

There are a few crates on the beach, they seem good spots to stuff items into

 

Think I'll try that out and stick all the ships in a box :)

OK Fair warning has been applied

 

I'm gonna move the domain to https://perspak.com early Feb but will keep all content

 

There are reasons behind this move which basically boil down to unifying my release schedule

 

My friends are welcome to play (I'll set you up your own areas if you desire them)

 

Please note that this process is messy so may take a few weeks 

Link to comment
Share on other sites

That idea seems a bust :(

 

I can't find anything with 2x a5200562-c6ae-45b6-8d21-a3d331ae6f11 (lockpick) and 1x 104994a3-bac5-4691-b87d-13153694075f (Grappling Hook) in it in exported.

 

That's the contents of a crate near the wrecked ship @ start

 

Analysing further I find that both items and 1x 4a41b390-ca35-4f1c-b17e-26f89aa83dfd (Sparkcrackers) from crate by campfire all exist in level349 so I presume these are hard-coded into the level file and 349 is Vilario's Rest (which we can't MOD)

 

Pity, that would have been a perfect way not to tread on other peoples MODs

OK Fair warning has been applied

 

I'm gonna move the domain to https://perspak.com early Feb but will keep all content

 

There are reasons behind this move which basically boil down to unifying my release schedule

 

My friends are welcome to play (I'll set you up your own areas if you desire them)

 

Please note that this process is messy so may take a few weeks 

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...