Compare commits
14 Commits
main
...
chinese-tl
Author | SHA1 | Date | |
---|---|---|---|
336b7905a8 | |||
98671e3459 | |||
aac7249e84 | |||
1b1bc53759 | |||
8af7186c97 | |||
9660dc1ba6 | |||
4a1d831b82 | |||
5c952fe7da | |||
24c27d40ce | |||
fb3cc812a0 | |||
2c8e17107b | |||
86134e19ae | |||
992b0f77d5 | |||
64476c1767 |
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
define character.genie_say = Character("Genie", show_icon="genie")
|
define character.genie_say = Character(_("Genie"), show_icon="genie")
|
||||||
|
|
||||||
init python:
|
init python:
|
||||||
def gen(what, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
def gen(what, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, **kwargs):
|
||||||
|
@ -4,7 +4,7 @@ default _no_clothes = False
|
|||||||
|
|
||||||
label potion_ass_make:
|
label potion_ass_make:
|
||||||
|
|
||||||
call give_reward("You have successfully created a new potion!", ass_potion_ITEM)
|
call give_reward(_("You have successfully created a new potion!"), ass_potion_ITEM)
|
||||||
|
|
||||||
gen "There we go." ("base", xpos="far_left", ypos="head")
|
gen "There we go." ("base", xpos="far_left", ypos="head")
|
||||||
play sound "sounds/sniff.ogg"
|
play sound "sounds/sniff.ogg"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
label potion_breasts_make:
|
label potion_breasts_make:
|
||||||
|
|
||||||
call give_reward("You have successfully created a new potion!", breast_potion_ITEM)
|
call give_reward(_("You have successfully created a new potion!"), breast_potion_ITEM)
|
||||||
|
|
||||||
gen "There we go." ("base", xpos="far_left", ypos="head")
|
gen "There we go." ("base", xpos="far_left", ypos="head")
|
||||||
play sound "sounds/sniff.ogg"
|
play sound "sounds/sniff.ogg"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
label potion_cat_make:
|
label potion_cat_make:
|
||||||
|
|
||||||
call give_reward("You have successfully created a new potion!", cat_potion_ITEM)
|
call give_reward(_("You have successfully created a new potion!"), cat_potion_ITEM)
|
||||||
|
|
||||||
play sound "sounds/sniff.ogg"
|
play sound "sounds/sniff.ogg"
|
||||||
gen "Yep..." ("base", xpos="far_left", ypos="head")
|
gen "Yep..." ("base", xpos="far_left", ypos="head")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
label potion_luna_make:
|
label potion_luna_make:
|
||||||
|
|
||||||
call give_reward("You have successfully created a new potion!", luna_potion_ITEM)
|
call give_reward(_("You have successfully created a new potion!"), luna_potion_ITEM)
|
||||||
|
|
||||||
play sound "sounds/sniff.ogg"
|
play sound "sounds/sniff.ogg"
|
||||||
gen "It does have a distinctive smell of grass, among other things..." ("base", xpos="far_left", ypos="head")
|
gen "It does have a distinctive smell of grass, among other things..." ("base", xpos="far_left", ypos="head")
|
||||||
|
@ -965,7 +965,7 @@ label ll_pf_inspect_T2_E3_intro:
|
|||||||
gen "(*Hmm*... What's this?)" ("base", xpos="far_left", ypos="head")
|
gen "(*Hmm*... What's this?)" ("base", xpos="far_left", ypos="head")
|
||||||
|
|
||||||
$ hair_luna_ITEM.owned = 1
|
$ hair_luna_ITEM.owned = 1
|
||||||
call give_reward("You found a string of blonde hair!", gift=hair_luna_ITEM)
|
call give_reward(_("You found a string of blonde hair!"), gift=hair_luna_ITEM)
|
||||||
|
|
||||||
gen "(Looks like she's left me a parting gift.)" ("base", xpos="far_left", ypos="head")
|
gen "(Looks like she's left me a parting gift.)" ("base", xpos="far_left", ypos="head")
|
||||||
if states.map.snape_office.intro_e2:
|
if states.map.snape_office.intro_e2:
|
||||||
|
@ -2,7 +2,7 @@ label update_snape:
|
|||||||
$ states.sna.image.xzoom = 1
|
$ states.sna.image.xzoom = 1
|
||||||
return
|
return
|
||||||
|
|
||||||
define character.snape_say = Character("Severus Snape", show_icon="snape")
|
define character.snape_say = Character(_("Severus Snape"), show_icon="snape")
|
||||||
|
|
||||||
init python:
|
init python:
|
||||||
def sna(what, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, wand=False, **kwargs):
|
def sna(what, face=None, xpos=None, ypos=None, pos=None, flip=None, trans=None, animation=False, wand=False, **kwargs):
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
|
|
||||||
define ALLOWED_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz "
|
define ALLOWED_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz "
|
||||||
|
define LANGUAGE_TRANSCRIPTS = {
|
||||||
|
"english": "{font=gui/CreativeBlockRegular.ttf}English{/font}",
|
||||||
|
"chinese": "{font=tl/chinese/NotoSansSC-Bold.otf}汉语{/font}",
|
||||||
|
}
|
||||||
|
@ -81,35 +81,35 @@ screen controls_help():
|
|||||||
text _("Page Down or Mouse Wheel Down")
|
text _("Page Down or Mouse Wheel Down")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Hide Interface"
|
label _("Hide Interface")
|
||||||
text _("H or Middle Mouse Button")
|
text _("H or Middle Mouse Button")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Screenshot"
|
label _("Screenshot")
|
||||||
text _("Print Screen")
|
text _("Print Screen")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Sleep"
|
label _("Sleep")
|
||||||
text _("s")
|
text _("s")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Map"
|
label _("Map")
|
||||||
text _("m")
|
text _("m")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Stats"
|
label _("Stats")
|
||||||
text _("c")
|
text _("c")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Inventory"
|
label _("Inventory")
|
||||||
text _("i")
|
text _("i")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Fap-Fap-Fap"
|
label _("Fap-Fap-Fap")
|
||||||
text _("f")
|
text _("f")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
label "Summon"
|
label _("Summon")
|
||||||
text _("d")
|
text _("d")
|
||||||
|
|
||||||
screen gamepad_help():
|
screen gamepad_help():
|
||||||
|
@ -68,7 +68,7 @@ style light_confirm_frame is light_gui_frame:
|
|||||||
screen skip_indicator():
|
screen skip_indicator():
|
||||||
zorder 100
|
zorder 100
|
||||||
|
|
||||||
text "{unicode}{size=66}▶▶{/size}{/unicode}\nSkipping":
|
text _("{unicode}{size=66}▶▶{/size}{/unicode}\nSkipping"):
|
||||||
at blink
|
at blink
|
||||||
style "skip_text"
|
style "skip_text"
|
||||||
|
|
||||||
|
@ -106,8 +106,8 @@ screen mods():
|
|||||||
else:
|
else:
|
||||||
text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
text "{color=#228B22}[compat]{/color}" align (1.0, 1.0) offset (-6, -3)
|
||||||
|
|
||||||
text "Author:\n{size=-4}[author]{/size}" size 14
|
text _("Author:\n{size=-4}[author]{/size}") size 14
|
||||||
text "Description:\n{size=-4}[desc]{/size}" size 14
|
text _("Description:\n{size=-4}[desc]{/size}") size 14
|
||||||
|
|
||||||
style mods_text is slot_button_text:
|
style mods_text is slot_button_text:
|
||||||
selected_color "#000"
|
selected_color "#000"
|
||||||
|
@ -138,10 +138,10 @@ screen brewing_menu(xx, yy):
|
|||||||
pos (6, 384)
|
pos (6, 384)
|
||||||
|
|
||||||
if current_filter == None:
|
if current_filter == None:
|
||||||
textbutton "Show: All" action Return("filter")
|
textbutton _("Show: All") action Return("filter")
|
||||||
else:
|
else:
|
||||||
textbutton "Show: [current_filter]" action Return("filter")
|
textbutton _("Show: [current_filter]") action Return("filter")
|
||||||
textbutton "Sort by: [current_sorting]" action Return("sort")
|
textbutton _("Sort by: [current_sorting]") action Return("sort")
|
||||||
|
|
||||||
screen brewing_menuitem(xx, yy):
|
screen brewing_menuitem(xx, yy):
|
||||||
default turned_on = False
|
default turned_on = False
|
||||||
@ -161,7 +161,7 @@ screen brewing_menuitem(xx, yy):
|
|||||||
else:
|
else:
|
||||||
add "interface/brewing/bg_off.webp" align (0.5, 1.0) xsize 548 fit "contain" yoffset -6
|
add "interface/brewing/bg_off.webp" align (0.5, 1.0) xsize 548 fit "contain" yoffset -6
|
||||||
|
|
||||||
text "Brewing Station" size 22 xalign 0.5 ypos 65
|
text _("Brewing Station") size 22 xalign 0.5 ypos 65
|
||||||
|
|
||||||
if current_item:
|
if current_item:
|
||||||
vbox:
|
vbox:
|
||||||
@ -170,7 +170,7 @@ screen brewing_menuitem(xx, yy):
|
|||||||
spacing 5
|
spacing 5
|
||||||
|
|
||||||
text "[current_item.desc]" size 12
|
text "[current_item.desc]" size 12
|
||||||
text "Usable on:" size 12
|
text _("Usable on:") size 12
|
||||||
hbox:
|
hbox:
|
||||||
for c in current_item.usable_on:
|
for c in current_item.usable_on:
|
||||||
add "interface/icons/head/{}.webp".format(c) size (24, 24)
|
add "interface/icons/head/{}.webp".format(c) size (24, 24)
|
||||||
|
@ -60,13 +60,13 @@ init python:
|
|||||||
icon = item.image
|
icon = item.image
|
||||||
|
|
||||||
if quantity == 1:
|
if quantity == 1:
|
||||||
text = "You have received one {}.".format(item.name)
|
text = _("You have received one {}.".format(item.name))
|
||||||
else:
|
else:
|
||||||
text = "You have received {} pieces of {}.".format(num_to_word(quantity), item.name)
|
text = _("You have received {} pieces of {}.".format(num_to_word(quantity), item.name))
|
||||||
else:
|
else:
|
||||||
items = ", ".join( [" ".join( [str(x[1]), x[0].name] ) for x in self.contents] )
|
items = ", ".join( [" ".join( [str(x[1]), x[0].name] ) for x in self.contents] )
|
||||||
icon = "interface/icons/box_brown_"+str(random.randint(1, 4))+".webp"
|
icon = "interface/icons/box_brown_"+str(random.randint(1, 4))+".webp"
|
||||||
text = "You have received your ordered items:\n{size=-4}"+items+"{/size}"
|
text = _("You have received your ordered items:\n{size=-4}"+items+"{/size}")
|
||||||
|
|
||||||
return (text, icon)
|
return (text, icon)
|
||||||
|
|
||||||
|
@ -292,7 +292,7 @@ label snape_third_duel:
|
|||||||
sna "(You were a good card, my boy... But it's time to grow up.)" ("snape_05")
|
sna "(You were a good card, my boy... But it's time to grow up.)" ("snape_05")
|
||||||
$ states.sna.ev.cardgame.stage = 3
|
$ states.sna.ev.cardgame.stage = 3
|
||||||
$ unlocked_cards += [card_snape]
|
$ unlocked_cards += [card_snape]
|
||||||
call give_reward("You have received a special card!", "images/cardgame/t1/special/snape_v1.webp")
|
call give_reward(_("You have received a special card!"), "images/cardgame/t1/special/snape_v1.webp")
|
||||||
$ tokens += 3
|
$ tokens += 3
|
||||||
else:
|
else:
|
||||||
$ tokens += 1
|
$ tokens += 1
|
||||||
@ -341,7 +341,7 @@ label snape_random_duel:
|
|||||||
sna "Ah, yes... something from my collection." ("snape_05")
|
sna "Ah, yes... something from my collection." ("snape_05")
|
||||||
|
|
||||||
$ item.owned += 1
|
$ item.owned += 1
|
||||||
call give_reward("You've received [item.name] from Snape!", item)
|
call give_reward(_("You've received [item.name] from Snape!"), item)
|
||||||
|
|
||||||
gen "What the fuck is this?" ("angry", xpos="far_left", ypos="head")
|
gen "What the fuck is this?" ("angry", xpos="far_left", ypos="head")
|
||||||
sna "As I said..." ("snape_01")
|
sna "As I said..." ("snape_01")
|
||||||
@ -403,7 +403,7 @@ label snape_random_duel:
|
|||||||
sna "Well played though." ("snape_04")
|
sna "Well played though." ("snape_04")
|
||||||
|
|
||||||
$ item.owned += 1
|
$ item.owned += 1
|
||||||
call give_reward("You've received [item.name] from Snape!", item)
|
call give_reward(_("You've received [item.name] from Snape!"), item)
|
||||||
|
|
||||||
if not states.map.snape_office.intro_e3:
|
if not states.map.snape_office.intro_e3:
|
||||||
gen "(I still don't have any use for it, but I won't turn down free shit.)" ("base", xpos="far_left", ypos="head")
|
gen "(I still don't have any use for it, but I won't turn down free shit.)" ("base", xpos="far_left", ypos="head")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
label a_christmas_tale_rewards:
|
label a_christmas_tale_rewards:
|
||||||
if not card_exist(unlocked_cards, card_santa):
|
if not card_exist(unlocked_cards, card_santa):
|
||||||
call give_reward("You have received a special card as a gift!", "images/cardgame/t1/special/santa_v1.webp")
|
call give_reward(_("You have received a special card as a gift!"), "images/cardgame/t1/special/santa_v1.webp")
|
||||||
$ unlocked_cards += [card_santa]
|
$ unlocked_cards += [card_santa]
|
||||||
|
|
||||||
if not xmas_phoenix_ITEM.owned:
|
if not xmas_phoenix_ITEM.owned:
|
||||||
@ -11,7 +11,7 @@ label a_christmas_tale_rewards:
|
|||||||
$ xmas_wreaths_ITEM.owned = 1
|
$ xmas_wreaths_ITEM.owned = 1
|
||||||
$ xmas_giftchair_ITEM.owned = 1
|
$ xmas_giftchair_ITEM.owned = 1
|
||||||
|
|
||||||
call give_reward("Christmas decorations have been unlocked!", gift="interface/icons/xmas_wreaths.webp")
|
call give_reward(_("Christmas decorations have been unlocked!"), gift="interface/icons/xmas_wreaths.webp")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ label a_christmas_tale2_rewards:
|
|||||||
$ xmas_wreaths_ITEM.owned = 1
|
$ xmas_wreaths_ITEM.owned = 1
|
||||||
$ xmas_giftchair_ITEM.owned = 1
|
$ xmas_giftchair_ITEM.owned = 1
|
||||||
|
|
||||||
call give_reward("Christmas decorations have been unlocked!", gift="interface/icons/xmas_wreaths.webp")
|
call give_reward(_("Christmas decorations have been unlocked!"), gift="interface/icons/xmas_wreaths.webp")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ label a_white_christmas_rewards:
|
|||||||
$ xmas_wreaths_ITEM.owned = 1
|
$ xmas_wreaths_ITEM.owned = 1
|
||||||
$ xmas_giftchair_ITEM.owned = 1
|
$ xmas_giftchair_ITEM.owned = 1
|
||||||
|
|
||||||
call give_reward("Christmas decorations have been unlocked!", gift="interface/icons/xmas_wreaths.webp")
|
call give_reward(_("Christmas decorations have been unlocked!"), gift="interface/icons/xmas_wreaths.webp")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
label anal_pirate_rewards:
|
label anal_pirate_rewards:
|
||||||
if not card_exist(unlocked_cards, card_maslab):
|
if not card_exist(unlocked_cards, card_maslab):
|
||||||
call give_reward("Ye plundered a special card from 'er cavern.", "images/cardgame/t1/genie_realm/maslab_v1.webp")
|
call give_reward(_("Ye plundered a special card from 'er cavern."), "images/cardgame/t1/genie_realm/maslab_v1.webp")
|
||||||
$ unlocked_cards += [card_maslab]
|
$ unlocked_cards += [card_maslab]
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -143,11 +143,11 @@ label puzzle_minigame:
|
|||||||
call book_end
|
call book_end
|
||||||
|
|
||||||
gen "(I've seen enough magic to know where this is going... I should investigate that corridor on the seventh floor.)" ("base", xpos="far_left", ypos="head")
|
gen "(I've seen enough magic to know where this is going... I should investigate that corridor on the seventh floor.)" ("base", xpos="far_left", ypos="head")
|
||||||
call give_reward("You've unlocked something on the 7th floor, check your map to get there.","/images/rooms/room_of_requirement/mirror.webp")
|
call give_reward(_("You've unlocked something on the 7th floor, check your map to get there."),"/images/rooms/room_of_requirement/mirror.webp")
|
||||||
|
|
||||||
if states.cardgame.unlocked:
|
if states.cardgame.unlocked:
|
||||||
gen "What's this?" ("base", xpos="far_left", ypos="head")
|
gen "What's this?" ("base", xpos="far_left", ypos="head")
|
||||||
call give_reward("You have found a card at the bottom of the box!", "images/cardgame/t1/other/elf_v1.webp")
|
call give_reward(_("You have found a card at the bottom of the box!"), "images/cardgame/t1/other/elf_v1.webp")
|
||||||
$ unlocked_cards += [card_item_elf]
|
$ unlocked_cards += [card_item_elf]
|
||||||
$ states.map.seventh_floor.unlocked = True
|
$ states.map.seventh_floor.unlocked = True
|
||||||
$ puzzle_box_ITEM.owned = 0
|
$ puzzle_box_ITEM.owned = 0
|
||||||
|
@ -64,6 +64,7 @@ define config.help = None
|
|||||||
define config.side_image_only_not_showing = True
|
define config.side_image_only_not_showing = True
|
||||||
define config.allow_underfull_grids = True
|
define config.allow_underfull_grids = True
|
||||||
define config.crop_relative_default = False
|
define config.crop_relative_default = False
|
||||||
|
define config.enable_language_autodetect = True
|
||||||
|
|
||||||
# Graphics and cache settings
|
# Graphics and cache settings
|
||||||
define config.gl2 = True
|
define config.gl2 = True
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user