Crafting system

How, what and why to code in BYOND.
Post Reply
PatapoIIIka
Joined: Sun Aug 25, 2019 1:32 pm
Byond Username: PatapoIIIka

Crafting system

Post by PatapoIIIka » #510004

Hi all!
In general, I was engaged in the alteration of crafting for our build
Made a chance craft for an example
/datum/crafting_recipe/something
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 :(
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: Crafting system

Post by PKPenguin321 » #511149

To clarify, you want to make a crafting recipe that returns a weighted-randomized item?
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
Post Reply

Who is online

Users browsing this forum: No registered users