Closed zr0D4Y closed 1 year ago
if you wanna work on the shops then do so because i'll get the basics ready first which are
right now im working on balance
aight then ill try to recreate the shops in my old files, please post all variable names u use
yea
ill probably need the wallet variable name and ill handle inventory ig
ive decided to add to the command an option where u can check a users balance and it gonna be optional
oh yeah, ill add that to the inv command
ok
wait how are you gonna store the inventory of a user
because since I'm using PostgreSQL i have the ability to store arrays (hopefully)
oh was gonna use collections
the user's inventory can very, some have cups of tea others only chocolate some both and you can't just list every single item in the model and store them as an integer when we can have an array of objects to represent what the user has
we can give each item an identifier lol
then store them by their identifier and amount
afk
ok arrays it is
ill add my commands to the commands folder in this branch and leave the variable and such for u to fill
back
my other files used collections
collections as discord.js stated is only for things with unique IDs so for example a collection of users but for other things such as embeds they use arrays
technically we might have identifiers so we could make our products uniquely different so a collection could be good use here
but for now i'll stick to arrays
done with balance cmd
now i need to do withdraw and deposit commands which are fairly easy
deposit command done will copy code over to and edit withdraw command
almost done
gonna be testing now
sorry but will be taking a bit of time as have to help me mom
oops i think i lost my economymodel lmao nw I'll try recreate it again
recreated
(sorry commented in wrong place)
will convert ur code to ts soon
ok im part of the way thru welcome system editor so i'll temporarily close this as not planned then once im done i will re-continue the system
Temporarily closed until further notice.
reopened
ngl imagine this passes 100 comments rn
since I haven't worked on this for so long I'll merge the WMEM branch first since that's got all the new features and then I'll get working straightaway on the economy system
that closure was an accident
finally back, adding a safe and upgrade safe, hopefully please discuss the properties of a safe.
Ykw gonna merge the branch for this before I proceed to work on the new issues + economy system 2.0
We have a simple betting system so that's cool
Gonna open PR for this meanwhile create few more issues
Closed
If you have any new ideas move it into the new issue
ok brother i have the chakne
japkelelelellelelelel HO
btw i am half blod
Extra criteria: BlackList commands for admins anti macros Real estate could be an option Weapons increasing chances of loot when robbing