diff options
author | Minteck <contact@minteck.org> | 2022-08-31 22:03:07 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-08-31 22:03:07 +0200 |
commit | b5f589c323f415bb42ea7069cb4d1a8a2233dd69 (patch) | |
tree | c3b80234ab7f463a2e7b8b672ceff57422b3496b /includes/bitset.php | |
parent | 09bd0164ebc020a54b944b7326dcba496fb5d82c (diff) | |
download | pluralconnect-b5f589c323f415bb42ea7069cb4d1a8a2233dd69.tar.gz pluralconnect-b5f589c323f415bb42ea7069cb4d1a8a2233dd69.tar.bz2 pluralconnect-b5f589c323f415bb42ea7069cb4d1a8a2233dd69.zip |
Update I guess - Stuffie
Diffstat (limited to 'includes/bitset.php')
-rw-r--r-- | includes/bitset.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/bitset.php b/includes/bitset.php index 6483669..2e5a645 100644 --- a/includes/bitset.php +++ b/includes/bitset.php @@ -7,6 +7,8 @@ function parseBitset ($bitset) { $median = substr($bin, 10 + 16, 1) !== "0"; $little = bindec(substr($bin, 11 + 16, 2)); $food = bindec(substr($bin, 16, 2)); + $nonverbal = substr($bin, 15, 1) !== "0"; + $lessFrequent = substr($bin, 14, 1) !== "0"; $magic = bindec(substr($bin, 2 + 16, 3)); $sensitivity = bindec(substr($bin, 5 + 16, 3)); $protector = substr($bin, 13 + 16, 1) !== "0"; @@ -63,6 +65,8 @@ function parseBitset ($bitset) { 'sensitivity' => $sensitivity, 'food' => $food, 'plush' => $plush, + 'nonverbal' => $nonverbal, + 'less_frequent' => $lessFrequent, 'age_spells' => $age, 'species' => array_filter([ $species1, |