Adventure.js Docs Downloads
Score: 0 Moves: 0
Tutorial explaining how to work with custom templates in Adventurejs. tutorial, custom templates

How to:Use Custom Templates

Custom Templates body text.

Though these look like Javascript template literals, they are not.* asset:{ string: "The icy north door is $( north is open or closed ).", to split this use var bar = foo.split(':').map(function(e){return (e.trim())}) split and serialize var bar = foo.split(':').map(function(e){return (MyGame.serialize(e.trim()))}) literal: function(){ return ${} } }
Documentation generated by JSDoc 3.6.11 on Mon Nov 20 2023 18:04:50 GMT-0800 (Pacific Standard Time)
Found a problem or error in the docs? Report it to