Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Idle Phone Tycoon
- by:Someonewhodoesntwanttoshowtheirname
- created:8/2/2020
- version:1.0
- CSS
- #game
- {
- height:auto;
- min-height:auto;
- }
- #box-firstbox
- {
- top:0px;
- left:0px;
- bottom:0px;
- overflow:hidden;
- width:60%;
- position:absolute;
- background-color:rgba(47,85,99);
- }
- #box-managebox
- {
- overflow:hidden;
- width:350px;
- height:90px;
- background-color:rgba(0, 0, 0, 0.4);
- border-left-style:solid;
- border-top-style:solid;
- border-width:3px;
- text-align:center;
- }
- #box-storesbox
- {
- overflow:hidden;
- left:350px;
- bottom:90px;
- width:347px;
- height:90px;
- background-color:rgba(0, 0, 0, 0.4);
- border-right-style:solid;
- border-top-style:solid;
- border-width:3px;
- text-align:center;
- }
- #box-shippingbox
- {
- overflow:hidden;
- width:697px;
- height:44px;
- left:0px;
- bottom:90px;
- background-color:rgba(125,125,125,0.4);
- border-left-style:solid;
- border-right-style:solid;
- border-bottom-style:solid;
- border-width:3px;
- text-align:center;
- }
- #box-upgradebox
- {
- left:705px;
- width:45%;
- height:100%;
- background-color:rgba(47,85,99);
- position:absolute;
- }
- Settings
- background: https://www.shutterstock.com/image-photo/gold-abstract-bokeh-background-524844553
- Resources
- *cash
- name:Cash
- desc:Your current money.
- start with:100
- tag:firstbox
- *phonesInSupply
- name:Phones In Supply
- tag:firstbox
- no tooltip
- *currentCustomers
- name:Customers In Store
- tag:firstbox
- no tooltip
- *maxCustomers
- name:jsshjd
- always hidden
- *numberofjanitors
- always hidden
- *shippingCapacity
- name:Capacity
- tag:shipping
- no tooltip
- *researchtime
- always hidden
- *store1cost
- start with:650
- always hidden
- *store2cost
- start with:3400
- always hidden
- *store3cost
- start with:27890
- always hidden
- *janitorcost
- start with:150
- always hidden
- Layout
- *firstbox
- contains:tag:firstbox
- header:</b>Main</b>
- *managebox
- contains:tag:manage
- header:</b>Manage</b>
- *storesbox
- header:</b>Stores and Staff</b>
- contains:tag:storesbox
- *shippingbox
- header:</b>Shipping Vehicles</b>
- contains:tag:shipping
- *upgradebox
- header:</b>Store Improvements</b>
- contains:tag:upgrades
- Buttons
- //MANAGE
- *closestore1
- name:Close Small Store
- on click:lose 1 store1
- on click:yield (store1cost/2)
- tag:manage
- *closestore2
- name:Close Standard Store
- on click:lose 1 store2
- on click:yield (store2cost/2)
- tag:manage
- *closestore3
- name:Close Large Store
- on click:lose 1 store3
- on click:yield (store3cost/2)
- tag:manage
- *firejanitor
- name:Fire a Janitor
- on click:lose 1 janitor
- tag:manage
- //STORES AND STAFF
- *store1buy
- name:Build a Small Store - [store1cost] Cash
- on click:lose researchtime
- on click:if (researchtime=5) yield 1 store2
- on click:
- if (researchtime<5) hide closestore1
- if (researchtime<5) hide tag:storesbox
- if (researchtime<5) hide tag:shipping
- if (researchtime<5) hide tag:upgrades
- end
- on click:lose store1cost
- on click:yield (store1cost+(store1cost/2.1)) store1cost
- tag:storesbox
- *store2buy
- name:Build a Standard Store - [store2cost] Cash
- on click:lose researchtime
- on click:if (researchtime=5) yield 1 store2
- on click:
- if (researchtime<5) hide closestore2
- if (researchtime<5) hide tag:storesbox
- if (researchtime<5) hide tag:shipping
- if (researchtime<5) hide tag:upgrades
- end
- on click:lose store2cost
- on click:yield (store2cost+(store2cost/2.1))store2cost
- tag:storesbox
- *store3buy
- name:Build a Large Store - [store3cost] cash
- on click:lose researchtime
- on click:if (researchtime=5) yield 1 store3
- on click:
- if (researchtime<5) hide closestore3
- if (researchtime<5) hide tag:storesbox
- if (researchtime<5) hide tag:shipping
- if (researchtime<5) hide tag:upgrades
- end
- on click:lose store1cost
- on click:yield (store3cost+(store3cost/2.1))store3cost
- tag:storesbox
- *janitorhire
- name:Hire a Janitor - [janitorcost] cash
- no tooltip
- on click:lose researchtime
- on click:if (researchtime=5) yield 1 janitor
- on click:
- if (researchtime<5) hide firejanitor
- if (researchtime<5) hide tag:storesbox
- if (researchtime<5) hide tag:shipping
- if (researchtime<5) hide tag:upgrades
- end
- on click:lose janitorcost
- on click:yield (janitorcost+(janitorcost/2.1))janitorcost
- tag:storesbox
Add Comment
Please, Sign In to add comment