mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:16:16 +02:00
17 lines
443 B
JavaScript
17 lines
443 B
JavaScript
(function() {
|
|
Script.include('utils.js');
|
|
|
|
var Fuse = function() {
|
|
};
|
|
Fuse.prototype = {
|
|
onLit: function() {
|
|
print("LIT", this.entityID);
|
|
var fuseID = Utils.findEntity({ name: "tutorial/equip/fuse" }, 20);
|
|
Entities.callEntityMethod(fuseID, "light");
|
|
},
|
|
preload: function(entityID) {
|
|
this.entityID = entityID;
|
|
},
|
|
};
|
|
return new Fuse();
|
|
});
|