Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
bin/
obj/
obj/
.vs/
Icon Sources/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like a personal thing, not something that should be in the template

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .vs/ thing kills me every time. I had to fork the mod-template. :)

*.user
5 changes: 5 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def sync_folder(src: Path, dst: Path):
MOD_DLL = MOD_BIN / DLL_NAME
MOD_PATH = MODS_ROOT / MOD_ID

# check dll has unique name
if DLL_NAME.lower() == "examplemod.dll":
print("Did you forget to rename the DLL in the project settings?")
exit(1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is why pull requests aren't requests. Not demands. At least put something there.


# copy dll
MOD_PATH.mkdir(exist_ok=True)
shutil.copyfile(MOD_DLL, MOD_PATH / f"{DLL_NAME}")
Expand Down
1 change: 1 addition & 0 deletions localization.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Term Notes English
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if including a localization file is a good choice

  • People going through the tutorial could be confused by it, as the tutorial tells them to download a completely different file
  • I assume most people would use a tool like Google Sheets to edit their localization files instead of a code/text editor
  • Even if the above assumption is incorrect, it's easy enough to create manually thanks to the localization guide

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm old school. I edit the file in visual studio directly.