Roll20 Sheet Model


License

License

MIT
GroupId

GroupId

com.lkroll
ArtifactId

ArtifactId

roll20-sheet-model_sjs1_2.12
Last Version

Last Version

0.11.5
Release Date

Release Date

Type

Type

jar
Description

Description

Roll20 Sheet Model
Roll20 Sheet Model
Project URL

Project URL

https://github.com/Bathtor/sheet-framework
Project Organization

Project Organization

com.lkroll
Source Code Management

Source Code Management

https://github.com/Bathtor/sheet-framework

Download roll20-sheet-model_sjs1_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.lkroll/roll20-sheet-model_sjs1_2.12/ -->
<dependency>
    <groupId>com.lkroll</groupId>
    <artifactId>roll20-sheet-model_sjs1_2.12</artifactId>
    <version>0.11.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.lkroll/roll20-sheet-model_sjs1_2.12/
implementation 'com.lkroll:roll20-sheet-model_sjs1_2.12:0.11.5'
// https://jarcasting.com/artifacts/com.lkroll/roll20-sheet-model_sjs1_2.12/
implementation ("com.lkroll:roll20-sheet-model_sjs1_2.12:0.11.5")
'com.lkroll:roll20-sheet-model_sjs1_2.12:jar:0.11.5'
<dependency org="com.lkroll" name="roll20-sheet-model_sjs1_2.12" rev="0.11.5">
  <artifact name="roll20-sheet-model_sjs1_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.lkroll', module='roll20-sheet-model_sjs1_2.12', version='0.11.5')
)
libraryDependencies += "com.lkroll" % "roll20-sheet-model_sjs1_2.12" % "0.11.5"
[com.lkroll/roll20-sheet-model_sjs1_2.12 "0.11.5"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.13
org.scala-js : scalajs-library_2.12 jar 1.5.0
com.lkroll : roll20-core_sjs1_2.12 jar 0.13.3

test (2)

Group / Artifact Type Version
org.scala-js : scalajs-test-bridge_2.12 jar 1.5.0
org.scalatest : scalatest_sjs1_2.12 jar 3.2.5

Project Modules

There are no modules declared in this project.

Scala Framework for Roll20 Sheets

CI

  • Sheet Model: Maven Central
  • Sheet Framework: Maven Central

A Framework for writing Roll20 sheets in Scala, with the HTML being generated on the JVM, and the sheet workers compiled to Javascript from Scala.js and then merged with the HTML to give a single uploadable HTML file. Also generates CSS and translation.json ready for uploading.

The framework is separated into two parts:

  1. The model contains field declarations and can be shared between Sheet HTML Generation, Sheet Workers, and API Scripts.
  2. The framework covers sheet HTML and CSS generation on the JVM side and Sheet Workers on the JS side.

Implemented Features

  • Field Model shared between HTML generation and sheet worker JS
  • Type-safe DSL for Roll20's rollable expressions
  • Sheet I18N
  • Roll Templates
  • Mixed source and Scalatags-generated CSS with colour palette injection
  • Operation chaining for sheet worker field access/update
  • Integration with Roll20 API scripts

Versions

Version
0.11.5
0.11.4