Save-Point
CSS (Custom Shop System) - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Archives (https://www.save-point.org/forum-105.html)
+--- Forum: Creation Asylum Archives (https://www.save-point.org/forum-90.html)
+---- Forum: Scripts & Code Snippets (https://www.save-point.org/forum-92.html)
+----- Forum: RPG Maker XP Code (https://www.save-point.org/forum-93.html)
+------ Forum: Enhancement/Modification Scripts (https://www.save-point.org/forum-98.html)
+------ Thread: CSS (Custom Shop System) (/thread-6547.html)



CSS (Custom Shop System) - Samo the thief - 01-29-2007

CSS (Custom Shop System) *Animated!*
By Samo, the thief
V 1.0
Jan 29 2007

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


It has some taxes, introductions and it looks very cool



CODE:
-----
here it is:

CODE



INSTRUCTIONS:
-------------


- Place this script above Main and delte the original Scene_Shop.

- Then put this in Scene_Title, under this and add the line in ADDED:

Code:
$game_player        = Game_Player.new
    #---------ADDED-----------------------
    $shop_line = []
    #---------ADDED--------------------------------------------




CREATING A SHOP:

-Call the shop in the normal form, but before calling, put this in a call
script:


Code:
$shop_line.push(LINE)


Put as many of these commands you want, but have in mind they will be lines
EX:



Code:
$shop_line.push("Welcome to Diggin's Shop. I have many strange")
     $shop_line.push("potions for you. My prices are the best in Lyna.")
     $shop_line.push("You may check them all you want. Take your time")
     $shop_line.push("and maybe you'll be interested in something.")


Then Doing the new feauture. Put this in a new call script:


Code:
$shop_tax = X


X is a number will be plus to all prices of the shop. If you don't want this,
just put it as 0. Put this two things in all shops you create.


FEATURES:
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Introduction in a shop.
- Animations of Windows added.
- Colors in some items
- Better Shop status
- Taxes in shops
- Now creating shops is really fun and customizable.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Enjoy the script and give me the credit. Replies please! What do you think of this?

Samo, the thief.