Skip to content

Commit

Permalink
Merge pull request #830 from Muttley/829-chore-remove-all-tours
Browse files Browse the repository at this point in the history
Remove all Tours related code
  • Loading branch information
Muttley authored Jul 7, 2024
2 parents 87a7dee + cee1510 commit 85071ae
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 1,028 deletions.
2 changes: 0 additions & 2 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,9 @@ SHADOWDARK.chat.spell_roll.title: "{name}, DC {spellDC}"
SHADOWDARK.chat.use_ability.failure: "{name} failed to used the {ability} ability"
SHADOWDARK.chat.use_ability.success: "{name} successfully used the {ability} ability"
SHADOWDARK.chat.use_ability.title: "Using Ability"
SHADOWDARK.chat.welcome_message.intro: "To quickly get familiar with the system, check out the provided guided tours by clicking on the following button:"
SHADOWDARK.chat.welcome_message.issue_tracker_button: Issue Tracker
SHADOWDARK.chat.welcome_message.issues: "If you find any issues or have ideas for new features for the system. Check out our issue tracker:"
SHADOWDARK.chat.welcome_message.title: Shadowdark RPG for Foundry
SHADOWDARK.chat.welcome_message.tour_button: Shadowdark RPG Tours
SHADOWDARK.chatcard.default: Roll
SHADOWDARK.class-ability.ability.check: Ability Check
SHADOWDARK.class-ability.ability.label: Ability
Expand Down
3 changes: 0 additions & 3 deletions system/shadowdark.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import * as documents from "./src/documents/_module.mjs";
import * as sheets from "./src/sheets/_module.mjs";

import { ModuleArt } from "./src/utils/module-art.mjs";
import { ToursSD } from "./src/tours.mjs";

import {
HooksSD,
Expand Down Expand Up @@ -128,8 +127,6 @@ Hooks.on("ready", async () => {
HooksSD.attach();
listenOnSocket();

ToursSD.register();

chat.messages.welcomeMessage();

UtilitySD.showNewReleaseNotes();
Expand Down
5 changes: 0 additions & 5 deletions system/src/chat/messages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ export async function welcomeMessage() {

function _initListeners() {
// Add listeners
$(document).on("click", "button.shadowdark-tours", event => {
event.preventDefault();
shadowdark.log("Importing a Shadowdarkling");
new ToursManagement().render(true);
});

$(document).on("click", "button.shadowdark-issue-tracker", event => {
event.preventDefault();
Expand Down
23 changes: 0 additions & 23 deletions system/src/tours.mjs

This file was deleted.

73 changes: 0 additions & 73 deletions system/src/tours/ShadowdarkTour.mjs

This file was deleted.

Loading

0 comments on commit 85071ae

Please sign in to comment.