Shop System

Author Topic: Shop System  (Read 3463 times)

i need a way to make a shop system, using the Score a player has.

if not then no big deal i suppose.

VCE.

Normally I'd offer to come in and help you with this but I'm busy right now, maybe someone else will

Is there a way to do this without VCE?

Is there a way to do this without VCE?

Possibly, but it sounds unnecessarily difficult. I don't understand why you wouldn't want to use VCE, but if there's an explanation that I'm overlooking, have at it


Coding
Sadly the average blocklander doesn't know a line of code.

Sadly the average blocklander doesn't know a line of code.
A lot of users are familiar with console commands, though.

Are you looking for a GUI, or just a "click to buy" type thing?

i just need a list of options and methods

"click to buy" would be preferred though, for it's simplicity

I'm pretty sure it can be done pretty simply through code. Definitely possible in VCE, too. I'm sure anyone knowledgable with either of these would be happy to assist you.
« Last Edit: January 21, 2016, 10:31:15 PM by Akio- »

http://forum.blockland.us/index.php?topic=188555.0

This weapon shop system was actually my idea and he made it from my suggestion topic.

It works okay but I'd love to see actual updates for it.

not straight-forward enough



i'll consider vce
thanks for the assistance fellows
if nothing works then i'll find out a way somehow, it's not necessarily vital

I'd suggest visolators.

not straight-forward enough

The one I gave you is pretty straight forward.

not straight-forward enough



i'll consider vce
thanks for the assistance fellows
if nothing works then i'll find out a way somehow, it's not necessarily vital
Code: [Select]
0  0  onActivate   self   vce_ifValue   <var:cl:score>   >=   [cost of item]   1 2
1   0   onVariableTrue   client   addScore   -[cost of item]
2   0   onVariableTrue   player   addItem   [item]
To get started on VCE look here.

I'd suggest visolators.
I probably should bundle my add-on up for release and clean up the code. It's been finished for a long time and was meant to be private but there's no reason to keep it hidden anymore.