Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !function() {
- SWAM.on("gameRunning", () => {
- let UI_newScore = UI.newScore;
- UI.newScore = function (data) {
- if (data.upgrades == parseInt($("#score-upgrades").html()) + 1)
- {
- // Change this to whatever you want
- Network.sendSay("Added to my collection...");
- }
- return UI_newScore.call(UI, data);
- };
- });
- SWAM.registerExtension({
- name: "The Collector",
- id: "collector",
- description: "speech bubble messages whenever you pick up an upgrade box",
- author: "Bombita, connormce10",
- version: "2.0"
- });
- }();
Add Comment
Please, Sign In to add comment