mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Merge pull request #5993 from imgntn/furniture_adjustments
[Scripts] Toybox Furniture adjustments
This commit is contained in:
commit
b2ef114e13
1 changed files with 4 additions and 4 deletions
|
@ -71,13 +71,13 @@ function createAllToys() {
|
|||
|
||||
createCombinedArmChair({
|
||||
x: 549.29,
|
||||
y: 495.05,
|
||||
y: 494.9,
|
||||
z: 508.22
|
||||
});
|
||||
|
||||
createPottedPlant({
|
||||
x: 554.26,
|
||||
y: 495.23,
|
||||
y: 495.2,
|
||||
z: 504.53
|
||||
});
|
||||
|
||||
|
@ -98,7 +98,7 @@ function createAllToys() {
|
|||
function deleteAllToys() {
|
||||
var entities = Entities.findEntities(MyAvatar.position, 100);
|
||||
|
||||
entities.forEach(function (entity) {
|
||||
entities.forEach(function(entity) {
|
||||
//params: customKey, id, defaultValue
|
||||
var shouldReset = getEntityCustomData(resetKey, entity, {}).resetMe;
|
||||
if (shouldReset === true) {
|
||||
|
@ -831,4 +831,4 @@ function cleanup() {
|
|||
if (shouldDeleteOnEndScript) {
|
||||
|
||||
Script.scriptEnding.connect(cleanup);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue