-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Noaaan <[email protected]>
- Loading branch information
Showing
5 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package nourl.mythicmetals.compat; | ||
|
||
import nl.enjarai.cicada.api.conversation.ConversationManager; | ||
import nl.enjarai.cicada.api.util.*; | ||
|
||
public class CicadaInit implements CicadaEntrypoint { | ||
@Override | ||
public void registerConversations(ConversationManager conversationManager) { | ||
conversationManager.registerSource( | ||
JsonSource.fromResource("data/cicada/meme_metals/conversations.json"), ProperLogger.getLogger("MythicMetals")::info | ||
); | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
src/main/resources/data/cicada/meme_metals/conversations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"mod_id": "mythicmetals", | ||
"conversations": { | ||
"cicada:greetings": { | ||
"lines": [ | ||
{ | ||
"text": "A Cicada? Free Gray Dye...", | ||
"order": 64 | ||
} | ||
] | ||
}, | ||
"mythicmetals:independence_day": { | ||
"priority": { | ||
"priority": 1000, | ||
"override": 100 | ||
}, | ||
"condition": { | ||
"type": "cicada:date", | ||
"month": 5, | ||
"day": 17 | ||
}, | ||
"lines": [ | ||
{ | ||
"order": 0, | ||
"text": "Gratulerer med dagen!" | ||
} | ||
] | ||
}, | ||
"cicada:good_old_days": { | ||
"lines": [ | ||
{ | ||
"text": "Stop babbling!... need to mine more Unobtainium.", | ||
"order": 64 | ||
} | ||
] | ||
}, | ||
"cicada:christmas": { | ||
"lines": [ | ||
{ | ||
"text": "Happy holidays!", | ||
"order": 64 | ||
} | ||
] | ||
}, | ||
"cicada:new_year": { | ||
"lines": [ | ||
{ | ||
"text": "\uD83C\uDF86\uD83C\uDF86\uD83C\uDF86", | ||
"order": 39 | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters