tpmkms_4wp 9.1.1-beta.6 → 9.1.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/colors.instance.json +28 -0
- package/common/dialogues.js +2 -1
- package/common/edible.instance.json +112 -0
- package/common/fastfood.instance.json +1383 -1653
- package/common/formulas.js +3 -1
- package/common/helpers/concept.js +6 -2
- package/common/helpers/dialogues.js +1 -1
- package/common/menus.instance.json +6261 -5
- package/common/menus.js +102 -5
- package/common/menus.test.json +5306 -1
- package/common/people.instance.json +0 -36
- package/common/pipboy.instance.json +56 -0
- package/common/pokemon.instance.json +0 -8
- package/common/reports.instance.json +14 -22
- package/common/wp.instance.json +56 -0
- package/package.json +2 -2
package/common/formulas.js
CHANGED
@@ -50,7 +50,11 @@ class API {
|
|
50
50
|
const objectSingular = pluralize.singular(objectWord)
|
51
51
|
const objectPlural = pluralize.plural(objectWord)
|
52
52
|
// config.addOperator({ pattern: `(${modifierIds.map((modifierId) => `(${modifierId}/*)`).join(' ')} [${modifiersObjectId}] (${objectId}/0))`, allowDups: true })
|
53
|
-
|
53
|
+
if (false) {
|
54
|
+
config.addOperator({ pattern: `(${modifierIds.map((modifierId) => `(${modifierId}/*)`).join(' ')} [${modifiersObjectId}] (${objectId}/*))`, allowDups: true })
|
55
|
+
} else {
|
56
|
+
config.addOperator({ pattern: `(${modifierIds.map((modifierId) => `(@==${modifierId})`).join(' ')} [${modifiersObjectId}] (@==${objectId}))`, allowDups: true })
|
57
|
+
}
|
54
58
|
// config.addOperator({ pattern: `(<${modifierId}|> ([${objectId}|]))`, allowDups: true })
|
55
59
|
// config.addOperator({ pattern: `([${modifierObjectId}|])`, allowDups: true })
|
56
60
|
|
@@ -91,7 +95,7 @@ class API {
|
|
91
95
|
})
|
92
96
|
// modifierds.forEach((modifierId) => config.addWord(modifierId, { id: modifierId, initial: `{ value: '${modifierId}' }`}))
|
93
97
|
|
94
|
-
modifierIds.forEach((modifierId) => config.addBridge({ id: modifierId, level: 0, bridge: `{ ...next(operator), value: '${modifierId}' }`, allowDups: true }))
|
98
|
+
modifierIds.forEach((modifierId) => config.addBridge({ id: modifierId, level: 0, bridge: `{ ...next(operator), value: or(operator.value, '${modifierId}') }`, allowDups: true }))
|
95
99
|
config.addBridge({ id: objectId, level: 0, bridge: `{ ...next(operator), value: '${objectId}' }`, allowDups: true })
|
96
100
|
// config.addBridge({ id: modifierObjectId, level: 0, bridge: `{ ...next(operator), value: '${modifierObjectId}' }`, allowDups: true })
|
97
101
|
const modifierProperties = modifierIds.map((modifierId, index) => `'modifier_${modifierId}': before[${index}]`).join(', ')
|
@@ -102,7 +102,7 @@ class API {
|
|
102
102
|
}
|
103
103
|
// config.addOperator({ pattern: `(["${fixUps(concept)}"])`, allowDups: true })
|
104
104
|
config.addOperator({ pattern: `(["${concept}"])`, allowDups: true })
|
105
|
-
config.addBridge({ id: concept, level: 0, bridge: `{ ...next(operator), value: '${source_value || concept}' }` , allowDups: true })
|
105
|
+
config.addBridge({ id: concept, level: 0, bridge: `{ ...next(operator), value: or(operator.value, '${source_value || concept}') }` , allowDups: true })
|
106
106
|
const addConcept = (word, number) => {
|
107
107
|
config.addWord(word, { id: concept, initial: `{ value: "${source_value || concept}", number: "${number}" }` } )
|
108
108
|
const baseTypes = [
|