RMMV Simple Break/Create Item System [SOLVED]

Status
Not open for further replies.

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
172
Reaction score
37
I played a card game zenonzard before, and it has a simple craft/salvage system.
Click the item, get option salvage, get some craft points.
Click the item, get option create, use your craft points, you get the item.

So its basically just the item scene with the two options create or salvage. The items needed to be listed with or without the player owning it. The note tagging part would just be points_used(for creating) and points_give (for salvage)

I first tried working using event select item, but i cannot get the craft something you dont own. I can do the salvage because you own it, just subtract the item and add the craft points.

It could also just be a modification of the Scene Shop, where buy = craft, and sell = dissamble. But it wont use the default gold, but another variable. Yes, i think this is the simplest alternative i can think of. Another shop scene, that doesnt use the default gold as currency.

EDIT: Here's final product of eventing.. I abandoned the select item event

 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,545
Reaction score
8,155
First Language
German
Primarily Uses
RMMV
I first tried working using event select item, but i cannot get the craft something you dont own.
there is a possible workaround for that, but it will use up some item slots.

make the choice scrap/create before selecting item.
if chosen to create, have the select item choose from hidden item B instead of regular items.
every regular item you want to be able to create, have a recipe item set as hidden b and given to the player at start of game. and creating from the recipe should add the real item, not the recipe item itself

has the advantage that you can select when the player gets the recipe item of the same name, but will halve the number of item IDs available and require more work to setup.
 

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
172
Reaction score
37
i see.. so i basically give the player the "recipe" items when want to craft that card (so they can see it in the select item event), then remove those items when they cancel, then on confirm swap them in for the real one. is that correct?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,545
Reaction score
8,155
First Language
German
Primarily Uses
RMMV
then remove those items when they cancel
no need to remove, because hidden items are never displayed in inventory and therefore can't be used at all. That is why the recipe items should be set as hidden B (so that the hidden A can still be used for the regular purposes like event flags and don't appear in the recipes either).
and because of that you only give the hidden recipe items once, no need to bother the event itself with that.
 

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
172
Reaction score
37
Thanks! I can now separate craftable and non-craftable just by changing the item type. since i use a plugin for item category, items are displayed visible, also in the deck edit scene. I'll try work around.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,385
Reaction score
5,540
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Gameboy Tiles, Cure Writer's Block, Animations on Menu, Generate Tasks | RPG Maker News #40

How would you judge a game you played? Art/Graphics? Story? Gameplay?
Learn MV sales goal = 2%
NSFW game sales goal = 2500% (no jokes) :guffaw:
After gathering, sorting out & reconsidering hundreds of enemy battlers over the last two das, finally my favorite part begins: Inventing names and lore for them all :D

Forum statistics

Threads
111,377
Messages
1,060,592
Members
144,706
Latest member
DonTonyPepperoni
Top