Skip to content

Commit b3f936b

Browse files
committed
LOG SPAM FIXED (and a bit added)
1 parent 4c51219 commit b3f936b

File tree

8 files changed

+12
-3
lines changed

8 files changed

+12
-3
lines changed

Dialog/English.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ modname_VinkiMod= Vinki's Ascent
33
VinkiMod_Funny= Vinki's Ascent - Maps
44
VinkiMod_Funny_PebblesTrip= Visiting Your Rival
55
SkinModHelper_Player__Vinki_Scug= Vinki
6+
SkinModHelper_Player__Vinki_Scug_Silhouette= Vinki Silhouette
67

78
# Settings
89
VinkiMod_GraffitiButton= Use Graffiti
Loading
Loading
Loading
Loading
Loading

Source/VinkiModModule.cs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public class VinkiModModule : EverestModule {
4444
"decals/vinki/graffiti/0_heart_x","decals/vinki/graffiti/0_dream2_x","decals/vinki/graffiti/0_bad_x","decals/vinki/graffiti/1_pico8_x","decals/vinki/graffiti/1_sicktricks_x",//15-19
4545
"decals/vinki/graffiti/0_dream3_x","decals/vinki/graffiti/1_gross_x","decals/vinki/graffiti/1_oshiro_x","decals/vinki/graffiti/1_dust_x","decals/vinki/graffiti/2_switch_x",//20-24
4646
"decals/vinki/graffiti/2_clouds_x","decals/vinki/graffiti/2_tower_x","decals/vinki/graffiti/3_scribble1_x","decals/vinki/graffiti/3_scribble2_x","decals/vinki/graffiti/3_scribble3_x",//25-29
47-
"decals/vinki/graffiti/4_cereal_x","decals/vinki/graffiti/4_loopy_x","decals/vinki/graffiti/4_sicktricks2_x","decals/vinki/graffiti/4_smileyface_x"//30-34
47+
"decals/vinki/graffiti/4_cereal_x","decals/vinki/graffiti/4_loopy_x","decals/vinki/graffiti/4_sicktricks2_x","decals/vinki/graffiti/4_smileyface_x",//30-34
48+
"decals/vinki/graffiti/1_cycle_x"//35-39
4849
];
4950
public static String[] textureReplaceNamespaces = [
5051
"decals/vinki/car/body","decals/vinki/big_sign_b","decals/vinki/camping_medium","decals/vinki/hanging_sign","decals/vinki/big_sign_e",
@@ -53,15 +54,16 @@ public class VinkiModModule : EverestModule {
5354
"decals/vinki/graffiti/0_heart_y","decals/vinki/graffiti/0_dream2_y","decals/vinki/graffiti/0_bad_y","decals/vinki/graffiti/1_pico8_y","decals/vinki/graffiti/1_sicktricks_y",//15-19
5455
"decals/vinki/graffiti/0_dream3_y","decals/vinki/graffiti/1_gross_y","decals/vinki/graffiti/1_oshiro_y","decals/vinki/graffiti/1_dust_y","decals/vinki/graffiti/2_switch_y",//20-24
5556
"decals/vinki/graffiti/2_clouds_y","decals/vinki/graffiti/2_tower_y","decals/vinki/graffiti/3_scribble1_y","decals/vinki/graffiti/3_scribble2_y","decals/vinki/graffiti/3_scribble3_y",//25-29
56-
"decals/vinki/graffiti/4_cereal_y","decals/vinki/graffiti/4_loopy_y","decals/vinki/graffiti/4_sicktricks2_y","decals/vinki/graffiti/4_smileyface_y"//30-34
57+
"decals/vinki/graffiti/4_cereal_y","decals/vinki/graffiti/4_loopy_y","decals/vinki/graffiti/4_sicktricks2_y","decals/vinki/graffiti/4_smileyface_y",//30-34
58+
"decals/vinki/graffiti/1_cycle_y"//35-39
5759
];
5860
// Add _Normal, _BSide, or _CSide based on the side.
5961
public static String[] hasArtSpots = ["Celeste/0-Intro_Normal","Celeste/1-ForsakenCity_Normal","Celeste/2-OldSite_Normal","Celeste/3-CelestialResort_Normal","Celeste/4-GoldenRidge_Normal","Celeste/5-MirrorTemple_Normal","StrawberryJam2021/0-Lobbies/1-Beginner_Normal","Celeste/3-CelestialResort_BSide","StrawberryJam2021/1-Beginner/joltik_Normal","StrawberryJam2021/1-Beginner/NotYourBadeline_Normal","StrawberryJam2021/1-Beginner/coffe_Normal"];
6062
public static int[][][] artSpots = [//x,y,w,h,textureNamespaces directory
6163
[[-180,120,80,50,0]],//intro
6264
[[1115,-1072,30,20,1],[695,-1064,40,30,2],[1742,-1440,38,22,3],[3040,-1880,40,24,3],[2233,-1344,40,66,4],[2665,-1600,20,25,5],[3340,-1950,70,35,6],[3465,-2575,75,30,7],[3985,-3140,40,80,8]],//forsaken city
6365
[[790,1725,50,20,2],[1724,508,144,80,14],[115,-515,35,50,15],[1400,268,22,22,16],[835,-1645,32,40,17],[884,-28,24,32,20],[34,1796,60,100,8]],//old site
64-
[[1252,20,24,24,23],[1590,-75,50,50,9],[5632,-69,56,32,18],[3193,-555,16,8,19],[5644,280,40,50,21],[5976,-174,24,40,22]],//celestial resort, not hotel
66+
[[1256,20,24,24,23],[1590,-75,50,50,9],[5632,-69,56,32,18],[3193,-555,16,8,19],[5644,280,40,50,21],[5976,-174,24,40,22],[5720,-649,16,1,25]],//celestial resort, not hotel
6567
[[5145,-1405,100,25,10],[3810,-426,32,32,24]],//golden ridge
6668
[[3960,424,80,120,11],[7248,-504,240,50,12]],//mirror temple
6769
[[3272,324,64,32,13],[1291,-374,24,16,30]],//sj beginner lobby
@@ -139,6 +141,12 @@ private static void triggerVinkiGUI2(Session session, bool fromSaveData) {
139141
graffitiSetup(session);
140142
}
141143
private static void vinkiGUI() {
144+
// This here is a failsafe for in case any modded textures end up being null, preventing log spam.
145+
for (var a=0;a<textureNamespaces.Length;a++) {
146+
if (!GFX.Game.Has(textureNamespaces[a])) {
147+
textureNamespaces[a]="decals/vinki/zzz_unused";
148+
}
149+
}
142150
// This here is a failsafe for whenever the Session.vinkiRenderIt is shorter than it should be.
143151
if (Session.vinkiRenderIt.Length<5) {
144152
for (var a=Session.vinkiRenderIt.Length;a<7;a=Session.vinkiRenderIt.Length) {

Source/unused/ruleset/Gourmand.png

74.5 KB
Loading

0 commit comments

Comments
 (0)