Page 1 of 1

Crafting system

PostPosted: Sun Aug 25, 2019 1:39 pm
by PatapoIIIka
Hi all!
In general, I was engaged in the alteration of crafting for our build
Made a chance craft for an example
result = list(/obj/item/crafting/weapon_parts/energy = 80,/obj/item/crafting/weapon_parts/plasma = 60)

Now I need a mechanism that allows me to make a dynamic chance of crafting and control the number of items as a result of crafting.
do you have any ideas :(

Re: Crafting system

PostPosted: Wed Aug 28, 2019 7:05 pm
by PKPenguin321
To clarify, you want to make a crafting recipe that returns a weighted-randomized item?