Skip to content

Project editing cheat sheet

codeGlaze edited this page Apr 10, 2019 · 2 revisions

What's this for?

Orcpub is not a simple project to dive into, having documentation of frequently edited areas of the project is super useful. So those notes should be kept public so others can benefit!

Note: This doc will be presumed almost constantly WIP.

Orcbrew import/export

Warning: The import/export process isn't just one simple function, it has several moving parts.

The import/export process starts here, though:

https://github.com/Orcpub/orcpub/blob/develop/src/cljs/orcpub/dnd/e5/views.cljs#L6896

CSS

CSS is compiled/minified at build time, from a core file.

The CSS core file is found here:

https://github.com/Orcpub/orcpub/blob/develop/src/clj/orcpub/styles/core.clj

Magic Item Editing/Changes

The save event for custom items: https://github.com/Orcpub/orcpub/blob/develop/src/cljs/orcpub/dnd/e5/views.cljs#L7245

Magic Item Builder: https://github.com/Orcpub/orcpub/blob/develop/src/cljc/orcpub/dnd/e5/magic_items.cljc