Jump to content

Panning workshop


Monolithys

Recommended Posts

Hello all!

If it's possible plz help me, where is I can find files, were is panning mechanics shows. 

I thing add something to create mod and make some new on it's base.

ADD: ohh, and knapping mechanics too.

I am not so strong programmer, more sysadmin or like it, so i need to look in code and syntax

tnx!

Edited by Monolithys
Link to comment
Share on other sites

These links have helped me out. Not much since all they've done is made me realize how little I know what I'm doing, but maybe they'll be more useful to you!

https://apidocs.vintagestory.at/api/Vintagestory.API.Common.html

https://github.com/anegostudios

You'll probably find that stuff under the vssurvivalmod in the second link. Maybe.

Link to comment
Share on other sites

First of all - panning mechanic is bound to it’s action item - the Wooned Pan. All magic is happening in it’s code (OnInteraction* methods to be precise). So, to start making your own “craft” mechanic, you’ll have to find the starting point (trigger item/block), implement item transaction (source item => resulting item) in code of trigger item (with the corresponding character animation if needed), then decide how your mechanic will be present in jsons and patch all existing jsons, which will participate in your crafts. That’s absoutely not an easy task for a beginner.

Link to comment
Share on other sites

I understand that, so I am seeking different ways to resolve this. 

Now try to find way:

1. Random loot received/dropped.

2. Multi random loot received/dropped

 

And only one mechanics I see, "Panning"

May be mining, when with little chance dropped "crystals". For now I can't find json files with this...

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.