Skip to content

Commit 2d3c399

Browse files
committed
fix img str prefix base class issue
1 parent a99704f commit 2d3c399

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

Monika After Story/game/sprite-chart.rpy

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6011,6 +6011,27 @@ init -3 python:
60116011
"""
60126012
raise NotImplementedError
60136013

6014+
def _build_img_str_prefix(self, prefix):
6015+
"""
6016+
Builds img string prefix to use for loadstrs
6017+
6018+
IN:
6019+
prefix - prefix to build with
6020+
6021+
RETURNS: img string prefix to use
6022+
"""
6023+
if self.use_folders:
6024+
return prefix + [
6025+
self.img_sit,
6026+
"/",
6027+
]
6028+
6029+
return prefix + [
6030+
store.mas_sprites.PREFIX_ACS,
6031+
self.img_sit,
6032+
store.mas_sprites.ART_DLM,
6033+
]
6034+
60146035

60156036
class MASAccessory(MASAccessoryBase):
60166037
"""
@@ -6153,27 +6174,6 @@ init -3 python:
61536174
for hlc in mfm.unique_values()
61546175
]
61556176

6156-
def _build_img_str_prefix(self, prefix):
6157-
"""
6158-
Builds img string prefix to use for loadstrs
6159-
6160-
IN:
6161-
prefix - prefix to build with
6162-
6163-
RETURNS: img string prefix to use
6164-
"""
6165-
if self.use_folders:
6166-
return prefix + [
6167-
self.img_sit,
6168-
"/",
6169-
]
6170-
6171-
return prefix + [
6172-
store.mas_sprites.PREFIX_ACS,
6173-
self.img_sit,
6174-
store.mas_sprites.ART_DLM,
6175-
]
6176-
61776177
def build_loadstrs(self, prefix):
61786178
"""
61796179
See MASSpriteBase.build_loadstrs

0 commit comments

Comments
 (0)