Catskart Shop System

Description: You made a script? Submit it here to show your creation to the public, share, take reviews, provision of the help and support is here!
Moderators: Yoshi021, Lx Xzit, 5438A38A, TepigFan101, Moderators

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 18
Reputation: 120
Posts: 256
Joined: 29 Nov 2015
Location: France

Post #1by Catskart » 11 Feb 2017, 17:56

Catskart Shop System

Image


With TeaScript I made a shop system for the ItemBox where you can set the articles and the prices in the two last scripts, follow the instructions.
You can customize the background, the windows and the seller's messages. :)

You can download here : http://www.mediafire.com/file/lfht1zydt6r97xf/Catskart Shop System.zip

Eri7 M
Count
Count
Avatar
Eri7 M
Count
Count
Age: 16
Reputation: 34
Posts: 200
Joined: 19 Dec 2016
Location: Germany , Bonn

Post #2by Eri7 » 11 Feb 2017, 19:16

Awesome! Very good! 10/10! :clapping: :clapping: :clapping:
A very interesting international student!
Check my project!
Image
Image
You should check out this project too!
Image

Jackson455
Good citizen
Good citizen
Jackson455
Good citizen
Good citizen
Reputation: 2
Posts: 25
Joined: 23 Sep 2016

Post #3by Jackson455 » 11 Feb 2017, 22:12

DANG MAN, THIS LOOKS VERY AMAZING :D :clapping: :clapping:

MarioKirby101
Honourable citizen
Honourable citizen
Avatar
MarioKirby101
Honourable citizen
Honourable citizen
Reputation: 3
Posts: 35
Joined: 8 Aug 2016

Post #4by MarioKirby101 » 12 Feb 2017, 3:50

This looks amazing, would it be possible to transfer purchased items to the World Map inventory?

RSupertheGreat F
Baron
Baron
Avatar
RSupertheGreat F
Baron
Baron
Age: 11
Reputation: 85
Posts: 493
Joined: 22 Aug 2016
Location: What else could be better other than revealing my location?
Website Facebook Google+ Twitter

Post #5by RSupertheGreat » 12 Feb 2017, 5:38

People really liked your Teascript, dude. Including me :3 . Ayy, I think I'm gonna give a try by providing a video.

phpBB [youtube]

Original link: https://www.youtube.com/watch?v=8kNtDh2Ucb4

Image
Personality
Yes, I'm a girl. If you guys are thinking I'm a boy.
I have autism and ADHD. Which sometimes, I could easily get misunderstood.
I hate most people.
I don't even have a crush but..
Image
ImageImageImageImage
Image
My level/episode playthrough thread:http://wohlsoft.ru/forum/viewtopic.php?f=29&t=2185

..What are you doing in my signature? Copying my ideas in this? No way!

Alvespires M
Count
Count
Avatar
Alvespires M
Count
Count
Age: 17
Reputation: 8
Posts: 213
Joined: 20 Aug 2016
Location: Koopa Troopa Beach

Post #6by Alvespires » 12 Feb 2017, 16:30

Amazing!You did a great job on this one!This remembers me of other nintendo RPG games...
"This giant fish is a mouth breeder, so it spits babies out of its mouth at Mario." - Nintendo Power Strategy Guide for Super Mario Bros. 3, page 9.

I support:

Image
Image
Image

Thomas456 M
Duke
Duke
Avatar
Thomas456 M
Duke
Duke
Age: 15
Reputation: 23
Posts: 111
Joined: 12 Oct 2016

Post #7by Thomas456 » 12 Feb 2017, 16:34

This shop system is amazing! It's useful for my projects ! :clapping: :clapping: :clapping:
Image

I support these projects:

Supports :
Image

Image

Image

Image

Image


Hey! Come see my projects! :

Image Image

Greendan M
Count
Count
Avatar
Greendan M
Count
Count
Age: 16
Reputation: 67
Posts: 284
Joined: 26 Apr 2015
Location: Planet Caturn
Website Google+ Skype YouTube

Post #8by Greendan » 20 Feb 2017, 22:08

This script is amazing! :clapping: I've been wondering if there a way to make it, so that you can spend the starcoins, instead of the regular coins? :whistle:
Image
Current Project:
Image
Website: https://supermariobrosxgreendanedition.alle.bg

Favourite Catchphrase:
You've cat to be kitten me right meow!

Image
Image
Image


I Support:
Image
Image
Image
Image

Coolio__ M
Marquis
Marquis
Avatar
Coolio__ M
Marquis
Marquis
Age: 17
Reputation: 16
Posts: 178
Joined: 15 May 2016
Location: Somewhere safe in 'Murica

Post #9by Coolio__ » 25 Feb 2017, 2:11

This is a very nice script, but on SMBX-38A 1.4.4, buying certain items cause Run-time error '9'. :cry:
~Previously known as DaveDaCat101~
Image
Image
I Support
Image
Image
Image
ImageImage

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 18
Reputation: 120
Posts: 256
Joined: 29 Nov 2015
Location: France

Post #10by Catskart » 25 Feb 2017, 15:29

DaveDaCat101 wrote:This is a very nice script, but on SMBX-38A 1.4.4, buying certain items cause Run-time error '9'. :cry:

With the patch 1 this problem is resolved.

TheGreatMarioPerson
Count
Count
Avatar
TheGreatMarioPerson
Count
Count
Age: 13
Reputation: 16
Posts: 282
Joined: 3 Jul 2016
Location: Mushroom Kingdom

Post #11by TheGreatMarioPerson » 4 Apr 2017, 19:49

Wow catskart this is amazing. This is awesome, cant wait to use it in my project
Current Project: TLOM The Tale of The Star Spirits & MarioTale
Future Project: TLOM Attack on Dinosaur Island
I am a shy person, i dont talk to ppl very much but i can get REALLY
pissed off easy! :mad:


Im supporting this projects:
Spoiler
My Project: Image
Someone elses projects:
Image
Image
Image
Image
Image
Image

TheGreatMarioPerson
Count
Count
Avatar
TheGreatMarioPerson
Count
Count
Age: 13
Reputation: 16
Posts: 282
Joined: 3 Jul 2016
Location: Mushroom Kingdom

Post #12by TheGreatMarioPerson » 13 Apr 2017, 9:43

Also, is there a way to sell STAR COINS except NORMAL COINS? :yes:
Because i feel in my.episode star coins are useless to collect so i want a system where u can sells starcoins
Current Project: TLOM The Tale of The Star Spirits & MarioTale
Future Project: TLOM Attack on Dinosaur Island
I am a shy person, i dont talk to ppl very much but i can get REALLY
pissed off easy! :mad:


Im supporting this projects:
Spoiler
My Project: Image
Someone elses projects:
Image
Image
Image
Image
Image
Image

Greendan M
Count
Count
Avatar
Greendan M
Count
Count
Age: 16
Reputation: 67
Posts: 284
Joined: 26 Apr 2015
Location: Planet Caturn
Website Google+ Skype YouTube

Post #13by Greendan » 14 Apr 2017, 1:49

I have it with star coins :blush:
Image
Current Project:
Image
Website: https://supermariobrosxgreendanedition.alle.bg

Favourite Catchphrase:
You've cat to be kitten me right meow!

Image
Image
Image


I Support:
Image
Image
Image
Image

Eri7 M
Count
Count
Avatar
Eri7 M
Count
Count
Age: 16
Reputation: 34
Posts: 200
Joined: 19 Dec 2016
Location: Germany , Bonn

Post #14by Eri7 » 14 Apr 2017, 3:43

And i have it with dragon(yoshi) coins!
A very interesting international student!
Check my project!
Image
Image
You should check out this project too!
Image

TheGreatMarioPerson
Count
Count
Avatar
TheGreatMarioPerson
Count
Count
Age: 13
Reputation: 16
Posts: 282
Joined: 3 Jul 2016
Location: Mushroom Kingdom

Post #15by TheGreatMarioPerson » 14 Apr 2017, 12:52

greencat wrote:I have it with star coins :blush:
Do you know how to spend star coins?
Current Project: TLOM The Tale of The Star Spirits & MarioTale
Future Project: TLOM Attack on Dinosaur Island
I am a shy person, i dont talk to ppl very much but i can get REALLY
pissed off easy! :mad:


Im supporting this projects:
Spoiler
My Project: Image
Someone elses projects:
Image
Image
Image
Image
Image
Image

Greendan M
Count
Count
Avatar
Greendan M
Count
Count
Age: 16
Reputation: 67
Posts: 284
Joined: 26 Apr 2015
Location: Planet Caturn
Website Google+ Skype YouTube

Post #16by Greendan » 14 Apr 2017, 13:13

UnderFan24 wrote:
greencat wrote:I have it with star coins :blush:
Do you know how to spend star coins?
Yes, catskart helped me to make it with star coins. I can send it to you if you want.
Image
Current Project:
Image
Website: https://supermariobrosxgreendanedition.alle.bg

Favourite Catchphrase:
You've cat to be kitten me right meow!

Image
Image
Image


I Support:
Image
Image
Image
Image

TheGreatMarioPerson
Count
Count
Avatar
TheGreatMarioPerson
Count
Count
Age: 13
Reputation: 16
Posts: 282
Joined: 3 Jul 2016
Location: Mushroom Kingdom

Post #17by TheGreatMarioPerson » 14 Apr 2017, 15:56

yes please. :yes:
Current Project: TLOM The Tale of The Star Spirits & MarioTale
Future Project: TLOM Attack on Dinosaur Island
I am a shy person, i dont talk to ppl very much but i can get REALLY
pissed off easy! :mad:


Im supporting this projects:
Spoiler
My Project: Image
Someone elses projects:
Image
Image
Image
Image
Image
Image

Greendan M
Count
Count
Avatar
Greendan M
Count
Count
Age: 16
Reputation: 67
Posts: 284
Joined: 26 Apr 2015
Location: Planet Caturn
Website Google+ Skype YouTube

Post #18by Greendan » 14 Apr 2017, 17:46

Ok, I will explain how to use it:
1. Create a global variable in the world map (example: "starcoin");
2. Go to a level and make every star coin to trigger this script when you collect them (Death):

Code: Select all

gval(starcoin)=gval(starcoin)+1.

3. Go to the shop and change the script named "Value" with this:

Code: Select all

------------------------------------------CUSTOM SHOP SYSTEM--------------------------------
'By Catskart
'-------------------------------------------------------------------------------------------------------------
'Script : Value.
'This script will set all necesary values and bitmap for the functionment.

'Disable all jumps
sysval(Disablejump)=1
sysval(Disablespinjump)=1

'Set the item in the itembox, we need to use the HUDSET for that.
call HUDSet("initialize", 0, 0, 0, 0, 0, 0, 0, 0, 0)
call HUDSet("bitmap", 1,0,0,1,1,96,280,5001,-1)

'Set the Life and coin value to set the money (1 life=100 coins)
val(Money)=gval(starcoin)
'Goto money will be show, it makes the transition from a number to another one.
val(GotoMoney)=val(Money)

'Set the cursor, his coordonate will be by 32 pixels
call BmpCreate(1, 1, 1, 1, 0, 0, 32, 32, val(cursorX)*16, -7+val(cursorY)*16, 1, 1, 0,0, 0, -1)


do
'Imobilize the player.
char(1).x=char(2).x
char(1).facing=0

'GotoMoney transition
if val(GotoMoney) > val(Money) then
val(GotoMoney)=val(GotoMoney)-1
call tcreate([SOUND]Coin,0)
elseif val(GotoMoney) < val(Money) then
val(GotoMoney)=val(GotoMoney)+1
call tcreate([SOUND]Coin,0)
end if
'Cursor coordonate
Bitmap(1).destx=val(cursorX)*32
Bitmap(1).desty=-7+val(cursorY)*32
'Set the sysval the new value for lives and coins if the player click on "Quit".
if val(Menu)=-1 then
gval(starcoin)=val(Money)
end if
call sleep(1)
loop

Note that you have to change the prices of the items, because you don't wanna pay 10 star coins for a single mushroom do you? :biggrin:
I may be missing something, so tell me if it worked. Hope it helped! :)
Image
Current Project:
Image
Website: https://supermariobrosxgreendanedition.alle.bg

Favourite Catchphrase:
You've cat to be kitten me right meow!

Image
Image
Image


I Support:
Image
Image
Image
Image

TheGreatMarioPerson
Count
Count
Avatar
TheGreatMarioPerson
Count
Count
Age: 13
Reputation: 16
Posts: 282
Joined: 3 Jul 2016
Location: Mushroom Kingdom

Post #19by TheGreatMarioPerson » 15 Apr 2017, 16:47

wow thx! ;-)
(srry for the late reply)

Added after 25 minutes 9 seconds:
it dindt work....

Added after 8 days 22 hours:
This script doesnt work, i tried on level and it didnt work.
Last edited by TheGreatMarioPerson on 29 Apr 2017, 14:58, edited 1 time in total.
Current Project: TLOM The Tale of The Star Spirits & MarioTale
Future Project: TLOM Attack on Dinosaur Island
I am a shy person, i dont talk to ppl very much but i can get REALLY
pissed off easy! :mad:


Im supporting this projects:
Spoiler
My Project: Image
Someone elses projects:
Image
Image
Image
Image
Image
Image

Alvespires M
Count
Count
Avatar
Alvespires M
Count
Count
Age: 17
Reputation: 8
Posts: 213
Joined: 20 Aug 2016
Location: Koopa Troopa Beach

Post #20by Alvespires » 24 Apr 2017, 17:53

BlueAsriel24 wrote:wow thx! ;-)
(srry for the late reply)


it dindt work....


This script doesnt work, i tried on world map and it didnt work.
The script is on level not in world map.Just the variable is on world map.
"This giant fish is a mouth breeder, so it spits babies out of its mouth at Mario." - Nintendo Power Strategy Guide for Super Mario Bros. 3, page 9.

I support:

Image
Image
Image


Return to “Script submission”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest