Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- // Pi Clicker!
- // Author: Edmund C.
- // Desc: This is Pi Clicker. You click pi.
- // Created: 7/4/24
- // Version: 0.1
- // Settings
- Settings {
- tilingBackground: "PiBG.png";
- buildingCostIncrease: 100.314159%;
- buildingCostRefund: 31.415926%;
- }
- // CSS
- CSS {
- #game.filtersOn .thing.cantAfford.notOwned {
- filter: blur(3px);
- }
- }
- // Layout
- Layout {
- resources {
- contains: Resources;
- header: Pis;
- }
- buildings {
- contains: Buildings;
- header: Buildings/Helpers;
- }
- unlockables {
- contains: Upgrades, Achievements;
- names: hide;
- }
- boxKey {
- contains: Upgrades, Buildings;
- header: UPGRADES BUILDINGS;
- names: show;
- icons: show;
- costs: show;
- ps: show;
- }
- boxKey1 {
- contains: Resources;
- header: PIS;
- names: show;
- icons: show;
- costs: show;
- ps: show;
- }
- }
- // Game Elements
- PiClick {
- name: ThePi;
- desc: Click for Pi;
- on click: yield 1 Pi;
- }
- pi {
- name: Pi;
- desc: Buy stuff with Pi!;
- show earned (thingKey: ps);
- }
- // Buildings
- coder {
- name: Coder;
- desc: Calculates 1 pi/sec;
- on tick: yield 1 Pi;
- cost: 30 Pi;
- cost increase: 100.31415%;
- cost refund: 90%;
- }
- geometrist {
- name: Geometrist;
- desc: Calculates 3 pi/sec;
- on tick: yield 3 Pi;
- cost: 100 Pi;
- cost increase: 100.31415%;
- cost refund: 90%;
- }
- ai {
- name: AI;
- desc: Calculates 7 pi/sec (50% uptime);
- on tick: yield 3.5 Pi;
- cost: 200 Pi;
- cost increase: 100.31415%;
- cost refund: 90%;
- }
- prorobot {
- name: ProgrammedRobot;
- desc: Calculates 31 pi/sec;
- on tick: yield 31 Pi;
- cost: 800 Pi;
- cost increase: 100.31415%;
- cost refund: 90%;
- }
- piwizard {
- name: PiWizard;
- desc: Calculates 300 pi/sec;
- on tick: yield 300 Pi;
- cost: 2000 Pi;
- cost increase: 100.31415%;
- cost refund: 90%;
- }
- // Upgrades
- chromebook {
- name: Chromebook;
- desc: Upgrades 1.5x Coder, Geometrist;
- passive: multiply yield of coder, geometrist by 1.5;
- cost: 150 Pi;
- }
- macbook {
- name: MacBook;
- desc: Upgrades 2x;
- passive: multiply yield of coder, geometrist, ai, prorobot by 2;
- cost: 400 Pi;
- }
- // Special Events
- piboost {
- name: PiBoost;
- on click: yield random(100, 1000) Pi;
- movement: anywhere fade bounce moveRandom;
- frequency: 120;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement